]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/Mesh.cxx
Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/cpPlugins
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.cxx
1 #include <cpPlugins/Interface/Mesh.h>
2
3 #include <vtkPolyData.h>
4
5 // -------------------------------------------------------------------------
6 void cpPlugins::Interface::Mesh::
7 SetVTK( vtkObject* mesh )
8 {
9   if( dynamic_cast< vtkPolyData* >( mesh ) != NULL )
10     this->m_VTKObject = mesh;
11   else
12     this->m_VTKObject = NULL;
13   this->Modified( );
14 }
15 // -------------------------------------------------------------------------
16 cpPlugins::Interface::Mesh::
17 Mesh( )
18   : Superclass( )
19 {
20 }
21
22 // -------------------------------------------------------------------------
23 cpPlugins::Interface::Mesh::
24 ~Mesh( )
25 {
26 }
27
28 // eof - $RCSfile$