A state in SE(3): position = (x, y, z), quaternion = (x, y, z, w) More...
#include <ompl/base/spaces/SE3StateSpace.h>

Public Member Functions | |
double | getX () const |
Get the X component of the state. | |
double | getY () const |
Get the Y component of the state. | |
double | getZ () const |
Get the Z component of the state. | |
const SO3StateSpace::StateType & | rotation () const |
Get the rotation component of the state. | |
SO3StateSpace::StateType & | rotation () |
Get the rotation component of the state and allow changing it as well. | |
void | setX (double x) |
Set the X component of the state. | |
void | setY (double y) |
Set the Y component of the state. | |
void | setZ (double z) |
Set the Z component of the state. | |
void | setXYZ (double x, double y, double z) |
Set the X, Y and Z components of the state. | |
![]() | |
template<class T > | |
const T * | as (unsigned int index) const |
Cast a component of this instance to a desired type. | |
template<class T > | |
T * | as (const unsigned int index) |
Cast a component of this instance to a desired type. | |
const State * | operator[] (unsigned int i) const |
Access const element ith component. This does not check whether the index is within bounds. | |
State * | operator[] (unsigned int i) |
Access element ith component. This does not check whether the index is within bounds. | |
![]() | |
template<class T > | |
const T * | as () const |
Cast this instance to a desired type. | |
template<class T > | |
T * | as () |
Cast this instance to a desired type. | |
Additional Inherited Members | |
![]() | |
State ** | components {nullptr} |
The components that make up a compound state. | |
![]() |
Detailed Description
A state in SE(3): position = (x, y, z), quaternion = (x, y, z, w)
Definition at line 53 of file SE3StateSpace.h.
Member Function Documentation
◆ getX()
|
inline |
Get the X component of the state.
Definition at line 59 of file SE3StateSpace.h.
◆ getY()
|
inline |
Get the Y component of the state.
Definition at line 65 of file SE3StateSpace.h.
◆ getZ()
|
inline |
Get the Z component of the state.
Definition at line 71 of file SE3StateSpace.h.
◆ rotation() [1/2]
|
inline |
Get the rotation component of the state and allow changing it as well.
Definition at line 83 of file SE3StateSpace.h.
◆ rotation() [2/2]
|
inline |
Get the rotation component of the state.
Definition at line 77 of file SE3StateSpace.h.
◆ setX()
|
inline |
Set the X component of the state.
Definition at line 89 of file SE3StateSpace.h.
◆ setXYZ()
|
inline |
Set the X, Y and Z components of the state.
Definition at line 107 of file SE3StateSpace.h.
◆ setY()
|
inline |
Set the Y component of the state.
Definition at line 95 of file SE3StateSpace.h.
◆ setZ()
|
inline |
Set the Z component of the state.
Definition at line 101 of file SE3StateSpace.h.
The documentation for this class was generated from the following file:
- ompl/base/spaces/SE3StateSpace.h