Difference between revisions of "OpenIGTLink/TryVersion2"

From NAMIC Wiki
Jump to: navigation, search
Line 32: Line 32:
 
**Operating system: 3.7 alpha
 
**Operating system: 3.7 alpha
 
**File to download: a binary for your operating system released after June 11, 2010.
 
**File to download: a binary for your operating system released after June 11, 2010.
 +
*'''Build 3D Slicer your self.''' You may build 3D Slicer on Windows, Linux or Mac. The instruction is available at [http://www.slicer.org/slicerWiki/index.php/Slicer3:Build_Instructions 3D Slicer Build Instruction Page].
 +
 +
==Setting up dummy server program==
 +
Several types of dummy server programs are available in the OpenIGTLink library. Please refer the instruction above to build it. In default, the dummy server programs are not compiled. Please set BUILD_EXAMPLES=ON.

Revision as of 04:20, 11 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 new 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

Will be added soon.

Label meta list

Will be added soon.

Label meta list

Will be added soon.

How to Try Protocol Version 2 using 3D Slicer

The OpenIGTLink IF module with version 2 features is available in 3D Slicer version 3.7 alpha after June 11, 2010. Here's an instruction to try OpenIGTLink Protocol version 2 with 3D Slicer.

Getting 3D Slicer

You can obtain the software in two ways:

  • Download Nightly build. The binaries for Windows, Linux and Mac OS X is available at 3D Slicer download page. Please choose
    • Type of download: Nightly builds
    • Operating system: 3.7 alpha
    • File to download: a binary for your operating system released after June 11, 2010.
  • Build 3D Slicer your self. You may build 3D Slicer on Windows, Linux or Mac. The instruction is available at 3D Slicer Build Instruction Page.

Setting up dummy server program

Several types of dummy server programs are available in the OpenIGTLink library. Please refer the instruction above to build it. In default, the dummy server programs are not compiled. Please set BUILD_EXAMPLES=ON.