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( ) )
{
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( );
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( );