AURobotServers  4
Public Member Functions | Public Attributes | Private Attributes | List of all members
Leg Class Reference

#include <Leg.h>

Public Member Functions

void addCertainty (int x, int max)
 
int getCertainty ()
 
char * getColor ()
 
char * getColorChar (int i)
 
int getID ()
 
std::list< UPosition > * getPosHist ()
 
long getScanID ()
 
double getTimeStamp ()
 
double getXmean ()
 
double getYmean ()
 
 Leg ()
 
 Leg (int ID, long scanID, double time, std::vector< UPosition > p, bool DEBUG)
 
void setColor ()
 
void setColor (char *color)
 
void setColorChar (char c)
 
void setID (int ID)
 
void setPosHist (std::list< UPosition > *l)
 
void setTimeStamp (double time)
 

Public Attributes

char color [8]
 

Private Attributes

int certainty
 
int ID
 
int points
 
std::list< UPositionposHist
 
long scanID
 
double timestamp
 
double Xmean
 
double Ymean
 

Constructor & Destructor Documentation

Leg::Leg ( )
Leg::Leg ( int  ID,
long  scanID,
double  time,
std::vector< UPosition p,
bool  DEBUG 
)

Member Function Documentation

void Leg::addCertainty ( int  x,
int  max 
)

References certainty.

int Leg::getCertainty ( )

References certainty.

char * Leg::getColor ( )

References color.

char * Leg::getColorChar ( int  i)

Referenced by UFuncPpl::createPolygon().

int Leg::getID ( )

References ID.

std::list< UPosition > * Leg::getPosHist ( )

References posHist.

long Leg::getScanID ( )

References scanID.

double Leg::getTimeStamp ( )

References timestamp.

double Leg::getXmean ( )

References Xmean.

Referenced by UFuncPpl::createPolygon().

double Leg::getYmean ( )

References Ymean.

Referenced by UFuncPpl::createPolygon().

void Leg::setColor ( )

Referenced by Leg().

void Leg::setColor ( char *  color)
void Leg::setColorChar ( char  c)
void Leg::setID ( int  ID)

References ID.

void Leg::setPosHist ( std::list< UPosition > *  l)

References posHist.

void Leg::setTimeStamp ( double  time)

References timestamp.

Member Data Documentation

int Leg::certainty
private

Referenced by addCertainty(), getCertainty(), and Leg().

char Leg::color[8]

Referenced by getColor().

int Leg::ID
private

Referenced by getID(), Leg(), and setID().

int Leg::points
private

Referenced by Leg().

std::list<UPosition> Leg::posHist
private

Referenced by getPosHist(), Leg(), and setPosHist().

long Leg::scanID
private

Referenced by getScanID(), and Leg().

double Leg::timestamp
private

Referenced by getTimeStamp(), Leg(), and setTimeStamp().

double Leg::Xmean
private

Referenced by getXmean(), and Leg().

double Leg::Ymean
private

Referenced by getYmean(), and Leg().


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