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 );
30 cpPlugins::Interface::Mesh, "DataObject"
35 inline void SetITK( itk::Object* object );
37 virtual void SetVTK( vtkObject* mesh );
39 virtual void CreateVTKActor( );
40 virtual vtkActor* GetVTKActor( );
41 virtual const vtkActor* GetVTKActor( ) const;
48 // Purposely not implemented
50 Self& operator=( const Self& );
53 vtkSmartPointer< vtkActor > m_Actor;
54 vtkSmartPointer< vtkPolyDataMapper > m_Mapper;
61 #include <cpPlugins/Interface/Mesh.hxx>
63 #endif // __CPPLUGINS__INTERFACE__MESH__H__