]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/DataObjects/OrthoNormalBase.cxx
602f8a26a875cd2b1b7268f3eca2e7c18b2e048a
[cpPlugins.git] / lib / cpPlugins / DataObjects / OrthoNormalBase.cxx
1 #include <cpPlugins/DataObjects/OrthoNormalBase.h>
2
3 // -------------------------------------------------------------------------
4 void cpPlugins::DataObjects::OrthoNormalBase::
5 SetITK( itk::LightObject* o )
6 {
7   // WARNING: Do nothing since itk::Matrix does not belong to the
8   // itk::LightObject hierarchy.
9 }
10
11 // -------------------------------------------------------------------------
12 void cpPlugins::DataObjects::OrthoNormalBase::
13 SetVTK( vtkObjectBase* o )
14 {
15   auto matrix = dynamic_cast< vtkMatrix4x4* >( o );
16   if( matrix !=  NULL )
17     this->Superclass::SetVTK( matrix );
18 }
19
20 // -------------------------------------------------------------------------
21 cpPlugins::DataObjects::OrthoNormalBase::
22 OrthoNormalBase( )
23   : Superclass( )
24 {
25 }
26
27 // -------------------------------------------------------------------------
28 cpPlugins::DataObjects::OrthoNormalBase::
29 ~OrthoNormalBase( )
30 {
31 }
32
33 // eof - $RCSfile$