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