sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
visual-point-projecter.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2011, Nicolas Mansard, LAAS-CNRS
3  *
4  */
5 
6 #ifndef __sot_core_VisualPointProjecter_H__
7 #define __sot_core_VisualPointProjecter_H__
8 /* --------------------------------------------------------------------- */
9 /* --- API ------------------------------------------------------------- */
10 /* --------------------------------------------------------------------- */
11 
12 #if defined(WIN32)
13 #if defined(visual_point_projecter_EXPORTS)
14 #define SOTVISUALPOINTPROJECTER_EXPORT __declspec(dllexport)
15 #else
16 #define SOTVISUALPOINTPROJECTER_EXPORT __declspec(dllimport)
17 #endif
18 #else
19 #define SOTVISUALPOINTPROJECTER_EXPORT
20 #endif
21 
22 /* --------------------------------------------------------------------- */
23 /* --- INCLUDE --------------------------------------------------------- */
24 /* --------------------------------------------------------------------- */
25 
26 /* Matrix */
27 #include <dynamic-graph/linear-algebra.h>
28 
30 
31 /* SOT */
32 #include <dynamic-graph/entity-helper.h>
33 #include <dynamic-graph/signal-helper.h>
34 
35 namespace dynamicgraph {
36 namespace sot {
37 
38 /* --------------------------------------------------------------------- */
39 /* --- CLASS ----------------------------------------------------------- */
40 /* --------------------------------------------------------------------- */
41 
43  : public ::dynamicgraph::Entity,
44  public ::dynamicgraph::EntityHelper<VisualPointProjecter> {
45  public: /* --- CONSTRUCTOR ---- */
46  VisualPointProjecter(const std::string &name);
47 
48  public: /* --- ENTITY INHERITANCE --- */
49  static const std::string CLASS_NAME;
50  virtual void display(std::ostream &os) const;
51  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
52 
53  public: /* --- SIGNALS --- */
54  DECLARE_SIGNAL_IN(point3D, dynamicgraph::Vector);
56 
57  DECLARE_SIGNAL_OUT(point3Dgaze, dynamicgraph::Vector);
58  DECLARE_SIGNAL_OUT(depth, double);
59  DECLARE_SIGNAL_OUT(point2D, dynamicgraph::Vector);
60 
61 }; // class VisualPointProjecter
62 
63 } // namespace sot
64 } // namespace dynamicgraph
65 
66 #endif // #ifndef __sot_core_VisualPointProjecter_H__
Definition: visual-point-projecter.hh:44
DECLARE_SIGNAL_IN(transfo, MatrixHomogeneous)
virtual void display(std::ostream &os) const
virtual const std::string & getClassName(void) const
Definition: visual-point-projecter.hh:51
DECLARE_SIGNAL_OUT(point2D, dynamicgraph::Vector)
DECLARE_SIGNAL_OUT(point3Dgaze, dynamicgraph::Vector)
static const std::string CLASS_NAME
Definition: visual-point-projecter.hh:49
VisualPointProjecter(const std::string &name)
DECLARE_SIGNAL_IN(point3D, dynamicgraph::Vector)
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
Definition: matrix-geometry.hh:75
Definition: abstract-sot-external-interface.hh:17
#define SOTVISUALPOINTPROJECTER_EXPORT
Definition: visual-point-projecter.hh:19