Edit this page

NA-MIC Project Weeks

Back to Projects List

Python Wrapping OpenIGTLink

Key Investigators

Project Description

Objective

  1. Python wrap OpenIGTLink to provide a Python interface for standalone OpenIGTLink application (motivation being the development of a robot control server as a midpoint between robot and 3D Slicer interface).

Approach and Plan

  1. Making use of SWIG (http://www.swig.org/)
  2. Added as a cmake option to OpenIGTLink build

Progress

  1. Server/client socket creation is functional and wrapping integrated in cmake
  2. Almost all Message types also functional
  3. Implementation still messy (and still need to figure out SWIG’s deal with OpenIGTLink smartpointers)
  4. (Also had discussions regarding protocol design for the motivating project)

Next Step

  1. Merge branch with OpenIGTLink

Illustrations

Usage

https://github.com/franklinwk/OpenIGTLink/tree/Swig-Python