Homepage Demos Overview Downloads Tutorials Reference
Credits

PfRoot Class Reference

#include <ParticleShapes.h>

Inheritance diagram for PfRoot:

Inheritance graph
[legend]
List of all members.

Detailed Description

Root class for the particle filter landmark classes.

Definition at line 16 of file ParticleShapes.h.

Public Member Functions

 PfRoot (int _type, int _id, rgb _color, coordinate_t _x, coordinate_t _y)
virtual ~PfRoot ()
 destructor, doesn't delete link
virtual void print (ostream &os) const =0
void printRootInfo (ostream &os) const

Static Public Member Functions

static vector< PfRoot * > * loadLms (const vector< ShapeRoot > &lms, bool isWorld)
static void deleteLms (vector< PfRoot * > *vec)
static void findBounds (const vector< PfRoot * > &map, coordinate_t &xmin, coordinate_t &ymin, coordinate_t &xmax, coordinate_t &ymax)
static void printLms (const vector< PfRoot * > &lmvec)

Public Attributes

int type
int id
rgb color
coordinate_t x
coordinate_t y
const ShapeRootlink

Private Member Functions

 PfRoot (const PfRoot &)
 don't call this
PfRootoperator= (const PfRoot &)
 don't call this


Constructor & Destructor Documentation

PfRoot ( int  _type,
int  _id,
rgb  _color,
coordinate_t  _x,
coordinate_t  _y 
) [inline]

Definition at line 24 of file ParticleShapes.h.

virtual ~PfRoot (  )  [inline, virtual]

destructor, doesn't delete link

Definition at line 27 of file ParticleShapes.h.

PfRoot ( const PfRoot  )  [private]

don't call this


Member Function Documentation

static void deleteLms ( vector< PfRoot * > *  vec  )  [static]

Referenced by ParticleFilter::loadLms().

static void findBounds ( const vector< PfRoot * > &  map,
coordinate_t xmin,
coordinate_t ymin,
coordinate_t xmax,
coordinate_t ymax 
) [static]

Referenced by ParticleFilter::loadLms().

static vector<PfRoot*>* loadLms ( const vector< ShapeRoot > &  lms,
bool  isWorld 
) [static]

Referenced by ParticleFilter::loadLms().

PfRoot& operator= ( const PfRoot  )  [private]

don't call this

virtual void print ( ostream &  os  )  const [pure virtual]

Implemented in PfLine, PfEllipse, PfPoint, and PfBlob.

Referenced by DualCoding::operator<<().

static void printLms ( const vector< PfRoot * > &  lmvec  )  [static]

void printRootInfo ( ostream &  os  )  const


Member Data Documentation

rgb color

Definition at line 20 of file ParticleShapes.h.

int id

Definition at line 19 of file ParticleShapes.h.

const ShapeRoot* link

Definition at line 22 of file ParticleShapes.h.

int type

Definition at line 18 of file ParticleShapes.h.


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

DualCoding 3.0beta
Generated Wed Oct 4 00:02:28 2006 by Doxygen 1.4.7