gz/common/NodeTransform.hh
Go to the documentation of this file.
void RecalculateMatrix()
Sets the transform matrix from the source according to the type.
NodeTransform(const NodeTransformType _type=MATRIX)
Constructor.
void SetSourceValues(const math::Matrix4d &_mat)
Set source data values.
void SetType(const NodeTransformType _type)
Set transform type.
math::Matrix4d operator*(const NodeTransform &_t) const
Node transform multiplication operator.
void SetSourceValues(const math::Vector3d &_axis, const double _angle)
Sets source matrix values from roation.
void SetComponent(const unsigned int _idx, const double _value)
Set a transformation matrix component value.
void PrintSource() const
Prints the transform matrix to standard out.
math::Matrix4d operator*(const math::Matrix4d &_m) const
Matrix multiplication operator.
void SetSourceValues(const math::Vector3d &_vec)
Set source data values.
NodeTransform(const math::Matrix4d &_mat, const std::string &_sid="_default_", const NodeTransformType _type=MATRIX)
Constructor.
NodeTransformType
Enumeration of the transform types.
Definition: include/gz/common/Util.hh:106
Forward declarations for the common classes.