H3D API  2.4.1
Protected Member Functions | List of all members
H3D::OnValueChangeSField< SF > Class Template Referenceabstract

Template for adding the virtual function onValueChange that can be overridden in subclasses in order to perform actions when the value of the field changes in any way, i.e. More...

#include <H3D/FieldTemplates.h>

Inherits SF.

Protected Member Functions

virtual void onValueChange (const typename SF::value_type &new_value)=0
 This function is called when the value in the field has changed.
 

Detailed Description

template<class SF>
class H3D::OnValueChangeSField< SF >

Template for adding the virtual function onValueChange that can be overridden in subclasses in order to perform actions when the value of the field changes in any way, i.e.

it will only be called when the value is updated or set to a value that is different than its previous value.


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