Define the identity projection. More...
#include <RealVectorStateProjections.h>
Public Member Functions | |
virtual void | defaultCellSizes (void) |
Set the default cell dimensions for this projection. The default implementation of this function is empty. setup() calls this function if no cell dimensions have been previously set. | |
virtual unsigned int | getDimension (void) const |
Return the dimension of the projection defined by this evaluator. | |
virtual void | project (const State *state, EuclideanProjection &projection) const |
Compute the projection as an array of double values. | |
RealVectorIdentityProjectionEvaluator (const StateSpacePtr &space) | |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the bounds from the state space. | |
RealVectorIdentityProjectionEvaluator (const StateSpace *space) | |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the bounds from the state space. | |
RealVectorIdentityProjectionEvaluator (const StateSpacePtr &space, const std::vector< double > &cellSizes) | |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes. | |
RealVectorIdentityProjectionEvaluator (const StateSpace *space, const std::vector< double > &cellSizes) | |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes. | |
virtual void | setup (void) |
Perform configuration steps, if needed. | |
Private Attributes | |
std::size_t | copySize_ |
The amount of data to copy from projection to state. |
Define the identity projection.
Definition at line 158 of file RealVectorStateProjections.h.
ompl::base::RealVectorIdentityProjectionEvaluator::RealVectorIdentityProjectionEvaluator | ( | const StateSpace * | space, | |
const std::vector< double > & | cellSizes | |||
) |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes.
ompl::base::RealVectorIdentityProjectionEvaluator::RealVectorIdentityProjectionEvaluator | ( | const StateSpacePtr & | space, | |
const std::vector< double > & | cellSizes | |||
) |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes.
ompl::base::RealVectorIdentityProjectionEvaluator::RealVectorIdentityProjectionEvaluator | ( | const StateSpace * | space | ) |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the bounds from the state space.
ompl::base::RealVectorIdentityProjectionEvaluator::RealVectorIdentityProjectionEvaluator | ( | const StateSpacePtr & | space | ) |
Initialize the identity projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the bounds from the state space.
virtual void ompl::base::RealVectorIdentityProjectionEvaluator::defaultCellSizes | ( | void | ) | [virtual] |
Set the default cell dimensions for this projection. The default implementation of this function is empty. setup() calls this function if no cell dimensions have been previously set.
Reimplemented from ompl::base::ProjectionEvaluator.
virtual unsigned int ompl::base::RealVectorIdentityProjectionEvaluator::getDimension | ( | void | ) | const [virtual] |
Return the dimension of the projection defined by this evaluator.
Implements ompl::base::ProjectionEvaluator.
virtual void ompl::base::RealVectorIdentityProjectionEvaluator::project | ( | const State * | state, | |
EuclideanProjection & | projection | |||
) | const [virtual] |
Compute the projection as an array of double values.
Implements ompl::base::ProjectionEvaluator.
virtual void ompl::base::RealVectorIdentityProjectionEvaluator::setup | ( | void | ) | [virtual] |
Perform configuration steps, if needed.
Reimplemented from ompl::base::ProjectionEvaluator.
std::size_t ompl::base::RealVectorIdentityProjectionEvaluator::copySize_ [private] |
The amount of data to copy from projection to state.
Definition at line 189 of file RealVectorStateProjections.h.