H3D API
2.4.1
|
The SelectDevice field changes the haptics device to use depending on the values of set_selectedDevice and preferredDeviceType fields. More...
#include <H3D/HaptikDevice.h>
Additional Inherited Members | |
![]() | |
enum | PeriodType { } |
Type defining how the period should be interpreted. More... | |
![]() | |
PeriodicUpdate (H3DFloat _period=0, PeriodType _period_type=COUNT) | |
Constructor. | |
~PeriodicUpdate () | |
Destructor. | |
virtual bool | timeToUpdate () |
Determines if it is time to check that the field is updated. More... | |
void | setPeriodType (PeriodType type) |
Set the type of the period. | |
void | setPeriod (H3DFloat _period) |
Set the period for the update. | |
virtual void | upToDate () |
upToDate is specialized to record the time of the call to the function in the last_up_to_date member. | |
![]() | |
virtual | ~PeriodicUpdateField () |
Destructor. | |
![]() | |
void | checkFieldType (Field *f, int index) |
Function for checking that a field is of a correct type given type specification according to the TypedField template arguments. More... | |
void | checkTemplateArguments () |
Function for checking that a field given TypedField type specification is valid. More... | |
![]() | |
PeriodType | period_type |
The tye of the period. | |
H3DFloat | period |
The period of automatic updates/. | |
TimeStamp | last_up_to_date |
The time of the last call to upToDate. | |
unsigned int | counter |
The number of calls to timeToUpdate() since the last update. | |
The SelectDevice field changes the haptics device to use depending on the values of set_selectedDevice and preferredDeviceType fields.
routes_in[0] is the set_selectedDevice field routes_in[1] is the preferredDeviceType field.