An active proper rigid transformation, which first rotates, then translates: x -> R x + t, in a Euclidean coordinate system (EuclideanCoordinateSystem), like its rotation.
More...
|
| | ActiveProperRigidTransformationTemplate ()=default |
| | ActiveProperRigidTransformationTemplate (Rotation rotation, Translation translation) |
| void | setRotation (const Rotation &rotation) |
| const Rotation & | getRotation () const |
| void | setTranslation (const Translation &translation) |
| const Translation & | getTranslation () const |
| ActiveProperRigidTransformationTemplate | inverse () const |
| | The inverse transformation, (R^T, -R^T t), which only needs the transpose of the rotation (see internal::invertRigid()).
|
| template<typename CoordinateSystemOtherT_, typename RotationOtherT_, typename TranslationOtherT_> |
| bool | isApprox (const ActiveProperRigidTransformationTemplate< CoordinateSystemOtherT_, RotationOtherT_, TranslationOtherT_ > &other, const ValueT precision=Precision< ValueT >::value()) const |
| | Whether both transformations, which must be expressed in the same coordinate system, are approximately equal: their rotations and their translations are compared with their isApprox().
|
| auto | transform (ObjectT_ &&object) const |
| | The transformed object. A temporary is passed on as one, like with PassiveTransformation::transform().
|
template<EuclideanCoordinateSystem CoordinateSystemT_, AnyRotation RotationT_, typename TranslationT_>
class wuzp::ActiveProperRigidTransformationTemplate< CoordinateSystemT_, RotationT_, TranslationT_ >
An active proper rigid transformation, which first rotates, then translates: x -> R x + t, in a Euclidean coordinate system (EuclideanCoordinateSystem), like its rotation.
The rotation R is a rotation, e.g. an ActiveSpatialRotation, which checks that it is orthogonal with determinant 1 (see ActiveSpatialRotation::isValid()): the inverse, (R^T, -R^T t), relies on it. ActiveProperRigidTransformation is the transformation of a rotation and a spatial translation. Its compositions with rotations are defined in ActiveSpatialRotation.hpp. The translation leaves vectors, covectors and tensors with two upper indices unchanged, so they are only rotated, e.g. a covector w into w R^T and a covariance S into R S R^T, and it rejects the other tensors, e.g. an inertia, which may depend on the origin (see ActiveTranslation).
Definition at line 26 of file ActiveProperRigidTransformationTemplate.hpp.
template<EuclideanCoordinateSystem CoordinateSystemT_, AnyRotation RotationT_, typename TranslationT_>
template<typename CoordinateSystemOtherT_, typename RotationOtherT_, typename TranslationOtherT_>