fw4spl
MatrixFunctions.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWMATH_MATRIXFUNCTIONS_HPP__
8 #define __FWMATH_MATRIXFUNCTIONS_HPP__
9 
10 #include <fwCore/base.hpp>
11 
12 #include "fwMath/IntrasecTypes.hpp"
13 #include "fwMath/config.hpp"
14 
15 namespace fwMath
16 {
17 
25 FWMATH_API void multVecMatrix(const fwMatrix4x4 & _matrix, const fwVec3d& _source,fwVec3d& _dest);
26 
34 FWMATH_API fwMatrix4x4 getRotationMatrix( const fwVec3d &_vecNorm );
35 
42 FWMATH_API fwMatrix4x4 getInverse( const fwMatrix4x4 & matrix );
43 
44 } // namespace fwMath
45 
53 FWMATH_API fwMatrix4x4 operator*( const fwMatrix4x4 & matrix1, const fwMatrix4x4 & matrix2 );
54 
55 #endif /* __FWMATH_MATRIXFUNCTIONS_HPP__ */
FWMATH_API fwMatrix4x4 getInverse(const fwMatrix4x4 &matrix)
Computes the inverse of a matrix.
The namespace fwMath contains classes which provide the implementation of several mathematic function...
Definition: Compare.hpp:12
FWMATH_API fwMatrix4x4 getRotationMatrix(const fwVec3d &_vecNorm)
Compute a matrix rotation.
FWMATH_API void multVecMatrix(const fwMatrix4x4 &_matrix, const fwVec3d &_source, fwVec3d &_dest)
Multiply a matrix by a vector.