]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/DataObject.cxx
MVC integration at 50%
[cpPlugins.git] / lib / cpPlugins / DataObject.cxx
index ebfb8b224a7176f4564600347b4d831fa2de7572..9fd054d8a7f2b07b64b454ad6a54d237d971a859 100644 (file)
@@ -85,66 +85,10 @@ CreateQtDialog( )
 }
 
 // -------------------------------------------------------------------------
-void cpPlugins::DataObject::
-AddVTKActor( vtkProp* actor, vtkRenderer* renderer )
+vtkProp* cpPlugins::DataObject::
+CreateVTKActor( )
 {
-  if( actor != NULL && renderer != NULL )
-  {
-    TDataView v;
-    v.Actor = actor;
-    v.Renderer = renderer;
-    this->m_Actors.insert( v );
-    this->Modified( );
-
-  } // fi
-}
-
-// -------------------------------------------------------------------------
-void cpPlugins::DataObject::
-ClearVTKActors( )
-{
-  this->m_Actors.clear( );
-  this->Modified( );
-}
-
-// -------------------------------------------------------------------------
-void cpPlugins::DataObject::
-RenderVTKActors( )
-{
-  for( auto i = this->m_Actors.begin( ); i != this->m_Actors.end( ); ++i )
-    i->Renderer->GetRenderWindow( )->Render( );
-}
-
-// -------------------------------------------------------------------------
-cpPlugins::DataObject::TDataViews::
-iterator cpPlugins::DataObject::
-BeginVTKActors( )
-{
-  return( this->m_Actors.begin( ) );
-}
-
-// -------------------------------------------------------------------------
-cpPlugins::DataObject::TDataViews::
-iterator cpPlugins::DataObject::
-EndVTKActors( )
-{
-  return( this->m_Actors.end( ) );
-}
-
-// -------------------------------------------------------------------------
-cpPlugins::DataObject::TDataViews::
-const_iterator cpPlugins::DataObject::
-BeginVTKActors( ) const
-{
-  return( this->m_Actors.begin( ) );
-}
-
-// -------------------------------------------------------------------------
-cpPlugins::DataObject::TDataViews::
-const_iterator cpPlugins::DataObject::
-EndVTKActors( ) const
-{
-  return( this->m_Actors.end( ) );
+  return( NULL );
 }
 
 // -------------------------------------------------------------------------