CustusX
22.04-rc3
An IGT application
|
#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) |
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.
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.