|
| | Pose (void) |
| | Default constructor (zero position, identity orientation).
|
| |
| | Pose (const Position< PoseComponentType > &position, const Orientation< PoseComponentType > &orientation) |
| | Construct a pose from position and orientation.
|
| |
| | Pose (const Pose &other)=default |
| | Copy constructor.
|
| |
| | Pose (Pose &&other) noexcept=default |
| | Move constructor.
|
| |
| Pose & | operator= (const Pose &other)=default |
| | Copy assignment operator.
|
| |
| Pose & | operator= (Pose &&other) noexcept=default |
| | Move assignment operator.
|
| |
|
| ~Pose (void)=default |
| | Default destructor for Pose.
|
| |
| Pose & | setPosition (const Position< PoseComponentType > &position) noexcept |
| | Set the position component.
|
| |
| Pose & | setPosition (math::Vector< PoseComponentType, 3 > position) noexcept |
| | Set the position component using a vector.
|
| |
| const Position< PoseComponentType > & | getPosition (void) const noexcept |
| | Get the position component.
|
| |
| Pose & | setOrientation (const Orientation< PoseComponentType > &orientation) noexcept |
| | Set the orientation component.
|
| |
| Pose & | setOrientation (math::Quaternion< PoseComponentType > quaternion) noexcept |
| | Set the orientation component using a quaternion.
|
| |
| const Orientation< PoseComponentType > & | getOrientation (void) const noexcept |
| | Get the orientation component.
|
| |
| Pose & | translate (const Position< PoseComponentType > &offset) noexcept |
| | Translate pose position by an offset.
|
| |
| Pose | translated (const Position< PoseComponentType > &offset) const noexcept |
| | Return translated copy of this pose.
|
| |
| Ray< PoseComponentType > | toForwardRay () const noexcept |
| | Get a ray representing the forward direction of the pose.
|
| |
| Ray< PoseComponentType > | toUpRay () const noexcept |
| | Get a ray representing the right direction of the pose.
|
| |
| Ray< PoseComponentType > | toRightRay () const noexcept |
| | Get a ray representing the up direction of the pose.
|
| |
| bool | operator== (const Pose &other) const noexcept |
| | Equality comparison.
|
| |
| bool | operator!= (const Pose &other) const noexcept |
| | Inequality comparison.
|
| |
| bool | operator< (const Pose &other) const noexcept |
| | Less-than comparison for ordering.
|
| |
template<CanBePoseComponent PoseComponentType>
class utility::graphic::Pose< PoseComponentType >
Template class representing a pose (Position + Orientation).
A pose encodes both the spatial Position and the Orientation of an object in 3D space.
- Template Parameters
-
Definition at line 50 of file pose.hpp.