Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

DualCoding::ShapeParticleDistributionPolicy< ParticleT > Class Template Reference

#include <ShapeBasedParticleFilter.h>

Inheritance diagram for DualCoding::ShapeParticleDistributionPolicy< ParticleT >:

Detailed Description

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

Definition at line 30 of file ShapeBasedParticleFilter.h.

List of all members.

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.

Member Typedef Documentation

template<typename ParticleT>
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.

template<typename ParticleT>
typedef ParticleT DualCoding::ShapeParticleDistributionPolicy< ParticleT >::particle_type

just for convenience

Reimplemented from LocalizationParticleDistributionPolicy< ParticleT >.

Definition at line 23 of file ShapeBasedParticleFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

template<typename ParticleT>
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::jiggle ( float  var,
particle_type begin,
index_t  num 
) [virtual]
template<typename ParticleT>
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::randomize ( particle_type begin,
index_t  num 
) [virtual]
template<typename ParticleT>
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::setWorldBounds ( const Shape< PolygonData >  bounds  )  [virtual]

Definition at line 74 of file ShapeBasedParticleFilter.h.

template<typename ParticleT>
virtual void DualCoding::ShapeParticleDistributionPolicy< ParticleT >::setWorldBounds ( float  minX,
float  width,
float  minY,
float  height 
) [virtual]

Member Data Documentation

template<typename ParticleT>
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().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:21 2016 by Doxygen 1.6.3