Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PfRoot Class Reference

Root class for the particle filter landmark classes. More...

#include <ShapeLandmarks.h>

Inheritance diagram for PfRoot:

Detailed Description

Root class for the particle filter landmark classes.

Definition at line 19 of file ShapeLandmarks.h.

List of all members.

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 ShapeRoot * link

Private Member Functions

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

Constructor & Destructor Documentation

PfRoot::PfRoot ( int  _type,
int  _id,
rgb  _color,
bool  _mobile,
coordinate_t  _x,
coordinate_t  _y 
)

Definition at line 28 of file ShapeLandmarks.h.

virtual PfRoot::~PfRoot (  )  [virtual]

destructor, doesn't delete link

Definition at line 31 of file ShapeLandmarks.h.

PfRoot::PfRoot ( const PfRoot  )  [private]

don't call this


Member Function Documentation

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

Definition at line 140 of file ShapeLandmarks.cc.

Referenced by loadLms().

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

Definition at line 146 of file ShapeLandmarks.cc.

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

Definition at line 18 of file ShapeLandmarks.cc.

PfRoot& PfRoot::operator= ( const PfRoot  )  [private]

don't call this

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

Implemented in PfLine, PfEllipse, PfPoint, PfBlob, PfMarker, PfAprilTag, and PfCylinder.

Referenced by operator<<().

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

Definition at line 167 of file ShapeLandmarks.cc.

void PfRoot::printRootInfo ( std::ostream &  os  )  const

Member Data Documentation

Definition at line 23 of file ShapeLandmarks.h.

Referenced by loadLms().

Definition at line 22 of file ShapeLandmarks.h.

Referenced by loadLms().

const ShapeRoot* PfRoot::link

Definition at line 26 of file ShapeLandmarks.h.

Referenced by loadLms().

Definition at line 24 of file ShapeLandmarks.h.

Referenced by loadLms(), and printRootInfo().

Definition at line 21 of file ShapeLandmarks.h.

Referenced by LocalShapeEvaluator::evaluateWorkhorse(), and loadLms().


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

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