|
H3D API
2.4.1
|
The SetBoolean class is specialize to set the value of either the enterTime or exitTime field in the ProximitySensor node it resides in, depending on the value that is is given. More...
#include <H3D/ProximitySensor.h>

Protected Member Functions | |
| virtual void | update () |
| Make the field up to date given that an event has occured. | |
Protected Member Functions inherited from H3D::TypedField< BaseField, RequiredArgTypes, OptionalArgTypes > | |
| 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... | |
Additional Inherited Members | |
Public Types inherited from H3D::SField< bool > | |
| typedef bool | value_type |
| The type of the value member. | |
Public Member Functions inherited from H3D::AutoUpdate< SFBool > | |
| virtual void | propagateEvent (Field::Event e) |
| Receive an event from another field. More... | |
Public Member Functions inherited from H3D::SFBool | |
| virtual string | getValueAsString (const string &=" ") |
| Get the value of the field as a string. | |
Public Member Functions inherited from H3D::SField< bool > | |
| 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. | |
Public Member Functions inherited from H3D::SFieldClass | |
| virtual | ~SFieldClass () |
| Virtual destructor. | |
| virtual int | setValueFromVoidPtr (void *data, unsigned int size, int id=0) |
Static Public Member Functions inherited from H3D::SField< bool > | |
| static string | classTypeName () |
| Returns a string name for this field type e.g. SFInt32. | |
Protected Attributes inherited from H3D::SField< bool > | |
| bool | value |
| The encapsulated value. | |
The SetBoolean class is specialize to set the value of either the enterTime or exitTime field in the ProximitySensor node it resides in, depending on the value that is is given.