RayGeom Class Reference
[Ray geom]
#include <RayGeom.hh>
Inheritance diagram for RayGeom:

Detailed Description
Ray geomPublic 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
| virtual ~RayGeom | ( | ) | [virtual] |
Destructor
Member Function Documentation
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
Get the relative starting and ending points
- Parameters:
-
posA Returns the starting point posB Returns the ending point
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: