#include <H3DNetworkingUtils/FilteredSFVec3f.h>
Public Member Functions | |
FilteredSFVec3f () | |
Constructor. | |
virtual void | update () |
update: performs the filtering using the usual field updating mechanism. |
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.