]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Mesh.cxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.cxx
index e179c8ed61e4b0e34b7fcd391b6c92d2cf73309c..94adb2bb163ae5f47da17ff9e62abb41d22d74c4 100644 (file)
@@ -10,56 +10,13 @@ SetVTK( vtkObject* mesh )
     this->m_VTKObject = mesh;
   else
     this->m_VTKObject = NULL;
-  this->m_Mapper = NULL;
-  this->m_Actor = NULL;
   this->Modified( );
 }
-
-// -------------------------------------------------------------------------
-void cpPlugins::Interface::Mesh::
-CreateVTKActor( )
-{
-  vtkPolyData* pd = this->GetVTK< vtkPolyData >( );
-  if(
-    pd != NULL &&
-    (
-      this->m_Mapper.GetPointer( ) == NULL ||
-      this->m_Actor.GetPointer( ) == NULL
-      )
-    )
-  {
-    this->m_Mapper = vtkSmartPointer< vtkPolyDataMapper >::New( );
-    this->m_Actor = vtkSmartPointer< vtkActor >::New( );
-    this->m_Mapper->SetInputData( pd );
-    this->m_Actor->SetMapper( this->m_Mapper );
-    this->Modified( );
-
-  } // fi
-}
-
-// -------------------------------------------------------------------------
-vtkActor* cpPlugins::Interface::Mesh::
-GetVTKActor( )
-{
-  return( this->m_Actor );
-}
-
-// -------------------------------------------------------------------------
-const vtkActor* cpPlugins::Interface::Mesh::
-GetVTKActor( ) const
-{
-  return( this->m_Actor );
-}
-
 // -------------------------------------------------------------------------
 cpPlugins::Interface::Mesh::
 Mesh( )
-  : Superclass( ),
-    m_Mapper( NULL ),
-    m_Actor( NULL )
+  : Superclass( )
 {
-  this->m_ClassName = "cpPlugins::Interface::Mesh";
-  this->m_ClassCategory = "BasicObject";
 }
 
 // -------------------------------------------------------------------------