fw4spl
|
TransformationMatrix3D performs matrices computations. More...
#include <TransformationMatrix3D.hpp>
Static Public Member Functions | |
static FWDATATOOLS_API bool | invert (const ::fwData::TransformationMatrix3D::csptr &_input,::fwData::TransformationMatrix3D::sptr &_output) |
Invert a matrix. More... | |
static FWDATATOOLS_API void | multiply (const ::fwData::TransformationMatrix3D::csptr &_trfA, const ::fwData::TransformationMatrix3D::csptr &_trfB,::fwData::TransformationMatrix3D::sptr &_output) |
Multiply two matrices. More... | |
static FWDATATOOLS_API void | identity (::fwData::TransformationMatrix3D::sptr &_trf) |
Set the matrix to identity. More... | |
static FWDATATOOLS_API void | multiply (const ::fwData::TransformationMatrix3D::csptr &_trf, const ::fwData::Point::csptr &_input,::fwData::Point::sptr &_output) |
Multiply a point and a matrix. More... | |
static FWDATATOOLS_API::glm::dmat4x4 | getMatrixFromTF3D (const ::fwData::TransformationMatrix3D::csptr &_trf) |
Convert a fwData::TransformationMatrix3D into a GLM matrix. More... | |
static FWDATATOOLS_API void | setTF3DFromMatrix (::fwData::TransformationMatrix3D::sptr &_trf, const ::glm::dmat4x4 &_input) |
Convert a GLM matrix into a fwData::TransformationMatrix3D. More... | |
static FWDATATOOLS_API bool | isIdentity (const ::fwData::TransformationMatrix3D::csptr &_trf, const double _epsilon=1e-12) |
Return whether a fwData::TransformationMatrix3D is an identity matrix. More... | |
TransformationMatrix3D performs matrices computations.
Definition at line 23 of file SrcLib/core/fwDataTools/include/fwDataTools/TransformationMatrix3D.hpp.
|
inlinestatic |
Convert a fwData::TransformationMatrix3D into a GLM matrix.
[in] | _trf | Input fwData::TransformationMatrix3D. |
Definition at line 87 of file SrcLib/core/fwDataTools/include/fwDataTools/TransformationMatrix3D.hpp.
Referenced by fwDataTools::Mesh::shakePoint(), and uiVisuQt::STransformEditor::updating().
|
static |
Set the matrix to identity.
[in,out] | _trf | Matrix we want to set to identity. |
Definition at line 69 of file SrcLib/core/fwDataTools/src/fwDataTools/TransformationMatrix3D.cpp.
References multiply().
Referenced by uiMedDataQt::editor::SOrganTransformation::updating().
|
static |
Invert a matrix.
[in] | _input | Input matrix |
[out] | _output | Inverted matrix. |
Definition at line 17 of file SrcLib/core/fwDataTools/src/fwDataTools/TransformationMatrix3D.cpp.
|
static |
Return whether a fwData::TransformationMatrix3D is an identity matrix.
[in] | _trf | Input fwData::TransformationMatrix3D. |
[in] | _epsilon | Precision of the test (default 1e-12) |
Definition at line 104 of file SrcLib/core/fwDataTools/src/fwDataTools/TransformationMatrix3D.cpp.
|
static |
Multiply two matrices.
[in] | trfA | First matrix. |
[in] | trfB | Second matrix. |
[out] | _output | Output matrix. |
Definition at line 42 of file SrcLib/core/fwDataTools/src/fwDataTools/TransformationMatrix3D.cpp.
Referenced by identity(), and fwDataTools::helper::PointList::transform().
|
static |
Multiply a point and a matrix.
[in] | _trf | Matrix. |
[in] | _input | Input point. |
[out] | _output | Output point. |
|
inlinestatic |
Convert a GLM matrix into a fwData::TransformationMatrix3D.
[out] | _trf | Output fwData::TransformationMatrix3D. |
[in] | _input | Input GLM matrix. |
Definition at line 103 of file SrcLib/core/fwDataTools/include/fwDataTools/TransformationMatrix3D.hpp.
Referenced by uiVisuQt::STransformEditor::updating().