Loading...
Searching...
No Matches
ompl::base::AtlasStateSpace::StateType Class Reference
A state in an atlas represented as a real vector in ambient space and a chart that it belongs to. More...
#include <ompl/base/spaces/constraint/AtlasStateSpace.h>
Inheritance diagram for ompl::base::AtlasStateSpace::StateType:

Public Member Functions | |
StateType (const ConstrainedStateSpace *space) | |
Construct state of size n. | |
AtlasChart * | getChart () const |
Get the chart this state is on. | |
void | setChart (AtlasChart *c) const |
Set the chart c for the state. | |
![]() | |
StateType (const ConstrainedStateSpace *space) | |
Constructor. Requires space to setup information about underlying state. | |
void | copy (const Eigen::Ref< const Eigen::VectorXd > &other) |
Copy the contents from a vector into this state. Uses the underlying copy operator used by Eigen for dense vectors. | |
![]() | |
StateType (State *state) | |
Constructor. Takes a reference state to the underlying state. | |
const State * | getState () const |
Get a const pointer to the underlying state. | |
State * | getState () |
Get a pointer to the underlying state. | |
![]() | |
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 * | state_ |
Underlying state. | |
Detailed Description
A state in an atlas represented as a real vector in ambient space and a chart that it belongs to.
Definition at line 135 of file AtlasStateSpace.h.
Constructor & Destructor Documentation
◆ StateType()
|
inline |
Construct state of size n.
Definition at line 139 of file AtlasStateSpace.h.
Member Function Documentation
◆ getChart()
|
inline |
Get the chart this state is on.
Definition at line 144 of file AtlasStateSpace.h.
◆ setChart()
|
inline |
Set the chart c for the state.
Definition at line 150 of file AtlasStateSpace.h.
The documentation for this class was generated from the following file:
- ompl/base/spaces/constraint/AtlasStateSpace.h