Definition for a class computing orthogonal projections. 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. | |
RealVectorOrthogonalProjectionEvaluator (const StateSpacePtr &space, const std::vector< unsigned int > &components) | |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the corresponding bounds from the state space. | |
RealVectorOrthogonalProjectionEvaluator (const StateSpace *space, const std::vector< unsigned int > &components) | |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the corresponding bounds from the state space. | |
RealVectorOrthogonalProjectionEvaluator (const StateSpacePtr &space, const std::vector< double > &cellSizes, const std::vector< unsigned int > &components) | |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes. | |
RealVectorOrthogonalProjectionEvaluator (const StateSpace *space, const std::vector< double > &cellSizes, const std::vector< unsigned int > &components) | |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes. | |
Protected Attributes | |
std::vector< unsigned int > | components_ |
The set of components selected by the projection. |
Definition for a class computing orthogonal projections.
Definition at line 122 of file RealVectorStateProjections.h.
ompl::base::RealVectorOrthogonalProjectionEvaluator::RealVectorOrthogonalProjectionEvaluator | ( | const StateSpace * | space, | |
const std::vector< double > & | cellSizes, | |||
const std::vector< unsigned int > & | components | |||
) |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes.
ompl::base::RealVectorOrthogonalProjectionEvaluator::RealVectorOrthogonalProjectionEvaluator | ( | const StateSpacePtr & | space, | |
const std::vector< double > & | cellSizes, | |||
const std::vector< unsigned int > & | components | |||
) |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are in cellSizes.
ompl::base::RealVectorOrthogonalProjectionEvaluator::RealVectorOrthogonalProjectionEvaluator | ( | const StateSpace * | space, | |
const std::vector< unsigned int > & | components | |||
) |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the corresponding bounds from the state space.
ompl::base::RealVectorOrthogonalProjectionEvaluator::RealVectorOrthogonalProjectionEvaluator | ( | const StateSpacePtr & | space, | |
const std::vector< unsigned int > & | components | |||
) |
Initialize an orthogonal projection evaluator for state space space. The indices of the kept components are in components and the cell sizes are a tenth of the corresponding bounds from the state space.
virtual void ompl::base::RealVectorOrthogonalProjectionEvaluator::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::RealVectorOrthogonalProjectionEvaluator::getDimension | ( | void | ) | const [virtual] |
Return the dimension of the projection defined by this evaluator.
Implements ompl::base::ProjectionEvaluator.
virtual void ompl::base::RealVectorOrthogonalProjectionEvaluator::project | ( | const State * | state, | |
EuclideanProjection & | projection | |||
) | const [virtual] |
Compute the projection as an array of double values.
Implements ompl::base::ProjectionEvaluator.
std::vector<unsigned int> ompl::base::RealVectorOrthogonalProjectionEvaluator::components_ [protected] |
The set of components selected by the projection.
Definition at line 153 of file RealVectorStateProjections.h.