Difference between revisions of "OpenIGTLink/TryVersion2"

From NAMIC Wiki
Jump to: navigation, search
Line 4: Line 4:
 
The OpenIGTLink Protocol Version 2 is still in a draft phase, but you can try some of newly introduced features using [[OpenIGTLink/Library | The OpenIGTLink Library]]. Here're some tips.
 
The OpenIGTLink Protocol Version 2 is still in a draft phase, but you can try some of newly introduced features using [[OpenIGTLink/Library | The OpenIGTLink Library]]. Here're some tips.
  
==Build instruction==
+
==Build Instruction==
 
The OpenIGTLink library is available at NAMICSandBox (http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink). You can download using Subversion client. If you are using a terminal on Linux or Mac OS X, do:
 
The OpenIGTLink library is available at NAMICSandBox (http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink). You can download using Subversion client. If you are using a terminal on Linux or Mac OS X, do:
 
  cd <working directory>
 
  cd <working directory>
Line 15: Line 15:
  
 
Once the library is successfully built, the all example programs are in <working directory>/OpenIGTLink-build/bin
 
Once the library is successfully built, the all example programs are in <working directory>/OpenIGTLink-build/bin
 +
 +
==Trying Example Programs==
 +
===Image meta list===
 +
===Label meta list===
 +
===Label meta list===

Revision as of 16:47, 8 June 2010

Home < OpenIGTLink < TryVersion2

<< OpenIGTLink

How to Try Protocol Version 2 using OpenIGTLink Library

The OpenIGTLink Protocol Version 2 is still in a draft phase, but you can try some of newly introduced features using The OpenIGTLink Library. Here're some tips.

Build Instruction

The OpenIGTLink library is available at NAMICSandBox (http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink). You can download using Subversion client. If you are using a terminal on Linux or Mac OS X, do:

cd <working directory>
svn co http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink OpenIGTLink

The next step is to build the library with example programs. In the default setting, message types defined as part of version 2 will not be compiled. To use them, OpenIGTLink_PROTOCOL_VERSION_2 option should be turned on when you configure the source code. If you are using cmake tool in a terminal, do:

mkdir OpenIGTLink-build
cd OpenIGTLink-build
cmake -DBUILD_EXAMPLE:BOOL=ON -DOpenIGTLink_PROTOCOL_VERSION_2:BOOL=ON ../OpenIGTLink

Once the library is successfully built, the all example programs are in <working directory>/OpenIGTLink-build/bin

Trying Example Programs

Image meta list

Label meta list

Label meta list