X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FPath.cxx;fp=lib%2FcpPlugins%2FPath.cxx;h=5f58269f04013f8fc3c2db346adf875931cb0c77;hb=201c5026430f9bcc33f9db6a39f5d03db096c860;hp=0000000000000000000000000000000000000000;hpb=aa77db36cc1d87ba014c982a235239c3c87224f3;p=cpPlugins.git diff --git a/lib/cpPlugins/Path.cxx b/lib/cpPlugins/Path.cxx new file mode 100644 index 0000000..5f58269 --- /dev/null +++ b/lib/cpPlugins/Path.cxx @@ -0,0 +1,39 @@ +#include + +// ------------------------------------------------------------------------- +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$