| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
PFShapeDistributionPolicy Class Template Reference#include <PFShapeLocalization.h>
Inheritance diagram for PFShapeDistributionPolicy:
![]() 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 | |
| PFShapeDistributionPolicy () | |
| virtual void | randomize (particle_type *begin, index_t num) |
| virtual void | jiggle (float var, particle_type *begin, index_t num) |
| virtual void | setWorldBounds (const Shape< PolygonData > bounds) |
Protected Attributes | |
| Shape< PolygonData > | worldBounds |
| If valid shape, particles must lie inside it. | |
| typedef ParticleT particle_type |
| typedef ParticleFilter<particle_type>::index_t index_t |
| PFShapeDistributionPolicy | ( | ) | [inline] |
Definition at line 123 of file PFShapeLocalization.h.
| virtual void randomize | ( | particle_type * | begin, | |
| index_t | num | |||
| ) | [inline, virtual] |
Definition at line 125 of file PFShapeLocalization.h.
| virtual void jiggle | ( | float | var, | |
| particle_type * | begin, | |||
| index_t | num | |||
| ) | [inline, virtual] |
Definition at line 141 of file PFShapeLocalization.h.
| virtual void setWorldBounds | ( | const Shape< PolygonData > | bounds | ) | [inline, virtual] |
Definition at line 163 of file PFShapeLocalization.h.
Referenced by PFShapeLocalization::setWorldBounds().
Shape<PolygonData> worldBounds [protected] |
If valid shape, particles must lie inside it.
Definition at line 175 of file PFShapeLocalization.h.
Referenced by PFShapeDistributionPolicy::jiggle(), PFShapeDistributionPolicy::randomize(), and PFShapeDistributionPolicy::setWorldBounds().
|
DualCoding 4.0 |
Generated Thu Nov 22 00:53:59 2007 by Doxygen 1.5.4 |