Enumerations | |
enum | ompl::base::AdvancedStateCopyOperation { ompl::base::NO_DATA_COPIED = 0, ompl::base::SOME_DATA_COPIED = 1, ompl::base::ALL_DATA_COPIED = 2 } |
The possible outputs for an advanced copy operation. More... | |
Functions | |
AdvancedStateCopyOperation | ompl::base::copyStateData (const StateSpacePtr &destS, State *dest, const StateSpacePtr &sourceS, const State *source) |
Copy data from source (state from space sourceS) to dest (state from space destS) on a component by component basis. State spaces are matched by name. If the state space destS contains any subspace whose name matches any subspace of the state space sourceS, the corresponding state components are copied. | |
AdvancedStateCopyOperation | ompl::base::copyStateData (const StateSpace *destS, State *dest, const StateSpace *sourceS, const State *source) |
Copy data from source (state from space sourceS) to dest (state from space destS) on a component by component basis. State spaces are matched by name. If the state space destS contains any subspace whose name matches any subspace of the state space sourceS, the corresponding state components are copied. | |
AdvancedStateCopyOperation | ompl::base::copyStateData (const StateSpacePtr &destS, State *dest, const StateSpacePtr &sourceS, const State *source, const std::vector< std::string > &subspaces) |
Copy data from source (state from space sourceS) to dest (state from space destS) but only for the subspaces indicated by name in subspaces. This uses StateSpace::getSubstateLocationsByName(). | |
AdvancedStateCopyOperation | ompl::base::copyStateData (const StateSpace *destS, State *dest, const StateSpace *sourceS, const State *source, const std::vector< std::string > &subspaces) |
Copy data from source (state from space sourceS) to dest (state from space destS) but only for the subspaces indicated by name in subspaces. This uses StateSpace::getSubstateLocationsByName(). |
The possible outputs for an advanced copy operation.
NO_DATA_COPIED |
No data was copied. |
SOME_DATA_COPIED |
Some data was copied. |
ALL_DATA_COPIED |
All data was copied. |
Definition at line 739 of file StateSpace.h.
AdvancedStateCopyOperation ompl::base::copyStateData | ( | const StateSpacePtr & | destS, |
State * | dest, | ||
const StateSpacePtr & | sourceS, | ||
const State * | source, | ||
const std::vector< std::string > & | subspaces | ||
) |
Copy data from source (state from space sourceS) to dest (state from space destS) but only for the subspaces indicated by name in subspaces. This uses StateSpace::getSubstateLocationsByName().
Definition at line 1251 of file StateSpace.cpp.
AdvancedStateCopyOperation ompl::base::copyStateData | ( | const StateSpace * | destS, |
State * | dest, | ||
const StateSpace * | sourceS, | ||
const State * | source, | ||
const std::vector< std::string > & | subspaces | ||
) |
Copy data from source (state from space sourceS) to dest (state from space destS) but only for the subspaces indicated by name in subspaces. This uses StateSpace::getSubstateLocationsByName().
Definition at line 1258 of file StateSpace.cpp.