include
sot
core
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
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__
dynamicgraph::EntityHelper
dynamicgraph::sot::MatrixHomogeneous
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
Definition:
matrix-geometry.hh:75
dynamicgraph
entity-helper.h
depth
FCL_REAL depth() const
dynamicgraph::Entity
DECLARE_SIGNAL_IN
#define DECLARE_SIGNAL_IN(name, type)
dynamicgraph::sot::VisualPointProjecter::CLASS_NAME
static const std::string CLASS_NAME
Definition:
visual-point-projecter.hh:49
dynamicgraph::sot::VisualPointProjecter::getClassName
virtual const std::string & getClassName(void) const
Definition:
visual-point-projecter.hh:51
display
dynamicgraph::Vector
Eigen::VectorXd Vector
linear-algebra.h
DECLARE_SIGNAL_OUT
#define DECLARE_SIGNAL_OUT(name, type)
signal-helper.h
matrix-geometry.hh
dynamicgraph::sot::VisualPointProjecter
Definition:
visual-point-projecter.hh:42
SOTVISUALPOINTPROJECTER_EXPORT
#define SOTVISUALPOINTPROJECTER_EXPORT
Definition:
visual-point-projecter.hh:19
compile.name
name
Definition:
compile.py:23
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32