| 
    H3D API
    2.4.1
    
   | 
 
The SFValue field updates the interpolated value from the fields routed to it. More...
#include <H3D/CoordinateInterpolator.h>

Public Member Functions | |
| virtual void | update () | 
| Make the field up to date given that an event has occured.  | |
  Public Member Functions inherited from H3D::MField< Vec3f > | |
| MField () | |
| Default constructor. Creates an empty MField.  | |
| MField (typename BaseMField::size_type sz) | |
| Creates an MField with space reserved for size nodes.  | |
| virtual const std::vector< Vec3f > & | getValue (int id=0) | 
| Get the value of the MField.  | |
| virtual std::vector< Vec3f >::const_reference | getValueByIndex (typename BaseMField::size_type i, int id=0) | 
| Get the value of an element of the MField.  More... | |
| virtual void | setValue (const std::vector< Vec3f > &v, int id=0) | 
| Set the value of the field.  More... | |
| virtual void | setValue (typename BaseMField::size_type i, const Vec3f &v, int id=0) | 
| Change the value of one element in the MField.  More... | |
| virtual void | setValueFromString (const string &s) | 
| Set the value of the field given a string.  More... | |
| virtual void | addElementFromString (const string &s) | 
| Add a new element to an MField from a string value.  | |
| virtual string | getValueAsString (const string &separator=" ") | 
| Get the value of the field as a string.  More... | |
| MField< Vec3f >::const_iterator | insert (typename MField< Vec3f >::const_iterator pos, const Vec3f &x, int id=0) | 
| Inserts x before pos.  | |
| void | insert (typename MField< Vec3f >::const_iterator pos, InputIterator first, InputIterator last, int id=0) | 
| Inserts the range [first, last) before pos.  | |
| void | insert (typename MField< Vec3f >::const_iterator pos, typename BaseMField::size_type n, const Vec3f &x, int id=0) | 
| Inserts n copies of x before pos.  | |
| virtual void | erase (typename MField< Vec3f >::const_iterator pos, int id=0) | 
| Erases the element at position pos.  | |
| virtual void | erase (typename MField< Vec3f >::const_iterator first, typename MField< Vec3f >::const_iterator last, int id=0) | 
| Erases the range [first, last)  | |
| virtual void | erase (const Vec3f &a, int=0) | 
| Erase the first element equal to a.  | |
| virtual string | getTypeName () | 
| Returns a string name for this field type e.g. MFInt32.  | |
| virtual size_t | getSize () | 
| Set the value of the field given a string.  More... | |
| virtual string | getElementAsString (size_t element) | 
| Get the value of an element of the field as a string.  | |
  Public Member Functions inherited from H3D::MFieldBase< Vec3f, std::vector< Vec3f >, ParsableMField > | |
| const_iterator | begin (int id=0) | 
| Returns a const_iterator pointing to the beginning of the vector.  | |
| const_iterator | end (int id=0) | 
| Returns a const_iterator pointing to the end of the vector.  | |
| const_reverse_iterator | rbegin (int id=0) | 
| Returns a const_reverse_iterator pointing to the beginning of the reversed vector.  More... | |
| const_reverse_iterator | rend (int id=0) | 
| Returns a const_reverse_iterator pointing to the end of the reversed vector.  More... | |
| unsigned int | size () | 
| Returns the size of the vector.  | |
| size_type | max_size () | 
| Returns the largest possible size of the vector.  | |
| size_type | capacity () | 
| Number of elements for which memory has been allocated.  More... | |
| void | reserve (size_type s) | 
| A request for allocation of additional memory.  More... | |
| void | resize (size_type n, Vec3f t=Vec3f(), int id=0) | 
| Inserts or erases elements at the end such that the size becomes n.  | |
| bool | empty () | 
| true if the vector's size is 0.  | |
| const_reference | operator[] (size_type n) | 
| Returns the n'th element.  | |
| const_reference | front (int id=0) | 
| Returns the first element.  | |
| const_reference | back (int id=0) | 
| Returns the last element.  | |
| void | swap (std::vector< Vec3f > &x, int id=0) | 
| Swaps the contents of two vectors.  | |
| void | push_back (const Vec3f &x, int id=0) | 
| Inserts a new element at the end.  | |
| void | pop_back (int id=0) | 
| Removed the last element.  | |
| void | clear (int id=0) | 
| Erases all of the elements.  | |
| virtual int | setValueFromVoidPtr (const void *data, unsigned int nr_elements, 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 &nr_elements, 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 mfield encapsulates.  | |
| MFieldBase () | |
| Default constructor. Creates an empty MField.  | |
| MFieldBase (size_type sz) | |
| Creates a MField with space reserved for n elements.  | |
  Public Member Functions inherited from H3D::MFieldClass | |
| virtual | ~MFieldClass () | 
| Virtual destructor.  | |
| virtual int | setValueFromVoidPtr (void *data, unsigned int nr_elements, unsigned int size, int id=0) | 
Additional Inherited Members | |
  Public Types inherited from H3D::MField< Vec3f > | |
| typedef std::vector< Vec3f >::iterator | iterator | 
| iterator used to iterate through a vector.  | |
  Public Types inherited from H3D::MFieldBase< Vec3f, std::vector< Vec3f >, ParsableMField > | |
| typedef std::vector< Vec3f > | vector_type | 
| The type of the value member.  | |
| typedef std::vector< Vec3f > | vector_return_type | 
| The return type of functions that return the value of the field.  | |
| typedef VectorClass::value_type | value_type | 
| The type of the values stored in the vector.  | |
| typedef VectorClass::pointer | pointer | 
| Pointer to Type.  | |
| typedef VectorClass::const_reference | const_reference | 
| Const reference to Type.  | |
| typedef VectorClass::size_type | size_type | 
| An unsigned integral type.  | |
| typedef VectorClass::difference_type | difference_type | 
| A signed integral type.  | |
| typedef VectorClass::const_iterator | const_iterator | 
| Const iterator used to iterate through a vector.  | |
| typedef VectorClass::const_reverse_iterator | const_reverse_iterator | 
| Const iterator used to iterate backwards through a vector.  | |
  Static Public Member Functions inherited from H3D::MFieldBase< Vec3f, std::vector< Vec3f >, ParsableMField > | |
| static string | classTypeName () | 
| Returns a string name for this field type e.g. MFInt32.  | |
  Protected Member Functions inherited from H3D::TypedField< MFVec3f, Types< SFFloat, MFFloat, 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::MField< Vec3f > | |
| iterator | iteratorFromConst (typename MField< Vec3f >::const_iterator pos) | 
| Helper function to get an iterator from a const_iterator.  | |
  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::MFieldBase< Vec3f, std::vector< Vec3f >, ParsableMField > | |
| std::vector< Vec3f > | value | 
| The encapsulated vector.  | |
The SFValue field updates the interpolated value from the fields routed to it.
routes_in[0] is the fraction_changed field routes_in[1] is the key field routes_in[2[ is the keyValue field