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