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( ) )
{
typename O::Pointer o = O::New( );
o->SetSource( this );
this->m_Outputs[ name ] = o;
+ this->Modified( );
} // fi
}
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( );
} // fi
return( filter );
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( );
} // fi
return( filter );