gramods
Loading...
Searching...
No Matches
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
10BEGIN_NAMESPACE_GMGRAPHICS;
11
15class MatrixTransform : public Transform {
16
17public:
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
42private:
43 struct Impl;
44 std::unique_ptr<Impl> _impl;
45};
46
47END_NAMESPACE_GMGRAPHICS;
48
49#endif
The scenegraph MatrixTransform base.
Definition MatrixTransform.hh:15
The scenegraph transform base.
Definition Transform.hh:12
Definition MatrixTransform.cpp:11