H3D API  2.4.1
Public Member Functions | List of all members
H3D::SplinePositionInterpolator::SFValue Struct Reference

The SFValue field updates the interpolated value from the fields routed to it. More...

#include <H3D/SplinePositionInterpolator.h>

Inheritance diagram for H3D::SplinePositionInterpolator::SFValue:
Inheritance graph

Public Member Functions

virtual void update ()
 Make the field up to date given that an event has occured.
 
- Public Member Functions inherited from H3D::SField< Vec3f >
 SField ()
 Constructor.
 
 SField (const Vec3f &_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 Vec3f &v, int id=0)
 Set the value of the field.
 
virtual const Vec3f & 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 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)
 

Additional Inherited Members

- Public Types inherited from H3D::SField< Vec3f >
typedef Vec3f value_type
 The type of the value member.
 
- Static Public Member Functions inherited from H3D::SField< Vec3f >
static string classTypeName ()
 Returns a string name for this field type e.g. SFInt32.
 
- Protected Member Functions inherited from H3D::TypedField< SFVec3f, Types< SFFloat, MFFloat, MFVec3f, MFVec3f > >
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::SField< Vec3f >
Vec3f value
 The encapsulated value.
 

Detailed Description

The SFValue field updates the interpolated value from the fields routed to it.


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