X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FProcessObject.hxx;h=54c2f37bb8ede077d0f7238dbf760f5ac3382ec3;hb=6ffc11d77924d6ab7e94db95d41105982ac73e00;hp=ccddc04d9506ce3369b4e09f01c0f48d069107b6;hpb=1bf710541f1f708f9000096a8d516596bf009d6d;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/ProcessObject.hxx b/lib/cpPlugins/Interface/ProcessObject.hxx index ccddc04..54c2f37 100644 --- a/lib/cpPlugins/Interface/ProcessObject.hxx +++ b/lib/cpPlugins/Interface/ProcessObject.hxx @@ -74,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( ); @@ -92,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( );