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

#include <uvisdata.h>

Public Member Functions

UProbPolygetPoly ()
 
const char * getPolyName ()
 
bool isPolyNew ()
 
bool makeRangeIntervals (double startRange, UPoseTime *robPose, UPose *destPose)
 
void setPolyName (const char *source)
 
void setPolyNew (bool value)
 
 UVisData ()
 
 ~UVisData ()
 

Public Attributes

ULock polyLock
 

Protected Attributes

UProbPolypoly
 
bool polyLocalCoordinates
 
char polyName [MAX_SML_NAME_LENGTH]
 
bool polyNew
 

Private Attributes

UProbPoly polyData
 

Detailed Description

Main class for vision based data from camera server

Author
Christian Andersen

Constructor & Destructor Documentation

UVisData::UVisData ( )

Constructor

References poly, polyData, polyLocalCoordinates, and polyNew.

UVisData::~UVisData ( )

Destructor

Member Function Documentation

UProbPoly* UVisData::getPoly ( )
inline

Get pointer to polygon structure

Referenced by UClientFuncPath::handlePathPolygonData(), UNavPaint::paint(), and UResCamIfPath::snprint().

const char* UVisData::getPolyName ( )
inline

Get polygon name

References polyName.

bool UVisData::isPolyNew ( )
inline

Is new polygon data available

References polyNew.

bool UVisData::makeRangeIntervals ( double  startRange,
UPoseTime robPose,
UPose destPose 
)

Make range intervals for this vision polygon from the provided range

Referenced by setPolyNew().

void UVisData::setPolyName ( const char *  source)
inline

inline set polygon name

References MAX_SML_NAME_LENGTH, and polyName.

void UVisData::setPolyNew ( bool  value)
inline

Set new polygon flag

References makeRangeIntervals(), and polyNew.

Referenced by UClientFuncPath::handlePathPolygonData().

Member Data Documentation

UProbPoly* UVisData::poly
protected

Get pointer to range intervals Pointer to polygon data buffer

Referenced by UVisData().

UProbPoly UVisData::polyData
private

Passable range intervals Polygon buffer

Referenced by UVisData().

bool UVisData::polyLocalCoordinates
protected

Is polygon in robot local coordinates

Referenced by UVisData().

ULock UVisData::polyLock

Lock for polygon coordinates

Referenced by UClientFuncPath::handlePathPolygonData().

char UVisData::polyName[MAX_SML_NAME_LENGTH]
protected

Name of received polygon

Referenced by getPolyName(), and setPolyName().

bool UVisData::polyNew
protected

Is new data - set by data entry and reset by vision navigation - polling mode

Referenced by isPolyNew(), setPolyNew(), and UVisData().


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