]> Creatis software - clitk.git/blob - common/clitkMatrix.h
With ITKv5, change VectorResample and VectorCast Image Filter to Resample and Cast...
[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 #define VTK_EXCLUDE_STRSTREAM_HEADERS
24 #include <vtkMatrix4x4.h>
25 #include <vtkSmartPointer.h>
26
27 //--------------------------------------------------------------------
28 namespace clitk {
29 std::string
30 Get4x4MatrixDoubleAsString(vtkMatrix4x4 *matrix,
31                            const int precision=3);
32
33 std::string
34 Get4x4MatrixDoubleAsString(itk::Matrix<double, 4, 4> m,
35                            const int precision=3);
36 }
37 //-------------------------------------------------------------------
38
39 #endif