EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Frame.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_MATH_FRAME_HPP_
2 #define ORG_EEROS_MATH_FRAME_HPP_
3 
4 #include <eeros/math/Matrix.hpp>
6 #include <list>
7 
8 namespace eeros {
9  namespace math {
10 
11  class Frame {
12  public:
13  Frame(const CoordinateSystem& a, const CoordinateSystem& b);
16  virtual ~Frame();
17 
18  Frame operator*(const Frame& right) const;
19 
25 
26  static Frame* getFrame(const CoordinateSystem& a, const CoordinateSystem& b);
27  static uint32_t getNofFrames();
28 
29  private:
30  const CoordinateSystem& a;
31  const CoordinateSystem& b;
33 
34  static std::list<Frame*> list;
35 
36  }; // END class Frame
37  } // END namespace math
38 } // END namespache eeros
39 
40 #endif /* ORG_EEROS_MATH_FRAME_HPP_ */
Definition: Frame.hpp:11
static Frame * getFrame(const CoordinateSystem &a, const CoordinateSystem &b)
Definition: Frame.cpp:79
virtual ~Frame()
Definition: Frame.cpp:38
Frame operator*(const Frame &right) const
Definition: Frame.cpp:71
Definition: CoordinateSystem.hpp:11
const CoordinateSystem & getFromCoordinateSystem() const
Definition: Frame.cpp:63
Frame(const CoordinateSystem &a, const CoordinateSystem &b)
Definition: Frame.cpp:9
static uint32_t getNofFrames()
Definition: Frame.cpp:86
const CoordinateSystem & getToCoordinateSystem() const
Definition: Frame.cpp:67
void set(const eeros::math::Matrix< 4, 4, double > &T)
Definition: Frame.cpp:42