NodeTransform Skeleton.hh common/common.hh
More...
#include <Skeleton.hh>
NodeTransform Skeleton.hh common/common.hh
A transformation node
Enumeration of the transform types.
- Enumerator:
TRANSLATE |
|
ROTATE |
|
SCALE |
|
MATRIX |
|
Constructor.
- Parameters
-
[in] | _type | the type of transform |
Constructor.
- Parameters
-
[in] | _mat | the matrix |
[in] | _sid | identifier |
[in] | _type | the type of transform |
gazebo::common::NodeTransform::~NodeTransform |
( |
| ) |
|
Destructor. It does nothing.
Returns the transformation matrix.
- Returns
- the matrix
std::string gazebo::common::NodeTransform::GetSID |
( |
| ) |
|
Returns thr SID.
- Returns
- the SID
Returns the transformation type.
- Returns
- the type
Matrix cast operator.
- Returns
- the transform
Node transform multiplication operator.
- Parameters
-
- Returns
- transform matrix multiplied by _t's transform
Matrix multiplication operator.
- Parameters
-
- Returns
- transform matrix multiplied by _m
void gazebo::common::NodeTransform::PrintSource |
( |
| ) |
|
Prints the transform matrix to std::err stream.
void gazebo::common::NodeTransform::RecalculateMatrix |
( |
| ) |
|
Sets the transform matrix from the source according to the type.
Assign a transformation.
- Parameters
-
void gazebo::common::NodeTransform::SetComponent |
( |
unsigned int |
_idx, |
|
|
double |
_value |
|
) |
| |
Set a transformation matrix component value.
- Parameters
-
[in] | _idx | the component index |
[in] | _value | the value |
void gazebo::common::NodeTransform::SetSID |
( |
std::string |
_sid | ) |
|
void gazebo::common::NodeTransform::SetSourceValues |
( |
math::Matrix4 |
_mat | ) |
|
Set source data values _ param[in] _mat the values.
void gazebo::common::NodeTransform::SetSourceValues |
( |
math::Vector3 |
_vec | ) |
|
void gazebo::common::NodeTransform::SetSourceValues |
( |
math::Vector3 |
_axis, |
|
|
double |
_angle |
|
) |
| |
Sets source matrix values from roation.
- Parameters
-
[in] | _axis | of rotation |
[in] | _angle | of rotation |
void gazebo::common::NodeTransform::SetType |
( |
TransformType |
_type | ) |
|
Set transform type.
- Parameters
-
std::string gazebo::common::NodeTransform::sid |
|
protected |
std::vector<double> gazebo::common::NodeTransform::source |
|
protected |
source data values (can be a matrix, a position or rotation)
The documentation for this class was generated from the following file: