Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PfRoot Class Reference

#include <ParticleShapes.h>

Inheritance diagram for PfRoot:

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, bool _mobile, coordinate_t _x, coordinate_t _y)
virtual ~PfRoot ()
 destructor, doesn't delete link
virtual void print (std::ostream &os) const =0
void printRootInfo (std::ostream &os) const

Static Public Member Functions

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

Public Attributes

int type
int id
rgb color
bool mobile
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,
bool  _mobile,
coordinate_t  _x,
coordinate_t  _y 
) [inline]

Definition at line 25 of file ParticleShapes.h.

virtual ~PfRoot (  )  [inline, virtual]

destructor, doesn't delete link

Definition at line 28 of file ParticleShapes.h.

PfRoot ( const PfRoot  )  [private]

don't call this


Member Function Documentation

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

Implemented in PfLine, PfEllipse, PfPoint, and PfBlob.

Referenced by DualCoding::operator<<().

void printRootInfo ( std::ostream &  os  )  const

Definition at line 110 of file ParticleShapes.cc.

Referenced by PfBlob::print(), PfPoint::print(), PfEllipse::print(), and PfLine::print().

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

Definition at line 19 of file ParticleShapes.cc.

Referenced by ParticleShapeEvaluator::ParticleShapeEvaluator().

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

Definition at line 78 of file ParticleShapes.cc.

Referenced by PfRoot::loadLms().

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

Definition at line 84 of file ParticleShapes.cc.

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

Definition at line 105 of file ParticleShapes.cc.

PfRoot& operator= ( const PfRoot  )  [private]

don't call this


Member Data Documentation

int type

Definition at line 18 of file ParticleShapes.h.

Referenced by ParticleShapeEvaluator::evaluate(), and PfRoot::loadLms().

int id

Definition at line 19 of file ParticleShapes.h.

Referenced by PfRoot::loadLms().

rgb color

Definition at line 20 of file ParticleShapes.h.

Referenced by PfRoot::loadLms().

Definition at line 21 of file ParticleShapes.h.

Referenced by PfRoot::loadLms(), and PfRoot::printRootInfo().

const ShapeRoot* link

Definition at line 23 of file ParticleShapes.h.

Referenced by PfRoot::loadLms().


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

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