eXperiment robotics framework

Ruler Class Reference

Measure distances in the world. More...

#include <plugins/erf_ruler.hpp>

Inheritance diagram for Ruler:

Inheritance graph
[legend]
Collaboration diagram for Ruler:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Ruler ()
 ~Ruler ()
float getDistance ()
Vec3 getMidPoint ()
int event (int &event, Vec3 &hit, Object3D *o)
int event (int &e)
void draw ()

Public Attributes

int state
RulerPointstart
RulerPointend


Detailed Description

Measure distances in the world.

Definition at line 63 of file erf_ruler.hpp.


Constructor & Destructor Documentation

Ruler::Ruler (  ) 

Ruler::~Ruler (  )  [inline]

Definition at line 65 of file erf_ruler.hpp.

References end, MGLNames, and start.


Member Function Documentation

float Ruler::getDistance (  ) 

Vec3 Ruler::getMidPoint (  ) 

int Ruler::event ( int &  event,
Vec3 hit,
Object3D o 
) [virtual]

Reimplemented from WorldEventHandler.

int Ruler::event ( int &  e  )  [virtual]

Reimplemented from WorldEventHandler.

void Ruler::draw (  ) 


Member Data Documentation

Definition at line 68 of file erf_ruler.hpp.

Definition at line 71 of file erf_ruler.hpp.

Referenced by ~Ruler().

Definition at line 71 of file erf_ruler.hpp.

Referenced by ~Ruler().


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

The miarn project - written by Joao Xavier