]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ProcessObject.hxx
MAC compilation issues solved... Now some tests please
[cpPlugins.git] / lib / cpPlugins / Interface / ProcessObject.hxx
index 9c5b764c5f79e3bacf89fb88e0def60ed48252fb..54c2f37bb8ede077d0f7238dbf760f5ac3382ec3 100644 (file)
@@ -54,7 +54,6 @@ template< class O >
 void cpPlugins::Interface::ProcessObject::
 _AddOutput( const std::string& name )
 {
-  typedef typename _TDataContainer::value_type _TValue;
   auto i = this->m_Outputs.find( name );
   if( i == this->m_Outputs.end( ) )
   {
@@ -75,8 +74,8 @@ _CreateITK( )
   if( filter == NULL )
   {
     typename F::Pointer filter_ptr = F::New( );
-    this->SetITK( filter_ptr.GetPointer( ) );
-    this->SetVTK( NULL );
+    this->m_ITKObject = filter_ptr;
+    this->m_VTKObject = NULL;
     filter = filter_ptr.GetPointer( );
     this->Modified( );
 
@@ -93,8 +92,8 @@ _CreateVTK( )
   if( filter == NULL )
   {
     vtkSmartPointer< F > filter_ptr = vtkSmartPointer< F >::New( );
-    this->SetITK( NULL );
-    this->SetVTK( filter_ptr );
+    this->m_ITKObject = NULL;
+    this->m_VTKObject = filter_ptr;
     filter = filter_ptr.GetPointer( );
     this->Modified( );