ompl::base::WrapperStateSampler Class Reference
A state sampler that wraps around another state sampler. More...
#include <ompl/base/spaces/WrapperStateSpace.h>
Inheritance diagram for ompl::base::WrapperStateSampler:
Public Member Functions | |
WrapperStateSampler (const StateSpace *space, StateSamplerPtr sampler) | |
Constructor. Requires the wrapper state space space and the underlying sampler sampler. | |
void | sampleUniform (State *state) override |
Sample a state using underlying sampler. | |
void | sampleUniformNear (State *state, const State *near, double distance) override |
Sample a nearby state using underlying sampler. | |
void | sampleGaussian (State *state, const State *mean, double stdDev) override |
Sample a state within a Gaussian distribution using underlying sampler. | |
Public Member Functions inherited from ompl::base::StateSampler | |
StateSampler (const StateSampler &)=delete | |
StateSampler & | operator= (const StateSampler &)=delete |
StateSampler (const StateSpace *space) | |
Constructor. | |
Protected Attributes | |
StateSamplerPtr | sampler_ |
Underlying state sampler. | |
Protected Attributes inherited from ompl::base::StateSampler | |
const StateSpace * | space_ |
The state space this sampler samples. | |
RNG | rng_ |
An instance of a random number generator. | |
Detailed Description
A state sampler that wraps around another state sampler.
Definition at line 118 of file WrapperStateSpace.h.
The documentation for this class was generated from the following files:
- ompl/base/spaces/WrapperStateSpace.h
- ompl/base/spaces/src/WrapperStateSpace.cpp