H3D API
2.4.1
|
The StartTime field is a specialization of the SFTime field so that the value cannot be changed when the isActive field of the X3DTimeDependentNode it resides in is true. More...
#include <H3D/X3DTimeDependentNode.h>
Public Member Functions | |
virtual void | setValue (const H3DDouble &time, int _id=0) |
Overrides the setValue function so that the value is only changed if the owner X3DTimeDependentNode is inactive. More... | |
![]() | |
virtual string | getTypeName () |
Returns a string name for this field type e.g. SFInt32. | |
![]() | |
SField () | |
Constructor. | |
SField (const H3DDouble &_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 H3DDouble &v, int id=0) |
Set the value of the field. | |
virtual const H3DDouble & | 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 | getValueAsString (const string &=" ") |
Get the value of the field as a string. | |
![]() | |
virtual | ~SFieldClass () |
Virtual destructor. | |
virtual int | setValueFromVoidPtr (void *data, unsigned int size, int id=0) |
Protected Member Functions | |
virtual void | propagateEvent (Event e) |
Overrides the propagateEvent function so that the event is only propagated if the owner X3DTimeDependentNode is inactive. More... | |
![]() | |
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... | |
![]() | |
virtual void | update () |
Make the field up to date given that an event has occured. | |
![]() | |
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 | |
![]() | |
typedef H3DDouble | value_type |
The type of the value member. | |
![]() | |
static string | classTypeName () |
Returns a string name for this field type e.g. SFInt32. | |
![]() | |
H3DDouble | value |
The encapsulated value. | |
The StartTime field is a specialization of the SFTime field so that the value cannot be changed when the isActive field of the X3DTimeDependentNode it resides in is true.
This is according to the X3D spec.
|
inlineprotectedvirtual |
Overrides the propagateEvent function so that the event is only propagated if the owner X3DTimeDependentNode is inactive.
References H3D::X3DTimeDependentNode::isActive.
|
inlinevirtual |
Overrides the setValue function so that the value is only changed if the owner X3DTimeDependentNode is inactive.
References H3D::X3DTimeDependentNode::isActive, and H3D::SField< H3DDouble >::setValue().