Gazebo

RayGeom Class Reference
[Ray geom]

#include <RayGeom.hh>

Inheritance diagram for RayGeom:

Geom Entity

List of all members.


Detailed Description

Ray geom

Public Member Functions

 RayGeom (Body *body)
virtual ~RayGeom ()
void SetPoints (const Vector3 &posStart, const Vector3 &posEnd)
void GetRelativePoints (Vector3 &posA, Vector3 &posB)
void GetGlobalPoints (Vector3 &posA, Vector3 &posB)
void SetLength (double len)
double GetLength () const
void Update ()
void SetRetro (float retro)
float GetRetro () const
void SetFiducial (int fid)
int GetFiducial () const

Protected Member Functions

virtual void LoadChild (XMLConfigNode *node)

Constructor & Destructor Documentation

RayGeom ( Body body  ) 

Constructor

Parameters:
body Body the ray is attached to

virtual ~RayGeom (  )  [virtual]

Destructor


Member Function Documentation

void SetPoints ( const Vector3 posStart,
const Vector3 posEnd 
)

Set the ray based on starting and ending points relative to the body

Parameters:
posStart Start position, relative the body
posEnd End position, relative to the body

void GetRelativePoints ( Vector3 posA,
Vector3 posB 
)

Get the relative starting and ending points

Parameters:
posA Returns the starting point
posB Returns the ending point

void GetGlobalPoints ( Vector3 posA,
Vector3 posB 
)

Get the global starting and ending points

Parameters:
posA Returns the starting point
posB Returns the ending point

void SetLength ( double  len  ) 

Set the length of the ray

Parameters:
len Length of the array

double GetLength (  )  const

Get the length of the ray

void Update (  ) 

Update the tay geom

Reimplemented from Geom.

void SetRetro ( float  retro  ) 

Set the retro-reflectivness detected by this ray

float GetRetro (  )  const

Get the retro-reflectivness detected by this ray

void SetFiducial ( int  fid  ) 

Set the fiducial id detected by this ray

int GetFiducial (  )  const

Get the fiducial id detected by this ray

virtual void LoadChild ( XMLConfigNode node  )  [protected, virtual]

Load thte ray

Implements Geom.


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

Last updated Aug 04 2007