1 #include <cpPlugins/Interface/Object.h>
6 // -------------------------------------------------------------------------
7 void cpPlugins::Interface::Object::
10 const itk::Object* i = this->GetITK< itk::Object >( );
11 vtkObject* v = const_cast< vtkObject* >( this->GetVTK< vtkObject >( ) );
12 if( i != NULL ) i->Modified( );
13 if( v != NULL ) v->Modified( );
14 this->Superclass::Modified( );
17 // -------------------------------------------------------------------------
18 void cpPlugins::Interface::Object::
19 SetViewCoords( float x, float y )
25 // -------------------------------------------------------------------------
26 void cpPlugins::Interface::Object::
27 SetITK( itk::LightObject* o )
29 if( this->m_ITKObject.GetPointer( ) != o )
31 this->m_ITKObject = o;
37 // -------------------------------------------------------------------------
38 void cpPlugins::Interface::Object::
39 SetVTK( vtkObjectBase* o )
41 if( this->m_VTKObject.GetPointer( ) != o )
43 this->m_VTKObject = o;
49 // -------------------------------------------------------------------------
50 cpPlugins::Interface::Object::
56 m_ViewX( float( 0 ) ),
61 // -------------------------------------------------------------------------
62 cpPlugins::Interface::Object::