RobinTrace
lseq_part_global_position.h
Go to the documentation of this file.
1 
2 #ifndef LSEQ_PART_GLOBAL_POSITION_H
3 #define LSEQ_PART_GLOBAL_POSITION_H
4 
5 #include "lseq_part_result.h"
6 #include "poaky.h"
7 
10  public:
12  struct position {
17  };
18 
21 
23  lseq_part_global_position(const Vec3 &apex, const Mat3 &rotation);
24 
26  friend std::ostream& operator<< (std::ostream &out,
27  const lseq_part_global_position &pos);
28 };
29 
30 #endif // LSEQ_PART_GLOBAL_POSITION_H
Eigen::Matrix3d Mat3
Definition: Mat3.h:9
Eigen::Vector3d Vec3
Definition: Vec3.h:11
The global coordinates position of a lseq renderable part.
Definition: lseq_part_global_position.h:9
friend std::ostream & operator<<(std::ostream &out, const lseq_part_global_position &pos)
Printer.
Definition: lseq_part_global_position.cpp:9
position pose
The pose of the object in global coordinates.
Definition: lseq_part_global_position.h:20
lseq_part_global_position(const Vec3 &apex, const Mat3 &rotation)
Constructor.
Definition: lseq_part_global_position.cpp:4
A result relative to a lseq part.
Definition: lseq_part_result.h:6
Global coordinates position of the part.
Definition: lseq_part_global_position.h:12
Vec3 apex
Global coordinates position of the part's apex.
Definition: lseq_part_global_position.h:14
Mat3 rotation
Global coordinates attitude matrix of the part.
Definition: lseq_part_global_position.h:16