#include <CGenericTool.h>
Inheritance diagram for cGenericTool:
Public Member Functions | |
cGenericTool () | |
Constructor of cGenericTool. | |
virtual | ~cGenericTool () |
Destructor of cGenericTool. | |
virtual void | render (const int a_renderMode=0) |
Render the object in OpenGL. | |
virtual void | updatePose () |
Update Position, orientation, velocity and other degree of freedoms of tool. | |
virtual void | computeForces () |
Compute interaction forces with environment. | |
virtual void | applyForces () |
Apply latest forces to device. | |
virtual int | start () |
Start communication with the device connected to the tool (0 indicates success). | |
virtual int | stop () |
Stop communication with the device connected to the tool (0 indicates success). | |
virtual int | initialize (const bool a_resetEncoders=false) |
Initialize encoders on device connected to the tool (0 indicates success). | |
virtual int | setForcesON () |
Toggle forces on. | |
virtual int | setForcesOFF () |
Toggle forces off. | |
Public Attributes | |
int | m_button |
Are the device's buttons currently on?
This is a _bitmask_, with bit 0 representing button 0, etc.