PlannerDataVertexAnnotated.h
void setMaxLevel(unsigned int level_)
The maximum level in the bundle space hierarchy.
Definition: PlannerDataVertexAnnotated.cpp:97
A shared pointer wrapper for ompl::base::SpaceInformation.
const ompl::base::State * getBaseState() const
Returns base state, indepent of mode.
Definition: PlannerDataVertexAnnotated.cpp:120
virtual bool operator==(const PlannerDataVertex &rhs) const override
Verifies equality by checking level and base state (mode independent)
Definition: PlannerDataVertexAnnotated.cpp:137
bool totalStateIsSet
There are two modes. Mode 1 is the normal mode where this class contains a reference to the base stat...
Definition: PlannerDataVertexAnnotated.h:229
void setComponent(unsigned int component_)
The component of vertex in the graph (start, goal or other component)
Definition: PlannerDataVertexAnnotated.cpp:72
virtual const ompl::base::State * getState() const override
Returns base state in baseMode and total state in totalMode. The total space here is the last element...
Definition: PlannerDataVertexAnnotated.cpp:107
void setTotalState(ompl::base::State *s, ompl::base::SpaceInformationPtr si)
Set total state, i.e. the lift of the base state to the total space (last Spaceinformationptr in sequ...
Definition: PlannerDataVertexAnnotated.cpp:130
const ompl::base::State * stateBase_
Internal reference to base state. Same as state_ in normal Mode to avoid confusion.
Definition: PlannerDataVertexAnnotated.h:233
PlannerDataVertex(const State *st, int tag=0)
Constructor. Takes a state pointer and an optional integer tag.
Definition: PlannerData.h:158
unsigned int maxLevel_
How many spaces exists in the multilevel structure.
Definition: PlannerDataVertexAnnotated.h:214
unsigned int component_
(Optional:) which component in roadmap does vertex belong to
Definition: PlannerDataVertexAnnotated.h:218
void setLevel(unsigned int level_)
The level of vertex in the bundle space hierarchy.
Definition: PlannerDataVertexAnnotated.cpp:87
ompl::base::State * getStateNonConst() const
Same as getState(), but state can be changed.
Definition: PlannerDataVertexAnnotated.cpp:115
ompl::base::SpaceInformationPtr si_
Pointer to total space (to free total space element upon deletion)
Definition: PlannerDataVertexAnnotated.h:240
virtual PlannerDataVertex * clone() const override
Return a clone of this object, allocated from the heap.
Definition: PlannerDataVertexAnnotated.cpp:67
PlannerDataVertexAnnotated(const ompl::base::State *state)
Constructor for base state. Set mode to baseMode.
Definition: PlannerDataVertexAnnotated.cpp:42
Base class for a vertex in the PlannerData structure. All derived classes must implement the clone an...
Definition: PlannerData.h:122
void setBaseState(const ompl::base::State *s)
Explicitly changes base state (does not change mode)
Definition: PlannerDataVertexAnnotated.cpp:125