CustusX  22.04-rc5
An IGT application
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 46 of file cxIGTLinkConversionPolyData.h.

Member Function Documentation

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

Definition at line 68 of file cxIGTLinkConversionPolyData.cpp.

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

Definition at line 54 of file cxIGTLinkConversionPolyData.cpp.


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