Difference between revisions of "OpenIGTLink/Approaches"

From NAMIC Wiki
Jump to: navigation, search
Line 7: Line 7:
 
*The code provides C structures for the generic header, image header and transform header, and supporting functions to create a message packet.
 
*The code provides C structures for the generic header, image header and transform header, and supporting functions to create a message packet.
 
*Suitable for applications written in C and C++
 
*Suitable for applications written in C and C++
*You can just copy the files into your source directory. You never have any linking problems.
+
*You can just copy the files into your source directory. You never have library link issue.
  
 
===Use the Open IGT Link Library===
 
===Use the Open IGT Link Library===

Revision as of 14:12, 25 June 2008

Home < OpenIGTLink < Approaches

Three Approaches to Implement Open IGT Link in Your Application

Implement by yourself

Use simple C code

  • The code provides C structures for the generic header, image header and transform header, and supporting functions to create a message packet.
  • Suitable for applications written in C and C++
  • You can just copy the files into your source directory. You never have library link issue.

Use the Open IGT Link Library

  • The library supports
    • Classes to create Open IGT Link message
    • TCP/IP Socket
    • Thread and Mutex useful to make server program