45 #ifndef CXIGTLINKCONVERSIONPOLYDATA_H
46 #define CXIGTLINKCONVERSIONPOLYDATA_H
48 #include "igtlPolyDataMessage.h"
50 #include "cxOpenIGTLinkUtilitiesExport.h"
70 igtl::PolyDataMessage::Pointer encode(
MeshPtr in, PATIENT_COORDINATE_SYSTEM externalSpace);
71 MeshPtr decode(igtl::PolyDataMessage *in, PATIENT_COORDINATE_SYSTEM externalSpace);
75 void encode_vtkPolyData(
vtkPolyDataPtr in, igtl::PolyDataMessage* outMsg);
80 int VTKToIGTLCellArray(vtkCellArray* src, igtl::PolyDataCellArray* dest);
81 int VTKToIGTLAttribute(vtkDataSetAttributes* src,
int i, igtl::PolyDataAttribute* dest);
88 #endif // CXIGTLINKCONVERSIONPOLYDATA_H
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
boost::shared_ptr< class Mesh > MeshPtr