1 #ifndef __CPPLUGINS__INTERFACE__MESH__H__
2 #define __CPPLUGINS__INTERFACE__MESH__H__
4 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
5 #include <cpPlugins/Interface/DataObject.h>
15 class cpPlugins_Interface_EXPORT Mesh
20 typedef DataObject Superclass;
21 typedef itk::SmartPointer< Self > Pointer;
22 typedef itk::SmartPointer< const Self > ConstPointer;
26 itkTypeMacro( Mesh, DataObject );
29 virtual void SetITKDataObject( itk::DataObject* o );
30 virtual void SetVTKDataObject( vtkDataObject* o );
32 vtkPolyData* GetVTKPolyData( );
33 const vtkPolyData* GetVTKPolyData( ) const;
39 template< unsigned int D >
40 void _ITK_2_VTK_0( itk::DataObject* o );
42 template< class P, unsigned int D >
43 void _ITK_2_VTK_1( itk::DataObject* o );
45 template< unsigned int D >
46 void _VTK_2_ITK_0( itk::DataObject* o );
48 template< class P, unsigned int D >
49 void _VTK_2_ITK_1( itk::DataObject* o );
52 // Purposely not implemented
54 Self& operator=( const Self& );
61 #endif // __CPPLUGINS__INTERFACE__MESH__H__