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>
7 #include <vtkSmartPointer.h>
9 #include <vtkPolyDataMapper.h>
17 class cpPlugins_Interface_EXPORT Mesh
22 typedef DataObject Superclass;
23 typedef itk::SmartPointer< Self > Pointer;
24 typedef itk::SmartPointer< const Self > ConstPointer;
28 itkTypeMacro( Mesh, DataObject );
32 inline void SetITK( itk::Object* object );
34 virtual void SetVTK( vtkObject* mesh );
36 virtual void CreateVTKActor( );
37 virtual vtkActor* GetVTKActor( );
38 virtual const vtkActor* GetVTKActor( ) const;
45 // Purposely not implemented
47 Self& operator=( const Self& );
50 vtkSmartPointer< vtkActor > m_Actor;
51 vtkSmartPointer< vtkPolyDataMapper > m_Mapper;
58 #include <cpPlugins/Interface/Mesh.hxx>
60 #endif // __CPPLUGINS__INTERFACE__MESH__H__