Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
DualCoding::ShapeParticleDistributionPolicy< ParticleT > Class Template Reference
Inheritance diagram for DualCoding::ShapeParticleDistributionPolicy< ParticleT >:
Detailed Descriptiontemplate<typename ParticleT>
|
Public Types | |
typedef ParticleT | particle_type |
just for convenience | |
typedef ParticleFilter < particle_type >::index_t | index_t |
just for convenience | |
Public Member Functions | |
ShapeParticleDistributionPolicy () | |
virtual void | randomize (particle_type *begin, index_t num) |
virtual void | jiggle (float var, particle_type *begin, index_t num) |
virtual void | setWorldBounds (float minX, float width, float minY, float height) |
virtual void | setWorldBounds (const Shape< PolygonData > bounds) |
Protected Attributes | |
Shape< PolygonData > | worldBounds |
If valid shape, particles must lie inside it. |
typedef ParticleFilter<particle_type>::index_t DualCoding::ShapeParticleDistributionPolicy< ParticleT >::index_t |
just for convenience
Reimplemented from LocalizationParticleDistributionPolicy< ParticleT >.
Definition at line 24 of file ShapeBasedParticleFilter.h.
typedef ParticleT DualCoding::ShapeParticleDistributionPolicy< ParticleT >::particle_type |
just for convenience
Reimplemented from LocalizationParticleDistributionPolicy< ParticleT >.
Definition at line 23 of file ShapeBasedParticleFilter.h.
DualCoding::ShapeParticleDistributionPolicy< ParticleT >::ShapeParticleDistributionPolicy | ( | ) |
Definition at line 26 of file ShapeBasedParticleFilter.h.
Referenced by DualCoding::ShapeParticleDistributionPolicy< ParticleT >::randomize().
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::jiggle | ( | float | var, | |
particle_type * | begin, | |||
index_t | num | |||
) | [virtual] |
Reimplemented from LocalizationParticleDistributionPolicy< ParticleT >.
Definition at line 45 of file ShapeBasedParticleFilter.h.
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::randomize | ( | particle_type * | begin, | |
index_t | num | |||
) | [virtual] |
Reimplemented from LocalizationParticleDistributionPolicy< ParticleT >.
Definition at line 30 of file ShapeBasedParticleFilter.h.
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::setWorldBounds | ( | const Shape< PolygonData > | bounds | ) | [virtual] |
Definition at line 74 of file ShapeBasedParticleFilter.h.
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::setWorldBounds | ( | float | minX, | |
float | width, | |||
float | minY, | |||
float | height | |||
) | [virtual] |
Definition at line 67 of file ShapeBasedParticleFilter.h.
Referenced by DualCoding::ShapeBasedParticleFilter::setWorldBounds().
Shape<PolygonData> DualCoding::ShapeParticleDistributionPolicy< ParticleT >::worldBounds [protected] |
If valid shape, particles must lie inside it.
Definition at line 83 of file ShapeBasedParticleFilter.h.
Referenced by DualCoding::ShapeParticleDistributionPolicy< ParticleT >::randomize().
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:21 2016 by Doxygen 1.6.3 |