]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Image.cxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / Image.cxx
index 48b90740a68b7a0e6753c344ed32ee2528ac44b9..44deb4e4e9eb9b478536790ff208a96d0407936b 100644 (file)
@@ -2,9 +2,18 @@
 
 // -------------------------------------------------------------------------
 void cpPlugins::Interface::Image::
-SetVTK( vtkObject* image )
+SetITK( itk::LightObject* o )
 {
-  // this->m_VTKObject = image;
+  this->Superclass::SetITK( o );
+  this->_ITK_2_VTK_0< 2 >( o );
+  this->_ITK_2_VTK_0< 3 >( o );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Interface::Image::
+SetVTK( vtkObjectBase* o )
+{
+  this->Superclass::SetVTK( o );
   std::cerr << "Image: TODO this!!!!" << std::endl;
   std::exit( 1 );
 }