sofa::component::controller::OmniDriver Class Reference

Omni driver. More...

#include <OmniDriver.h>

Inheritance diagram for sofa::component::controller::OmniDriver:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::controller::OmniDriver:

Collaboration graph
[legend]

Public Member Functions

void init ()
 Initialization method called at graph modification, during bottom-up traversal.
void reinit ()
 Update method called when variables used in precomputation are modified.
void setForceFeedback (ForceFeedback *ff)
 OmniDriver ()
 ~OmniDriver ()
void cleanup ()
 Called just before deleting this object Any object in the tree bellow this object that are to be removed will be removed only after this call, so any references this object holds should still be valid.

Data Fields

Data< double > scale
Data< double > forceScale
Data< Vec3d > position
Data< Vec3d > orientation
simulation::tree::GNode * context
OmniData * data

Private Member Functions

void handleEvent (core::objectmodel::Event *)
 Handle an event.

Detailed Description

Omni driver.

Definition at line 88 of file OmniDriver.h.


Constructor & Destructor Documentation

sofa::component::controller::OmniDriver::OmniDriver (  ) 

sofa::component::controller::OmniDriver::~OmniDriver (  ) 

Definition at line 299 of file OmniDriver.cpp.


Member Function Documentation

void sofa::component::controller::OmniDriver::cleanup (  )  [virtual]

Called just before deleting this object Any object in the tree bellow this object that are to be removed will be removed only after this call, so any references this object holds should still be valid.

Called just before deleting this object Any object in the tree bellow this object that are to be removed will be removed only after this call, so any references this object holds should still be valid.

Reimplemented from sofa::core::objectmodel::BaseObject.

Definition at line 303 of file OmniDriver.cpp.

References data, sofa::component::controller::isInitialized, and sofa::component::controller::stopCallback().

void sofa::component::controller::OmniDriver::handleEvent ( core::objectmodel::Event *  e  )  [private, virtual]

void sofa::component::controller::OmniDriver::init ( void   )  [virtual]

void sofa::component::controller::OmniDriver::reinit (  )  [virtual]

Update method called when variables used in precomputation are modified.

Reimplemented from sofa::core::objectmodel::BaseObject.

Definition at line 339 of file OmniDriver.cpp.

References init().

void sofa::component::controller::OmniDriver::setForceFeedback ( ForceFeedback *  ff  ) 


Field Documentation

Definition at line 97 of file OmniDriver.h.

Referenced by init().

Definition at line 99 of file OmniDriver.h.

Referenced by cleanup(), handleEvent(), init(), OmniDriver(), and setForceFeedback().

Definition at line 93 of file OmniDriver.h.

Referenced by init().

Definition at line 95 of file OmniDriver.h.

Referenced by init().

Definition at line 94 of file OmniDriver.h.

Referenced by init().

Definition at line 92 of file OmniDriver.h.

Referenced by init().


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

Generated on Sun Nov 23 04:18:39 2008 for Sofa by  doxygen 1.5.7.1