H3D API  2.4.1
List of all members
H3D::SimpleMovieTexture::FieldUpdater Class Reference

The FieldUpdater field updates all output fields in the SimpleMovieTexture node that needs to be updated each frame. More...

#include <H3D/SimpleMovieTexture.h>

Inheritance diagram for H3D::SimpleMovieTexture::FieldUpdater:
Inheritance graph

Additional Inherited Members

- Public Types inherited from H3D::PeriodicUpdate< SFTime >
enum  PeriodType
 Type defining how the period should be interpreted.
 
- Public Types inherited from H3D::SField< H3DDouble >
typedef H3DDouble value_type
 The type of the value member.
 
- Public Member Functions inherited from H3D::PeriodicUpdate< SFTime >
 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.
 
- Public Member Functions inherited from H3D::SFTime
virtual string getTypeName ()
 Returns a string name for this field type e.g. SFInt32.
 
- Public Member Functions inherited from H3D::SField< H3DDouble >
 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 H3DDoublegetValue (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.
 
- Public Member Functions inherited from H3D::SFieldClass
virtual ~SFieldClass ()
 Virtual destructor.
 
virtual int setValueFromVoidPtr (void *data, unsigned int size, int id=0)
 
- Public Member Functions inherited from H3D::PeriodicUpdateField
virtual ~PeriodicUpdateField ()
 Destructor.
 
- Static Public Member Functions inherited from H3D::SField< H3DDouble >
static string classTypeName ()
 Returns a string name for this field type e.g. SFInt32.
 
- Protected Member Functions inherited from H3D::TypedField< SFDouble, void, AnyNumber< SFTime > >
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...
 
- 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...
 
- Protected Attributes inherited from H3D::PeriodicUpdate< SFTime >
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.
 
- Protected Attributes inherited from H3D::SField< H3DDouble >
H3DDouble value
 The encapsulated value.
 

Detailed Description

The FieldUpdater field updates all output fields in the SimpleMovieTexture node that needs to be updated each frame.


The documentation for this class was generated from the following files: