H3DNetworkingUtils::FilteredSFVec3f Class Reference

The FilteredSFVec3f class is an SFVec3f that modifies its value to one that is a filtered average of past values. More...

#include <H3DNetworkingUtils/FilteredSFVec3f.h>

List of all members.

Public Member Functions

 FilteredSFVec3f ()
 Constructor.
virtual void update ()
 update: performs the filtering using the usual field updating mechanism.


Detailed Description

The FilteredSFVec3f class is an SFVec3f that modifies its value to one that is a filtered average of past values.

This is based on its recent past history of change. i.e. it is based on its values in the past, filtered through a sin(t)/t filter. The first input is the current value being passed to the field. The second input is the number of past values to include in the averaging - this is not expected to vary. If you do change it, there will be a discontinuity in the output as the new sample size is filled. The output is the filtered value. The field stores past values for averaging. If there are not enough past values, the number available are used.


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

Generated on Fri Mar 12 10:23:07 2010 for H3DNetworkingUtils by  doxygen 1.5.6