10 #ifndef __SOTVECTORTOMATRIX_HH
11 #define __SOTVECTORTOMATRIX_HH
13 #include <dynamic-graph/all-signals.h>
14 #include <dynamic-graph/entity.h>
18 #include <dynamic-graph/linear-algebra.h>
28 #if defined(vector_to_rotation_EXPORTS)
29 #define SOTVECTORTOROTATION_EXPORT __declspec(dllexport)
31 #define SOTVECTORTOROTATION_EXPORT __declspec(dllimport)
34 #define SOTVECTORTOROTATION_EXPORT
44 :
public dynamicgraph::Entity {
45 enum sotAxis { AXIS_X, AXIS_Y, AXIS_Z };
48 std::vector<sotAxis> axes;
52 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
58 dynamicgraph::SignalPtr<dynamicgraph::Vector, int>
SIN;
59 dynamicgraph::SignalTimeDependent<MatrixRotation, int>
SOUT;
Definition: vector-to-rotation.hh:44
virtual ~VectorToRotation(void)
Definition: vector-to-rotation.hh:56
dynamicgraph::SignalTimeDependent< MatrixRotation, int > SOUT
Definition: vector-to-rotation.hh:59
static const std::string CLASS_NAME
Definition: vector-to-rotation.hh:51
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > SIN
Definition: vector-to-rotation.hh:58
virtual const std::string & getClassName(void) const
Definition: vector-to-rotation.hh:52
MatrixRotation & computeRotation(const dynamicgraph::Vector &angles, MatrixRotation &res)
VectorToRotation(const std::string &name)
Eigen::Matrix< double, 3, 3 > SOT_CORE_EXPORT MatrixRotation
Definition: matrix-geometry.hh:75
Definition: abstract-sot-external-interface.hh:17
#define SOTVECTORTOROTATION_EXPORT
Definition: vector-to-rotation.hh:34