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