GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: include/sot/core/visual-point-projecter.hh Lines: 0 1 0.0 %
Date: 2023-03-13 12:09:37 Branches: 0 0 - %

Line Branch Exec Source
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
29
#include <sot/core/matrix-geometry.hh>
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
42
class SOTVISUALPOINTPROJECTER_EXPORT VisualPointProjecter
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);
55
  DECLARE_SIGNAL_IN(transfo, MatrixHomogeneous);
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__