Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::IGTLinkConversionPolyData Class Reference

#include <cxIGTLinkConversionPolyData.h>

Public Member Functions

igtl::PolyDataMessage::Pointer encode (MeshPtr in, PATIENT_COORDINATE_SYSTEM externalSpace)
 
MeshPtr decode (igtl::PolyDataMessage *in, PATIENT_COORDINATE_SYSTEM externalSpace)
 

Detailed Description

Convert cx::Mesh <–> igtl::PolyDataMessage

Based on the class vtkIGTLToMRMLPolyData from https://github.com/openigtlink/OpenIGTLinkIF.git License text can be found at the start of this file.

encode: create igtl messages decode: read from igtl messages

decode methods assume Unpack() has been called. encode methods assume Pack() will be called.

Definition at line 67 of file cxIGTLinkConversionPolyData.h.

Member Function Documentation

MeshPtr cx::IGTLinkConversionPolyData::decode ( igtl::PolyDataMessage *  in,
PATIENT_COORDINATE_SYSTEM  externalSpace 
)

Definition at line 89 of file cxIGTLinkConversionPolyData.cpp.

igtl::PolyDataMessage::Pointer cx::IGTLinkConversionPolyData::encode ( MeshPtr  in,
PATIENT_COORDINATE_SYSTEM  externalSpace 
)

Definition at line 75 of file cxIGTLinkConversionPolyData.cpp.


The documentation for this class was generated from the following files: