smurf
Transformation.hpp
Go to the documentation of this file.
1 #ifndef TRANSFORMATION_H
2 #define TRANSFORMATION_H
3 
4 #include "Frame.hpp"
5 #include <base/Eigen.hpp>
6 
7 namespace smurf
8 {
9 
11  {
12  public:
13 
14  Transformation(const std::string &name, Frame *sourceFrame, Frame *targetFrame);
15 
16  Transformation(Frame *sourceFrame, Frame *targetFrame);
17 
18  const Frame &getSourceFrame() const
19  {
20  return *sourceFrame;
21  }
22 
23  const Frame &getTargetFrame() const
24  {
25  return *targetFrame;
26  }
27 
28  const std::string &getName() const
29  {
30  return name;
31  }
32 
33  private:
34 
39  std::string name;
40 
41  Frame *sourceFrame;
42  Frame *targetFrame;
43  };
44 
45 };
46 
47 #endif // TRANSFORMATION_H
Transformation(const std::string &name, Frame *sourceFrame, Frame *targetFrame)
Definition: Transformation.cpp:3
Definition: Frame.hpp:11
const std::string & getName() const
Definition: Transformation.hpp:28
const Frame & getSourceFrame() const
Definition: Transformation.hpp:18
const Frame & getTargetFrame() const
Definition: Transformation.hpp:23
Definition: Transformation.hpp:10