Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PFShapeDistributionPolicy Class Template Reference

#include <PFShapeLocalization.h>

Inheritance diagram for PFShapeDistributionPolicy:

List of all members.


Detailed Description

template<typename ParticleT>
class DualCoding::PFShapeDistributionPolicy< ParticleT >

Definition at line 118 of file PFShapeLocalization.h.


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< PolygonDataworldBounds
 If valid shape, particles must lie inside it.

Member Typedef Documentation

typedef ParticleT particle_type

just for convenience

Definition at line 120 of file PFShapeLocalization.h.

just for convenience

Definition at line 121 of file PFShapeLocalization.h.


Constructor & Destructor Documentation

PFShapeDistributionPolicy (  )  [inline]

Definition at line 123 of file PFShapeLocalization.h.


Member Function Documentation

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().


Member Data Documentation

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().


The documentation for this class was generated from the following file:

DualCoding 4.0
Generated Thu Nov 22 00:53:59 2007 by Doxygen 1.5.4