gramods
Loading...
Searching...
No Matches
modules
gmGraphics
include
gmGraphics
MatrixTransform.hh
1
2
#ifndef GRAMODS_GRAPHICS_MATRIXTRANSFORM
3
#define GRAMODS_GRAPHICS_MATRIXTRANSFORM
4
5
// Required before gmCore/OFactory.hh for some compilers
6
#include <gmCore/io_eigen.hh>
7
8
#include <gmGraphics/Transform.hh>
9
10
BEGIN_NAMESPACE_GMGRAPHICS;
11
15
class
MatrixTransform :
public
Transform
{
16
17
public
:
18
MatrixTransform();
19
~MatrixTransform();
20
28
void
setMatrix
(Eigen::Matrix4f m);
29
33
Eigen::Matrix4f
getMatrix
()
const
;
34
38
Eigen::Affine3f
getTransform
()
override
;
39
40
GM_OFI_DECLARE;
41
42
private
:
43
struct
Impl
;
44
std::unique_ptr<Impl> _impl;
45
};
46
47
END_NAMESPACE_GMGRAPHICS;
48
49
#endif
gramods::gmGraphics::MatrixTransform::getTransform
Eigen::Affine3f getTransform() override
Definition
MatrixTransform.cpp:30
gramods::gmGraphics::MatrixTransform::getMatrix
Eigen::Matrix4f getMatrix() const
Returns the matrix of the childrens' space.
Definition
MatrixTransform.cpp:26
gramods::gmGraphics::MatrixTransform::setMatrix
void setMatrix(Eigen::Matrix4f m)
Set the matrix of the childrens' space.
Definition
MatrixTransform.cpp:21
gramods::gmGraphics::Transform
The scenegraph transform base.
Definition
Transform.hh:12
gramods::gmGraphics::MatrixTransform::Impl
Definition
MatrixTransform.cpp:11
Generated by
1.15.0