]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Path.cxx
...
[cpPlugins.git] / lib / cpPlugins / Path.cxx
1 #include <cpPlugins/Path.h>
2
3 // -------------------------------------------------------------------------
4 void cpPlugins::Path::
5 SetITK( itk::LightObject* o )
6 {
7   this->Superclass::SetITK( o );
8   bool     s = this->_ITK_2_VTK< 2 >( o );
9   if( !s ) s = this->_ITK_2_VTK< 3 >( o );
10   if( !s )
11   {
12     this->m_VTKObject = NULL;
13     this->m_ITKvVTK = NULL;
14
15   } // fi
16   this->Modified( );
17 }
18
19 // -------------------------------------------------------------------------
20 void cpPlugins::Path::
21 SetVTK( vtkObjectBase* o )
22 {
23   // Do nothing
24 }
25
26 // -------------------------------------------------------------------------
27 cpPlugins::Path::
28 Path( )
29   : Superclass( )
30 {
31 }
32
33 // -------------------------------------------------------------------------
34 cpPlugins::Path::
35 ~Path( )
36 {
37 }
38
39 // eof - $RCSfile$