]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/OrthoNormalBase.cxx
4ad0255a33f74bd2bbe058fdc5023e01cdd09879
[cpPlugins.git] / lib / cpPlugins / OrthoNormalBase.cxx
1 #include <cpPlugins/OrthoNormalBase.h>
2 #include <vtkMatrix4x4.h>
3  
4 // -------------------------------------------------------------------------
5 void cpPlugins::OrthoNormalBase::
6 SetITK( itk::LightObject* o )
7 {
8   // Do nothing since itk::Matrix does not belong to LightObject hierarchy.
9 }
10
11 // -------------------------------------------------------------------------
12 void cpPlugins::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::OrthoNormalBase::
22 OrthoNormalBase( )
23   : Superclass( )
24 {
25 }
26
27 // -------------------------------------------------------------------------
28 cpPlugins::OrthoNormalBase::
29 ~OrthoNormalBase( )
30 {
31 }
32
33 // -------------------------------------------------------------------------
34 void cpPlugins::OrthoNormalBase::
35 _CreateVTKActor( ) const
36 {
37 }
38
39 // eof - $RCSfile$