#include <vtkImageData.h>
#include <vtkPolyData.h>
-// -------------------------------------------------------------------------
-itk::DataObject* cpPlugins::Interface::DataObject::
-GetITKDataObject( )
-{
- return( this->m_ITKObject.GetPointer( ) );
-}
-
-// -------------------------------------------------------------------------
-const itk::DataObject* cpPlugins::Interface::DataObject::
-GetITKDataObject( ) const
-{
- return( this->m_ITKObject.GetPointer( ) );
-}
-
-// -------------------------------------------------------------------------
-vtkDataObject* cpPlugins::Interface::DataObject::
-GetVTKDataObject( )
-{
- return( this->m_VTKObject.GetPointer( ) );
-}
-
-// -------------------------------------------------------------------------
-const vtkDataObject* cpPlugins::Interface::DataObject::
-GetVTKDataObject( ) const
-{
- return( this->m_VTKObject.GetPointer( ) );
-}
-
// -------------------------------------------------------------------------
cpPlugins::Interface::Object* cpPlugins::Interface::DataObject::
GetSource( )
} // fi
- // Unbind source
- if( this->m_Source.IsNotNull( ) )
- this->m_Source->Delete( );
- this->Register( );
-
} // fi
+
+ // Unbind source
+ this->m_Source = NULL;
}
// -------------------------------------------------------------------------