H3D API
2.4.1
|
Specialized field which sets the magnetic variable in HAPI::OpenHapticsRenderer::OpenHapticsSurface when the magnetic field of OpenHapticsSurface is changed. More...
#include <H3D/OpenHapticsSurface.h>
Additional Inherited Members | |
![]() | |
typedef bool | value_type |
The type of the value member. | |
![]() | |
virtual void | propagateEvent (Field::Event e) |
Receive an event from another field. More... | |
![]() | |
virtual string | getValueAsString (const string &=" ") |
Get the value of the field as a string. | |
![]() | |
SField () | |
Constructor. | |
SField (const bool &_value) | |
Constructor. | |
virtual int | setValueFromVoidPtr (const void *data, unsigned int len, int id=0) |
Set the value of the field given a pointer to where the value of the field is. More... | |
virtual int | getValueAsVoidPtr (void *data, unsigned int len, int id=0) |
Get the value of the data copied into a memory buffer. More... | |
virtual unsigned int | valueTypeSize () |
Returns the size in bytes of the value type the sfield encapsulates. | |
virtual void | setValue (const bool &v, int id=0) |
Set the value of the field. | |
virtual const bool & | getValue (int id=0) |
Get the value of the field. | |
virtual void | setValueFromString (const string &s) |
Set the value of the field given a string. More... | |
virtual string | getTypeName () |
Returns a string name for this field type e.g. SFInt32. | |
![]() | |
virtual | ~SFieldClass () |
Virtual destructor. | |
virtual int | setValueFromVoidPtr (void *data, unsigned int size, int id=0) |
![]() | |
static string | classTypeName () |
Returns a string name for this field type e.g. SFInt32. | |
![]() | |
virtual void | onValueChange (const typename SF::value_type &new_value)=0 |
This function is called when the value in the field has changed. | |
virtual void | update () |
![]() | |
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... | |
![]() | |
bool | value |
The encapsulated value. | |
Specialized field which sets the magnetic variable in HAPI::OpenHapticsRenderer::OpenHapticsSurface when the magnetic field of OpenHapticsSurface is changed.
routes_in[0] is the magnetic field