Low-Level C++ SDK
v1.2.0
|
A haptic object class, representing one or multiple thimbles and hand with which the user interacts. More...
#include <WeArtHapticObject.h>
Public Member Functions | |
WeArtHapticObject (WeArtClient *client) | |
void | AddEffect (WeArtEffect *effect) |
void | RemoveEffect (WeArtEffect *effect) |
bool | ContainsEffect (WeArtEffect *effect) |
void | UpdateEffects (void) |
void | SendMessage (WeArtMessage *msg) |
Public Attributes | |
int32 | handSideFlag |
int32 | actuationPointFlag |
WeArtTemperature | weArtTemperature |
WeArtForce | weArtForce |
WeArtTexture | weArtTexture |
std::vector< WeArtEffect * > | activeEffects |
A haptic object class, representing one or multiple thimbles and hand with which the user interacts.
The interaction is represented by the use of effects (WeArtEffect).
The communication with the lower layers is triggered by adding and removing effects (see WeArtHapticObject::AddEffect() and WeArtHapticObject::RemoveEffect()), which subsequently triggers an WeArtHapticObject::UpdateEffects() event.
Such event then sends foward messages representing the processed events.
WeArtHapticObject::WeArtHapticObject | ( | WeArtClient * | client | ) |
WEART - HapticObject component https://www.weart.it/
void WeArtHapticObject::AddEffect | ( | WeArtEffect * | effect | ) |
bool WeArtHapticObject::ContainsEffect | ( | WeArtEffect * | effect | ) |
void WeArtHapticObject::RemoveEffect | ( | WeArtEffect * | effect | ) |
void WeArtHapticObject::SendMessage | ( | WeArtMessage * | msg | ) |
void WeArtHapticObject::UpdateEffects | ( | void | ) |
std::vector<WeArtEffect*> WeArtHapticObject::activeEffects |
int32 WeArtHapticObject::actuationPointFlag |
int32 WeArtHapticObject::handSideFlag |
WeArtForce WeArtHapticObject::weArtForce |
WeArtTemperature WeArtHapticObject::weArtTemperature |
WeArtTexture WeArtHapticObject::weArtTexture |