NorMIT-nav  22.09
An IGT application
cxMathBase.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
28 #ifndef CXMATHBASE_H_
29 #define CXMATHBASE_H_
30 
31 #include "cxPrecompiledHeader.h"
32 
33 
34 // necessary includes for the addons
35 #include <boost/array.hpp>
36 class QString;
37 class QStringList;
38 #include <QStringList> // can be removed by moving impl of Vector3D::fromString to cpp file, as done with Transform3D.
39 #include <vtkSmartPointer.h>
40 typedef vtkSmartPointer<class vtkMatrix4x4> vtkMatrix4x4Ptr;
41 typedef vtkSmartPointer<class vtkTransform> vtkTransformPtr;
42 
53 // Extensions of the Eigen classes
54 // http://eigen.tuxfamily.org/dox/TopicCustomizingEigen.html
55 
56 // important for ssc::Vector3D, our most used class. This line moves all onto one line.
57 // for default operation, use std::cout << M.format(Eigen::IOFormat()) << std::endl;
58 #define EIGEN_DEFAULT_IO_FORMAT Eigen::IOFormat(6, 0, " ", " ", "","","","")
59 
60 #define EIGEN_PLAINOBJECTBASE_PLUGIN "cxPlainObjectEigenAddons.h"
61 #define EIGEN_MATRIXBASE_PLUGIN "cxMatrixBaseEigenAddons.h"
62 #define EIGEN_TRANSFORM_PLUGIN "cxTransformEigenAddons.h"
63 
64 // Eigen library
65 #include <Eigen/Core>
66 #include <Eigen/Geometry>
67 
72 // --------------------------------------------------------
73 
74 #endif /* CXMATHBASE_H_ */
vtkMatrix4x4Ptr
vtkSmartPointer< class vtkMatrix4x4 > vtkMatrix4x4Ptr
Definition: cxMathBase.h:37
cxPrecompiledHeader.h
vtkTransformPtr
vtkSmartPointer< class vtkTransform > vtkTransformPtr
Definition: cxMathBase.h:41