24 #ifndef CXIGTLINKCONVERSIONPOLYDATA_H 25 #define CXIGTLINKCONVERSIONPOLYDATA_H 27 #include "igtlPolyDataMessage.h" 29 #include "cxOpenIGTLinkUtilitiesExport.h" 49 igtl::PolyDataMessage::Pointer encode(
MeshPtr in, PATIENT_COORDINATE_SYSTEM externalSpace);
50 MeshPtr decode(igtl::PolyDataMessage *in, PATIENT_COORDINATE_SYSTEM externalSpace);
54 void encode_vtkPolyData(
vtkPolyDataPtr in, igtl::PolyDataMessage* outMsg);
59 int VTKToIGTLCellArray(vtkCellArray* src, igtl::PolyDataCellArray* dest);
60 int VTKToIGTLAttribute(vtkDataSetAttributes* src,
int i, igtl::PolyDataAttribute* dest);
67 #endif // CXIGTLINKCONVERSIONPOLYDATA_H
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
boost::shared_ptr< class Mesh > MeshPtr
Namespace for all CustusX production code.