]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Image.cxx
First dump for version 0.1.0
[cpPlugins.git] / lib / cpPlugins / Image.cxx
diff --git a/lib/cpPlugins/Image.cxx b/lib/cpPlugins/Image.cxx
new file mode 100644 (file)
index 0000000..ba3ff29
--- /dev/null
@@ -0,0 +1,41 @@
+#include <cpPlugins/Image.h>
+
+// -------------------------------------------------------------------------
+void cpPlugins::Image::
+SetITK( itk::LightObject* o )
+{
+  this->Superclass::SetITK( o );
+  bool     s = this->_ITK_2_VTK_0< 2 >( o );
+  if( !s ) s = this->_ITK_2_VTK_0< 3 >( o );
+  if( !s )
+  {
+    this->m_VTKObject = NULL;
+    this->m_ITKvVTK = NULL;
+
+  } // fi
+  this->Modified( );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Image::
+SetVTK( vtkObjectBase* o )
+{
+  this->Superclass::SetVTK( o );
+  std::cerr << "Image: TODO this!!!!" << std::endl;
+  std::exit( 1 );
+}
+
+// -------------------------------------------------------------------------
+cpPlugins::Image::
+Image( )
+  : Superclass( )
+{
+}
+
+// -------------------------------------------------------------------------
+cpPlugins::Image::
+~Image( )
+{
+}
+
+// eof - $RCSfile$