]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Image.cxx
ba3ff298c951b66f6809ea1dc5bcc4a074b00758
[cpPlugins.git] / lib / cpPlugins / Image.cxx
1 #include <cpPlugins/Image.h>
2
3 // -------------------------------------------------------------------------
4 void cpPlugins::Image::
5 SetITK( itk::LightObject* o )
6 {
7   this->Superclass::SetITK( o );
8   bool     s = this->_ITK_2_VTK_0< 2 >( o );
9   if( !s ) s = this->_ITK_2_VTK_0< 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::Image::
21 SetVTK( vtkObjectBase* o )
22 {
23   this->Superclass::SetVTK( o );
24   std::cerr << "Image: TODO this!!!!" << std::endl;
25   std::exit( 1 );
26 }
27
28 // -------------------------------------------------------------------------
29 cpPlugins::Image::
30 Image( )
31   : Superclass( )
32 {
33 }
34
35 // -------------------------------------------------------------------------
36 cpPlugins::Image::
37 ~Image( )
38 {
39 }
40
41 // eof - $RCSfile$