]> Creatis software - clitk.git/blob - common/clitkMatrix.h
1e497ea6d372d2aad2a56ab46e2452910ac1c73a
[clitk.git] / common / clitkMatrix.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to:
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18
19 #ifndef clitkMatrix_h
20 #define clitkMatrix_h
21
22 #include <itkMatrix.h>
23 #include <vtkMatrix4x4.h>
24 #include <vtkSmartPointer.h>
25
26 //--------------------------------------------------------------------
27 namespace clitk {
28 std::string
29 Get4x4MatrixDoubleAsString(vtkMatrix4x4 *matrix,
30                            const int precision=3);
31
32 std::string
33 Get4x4MatrixDoubleAsString(itk::Matrix<double, 4, 4> m,
34                            const int precision=3);
35 }
36 //-------------------------------------------------------------------
37
38 #endif