]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Path.cxx
Code cleaning
[cpPlugins.git] / lib / cpPlugins / Path.cxx
diff --git a/lib/cpPlugins/Path.cxx b/lib/cpPlugins/Path.cxx
new file mode 100644 (file)
index 0000000..5f58269
--- /dev/null
@@ -0,0 +1,39 @@
+#include <cpPlugins/Path.h>
+
+// -------------------------------------------------------------------------
+void cpPlugins::Path::
+SetITK( itk::LightObject* o )
+{
+  this->Superclass::SetITK( o );
+  bool     s = this->_ITK_2_VTK< 2 >( o );
+  if( !s ) s = this->_ITK_2_VTK< 3 >( o );
+  if( !s )
+  {
+    this->m_VTKObject = NULL;
+    this->m_ITKvVTK = NULL;
+
+  } // fi
+  this->Modified( );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Path::
+SetVTK( vtkObjectBase* o )
+{
+  // Do nothing
+}
+
+// -------------------------------------------------------------------------
+cpPlugins::Path::
+Path( )
+  : Superclass( )
+{
+}
+
+// -------------------------------------------------------------------------
+cpPlugins::Path::
+~Path( )
+{
+}
+
+// eof - $RCSfile$