include
sot
core
matrix-constant.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2010,
3
* François Bleibel,
4
* Olivier Stasse,
5
*
6
* CNRS/AIST
7
*
8
*/
9
10
#include <
dynamic-graph/all-signals.h
>
11
#include <dynamic-graph/entity.h>
12
13
/* Matrix */
14
#include <
dynamic-graph/linear-algebra.h
>
15
16
/* --------------------------------------------------------------------- */
17
/* --- MATRIX ---------------------------------------------------------- */
18
/* --------------------------------------------------------------------- */
19
20
namespace
dynamicgraph
{
21
namespace
sot {
22
namespace
command {
23
namespace
matrixConstant {
24
class
Resize
;
25
}
26
}
// namespace command
27
28
class
MatrixConstant
:
public
Entity
{
29
friend
class
command::matrixConstant::Resize
;
30
31
public
:
32
static
const
std::string
CLASS_NAME
;
33
virtual
const
std::string &
getClassName
(
void
)
const
{
return
CLASS_NAME; }
34
35
int
rows
,
cols
;
36
double
color
;
37
38
void
setValue(
const
dynamicgraph::Matrix
&inValue);
39
40
public
:
41
MatrixConstant
(
const
std::string &
name
);
42
43
virtual
~MatrixConstant
(
void
) {}
44
45
SignalTimeDependent<dynamicgraph::Matrix, int>
SOUT
;
46
};
47
48
}
// namespace sot
49
}
// namespace dynamicgraph
dynamicgraph::sot::MatrixConstant::CLASS_NAME
static const std::string CLASS_NAME
Definition:
matrix-constant.hh:32
dynamicgraph::Entity
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, int >
compile.name
name
Definition:
compile.py:23
dynamicgraph::sot::MatrixConstant::color
double color
Definition:
matrix-constant.hh:36
dynamicgraph::sot::MatrixConstant::getClassName
virtual const std::string & getClassName(void) const
Definition:
matrix-constant.hh:33
dynamicgraph::sot::command::matrixConstant::Resize
Definition:
matrix-constant-command.h:26
dynamicgraph::sot::MatrixConstant::rows
int rows
Definition:
matrix-constant.hh:35
dynamicgraph::sot::MatrixConstant::~MatrixConstant
virtual ~MatrixConstant(void)
Definition:
matrix-constant.hh:43
dynamicgraph::sot::MatrixConstant
Definition:
matrix-constant.hh:28
linear-algebra.h
dynamicgraph::Matrix
Eigen::MatrixXd Matrix
dynamicgraph::sot::MatrixConstant::SOUT
SignalTimeDependent< dynamicgraph::Matrix, int > SOUT
Definition:
matrix-constant.hh:45
cols
int cols
all-signals.h
dynamicgraph
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26