SCENE C++ API  2.1.0
lsscenenode3d.h
1 #pragma once
2 
3 #include <core_api/lsglobaldefinitions.h>
4 
5 #include <plugin_api/lsrenderable3d.h>
6 
7 #include <Eigen/Geometry>
8 
9 namespace SCENE_API {
10 
14 {
15 public:
19  {
20  m_transformation = Eigen::Matrix4d::Identity();
21  }
22 
26  Eigen::Affine3d getTransformation() const
27  {
28  return m_transformation;
29  }
30 
34  void setTransformation(const Eigen::Affine3d& transformation)
35  {
36  m_transformation = transformation;
37  }
38 
39 protected:
40  // The transformation of this Scene Node
41  Eigen::Affine3d m_transformation;
42 };
43 
44 }