vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VirtualFixture::Vibration Class Reference

#include <Vibration.h>

Inheritance diagram for VirtualFixture::Vibration:

Public Member Functions

 Vibration ()
 
 ~Vibration ()
 
void apply (PHANToM *pPHANToM, osg::Vec3 &force)
 
void processEvent (const std::string &input_name, void *value)
 
void preInitialize (void)
 
void postInitialize (void)
 
void update (void)
 
bool loadXMLParameters (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *pParametersNode)
 
XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode * 
getXMLParameters (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *)
 

Public Attributes

bool active
 
float frequency
 
float amplitude
 
osg::Vec3 direction
 
float duration
 
osg::Timer_t vstart_tick
 

Protected Attributes

PHANToM * PHANToMDevice
 
bool all_on
 

Constructor & Destructor Documentation

Vibration::Vibration ( )
VirtualFixture::Vibration::~Vibration ( )
inline

Member Function Documentation

void Vibration::apply ( PHANToM *  pPHANToM,
osg::Vec3 &  force 
)

Process the Events.

XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * Vibration::getXMLParameters ( XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *  pDocNode)
bool Vibration::loadXMLParameters ( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  pParametersNode)
void Vibration::postInitialize ( void  )
void Vibration::preInitialize ( void  )
void Vibration::processEvent ( const std::string &  input_name,
void *  value 
)
void Vibration::update ( void  )

Member Data Documentation

bool VirtualFixture::Vibration::active
bool VirtualFixture::Vibration::all_on
protected
float VirtualFixture::Vibration::amplitude
osg::Vec3 VirtualFixture::Vibration::direction
float VirtualFixture::Vibration::duration
float VirtualFixture::Vibration::frequency
PHANToM* VirtualFixture::Vibration::PHANToMDevice
protected
osg::Timer_t VirtualFixture::Vibration::vstart_tick

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