public abstract class PositionFilterBase extends java.lang.Object implements IPositionFilter
Constructor and Description |
---|
PositionFilterBase()
Default constructor
|
PositionFilterBase(int i)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
filterPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
Execute a filter pass: takes the current position of an object, adds it to
the internal buffer, and interpolates a (hopefully) more reliable
estimate.
|
void |
reset()
Clears the history of the position filter.
|
public PositionFilterBase()
public PositionFilterBase(int i)
i
- Internal buffer size for past position valuespublic org.apache.commons.math3.geometry.euclidean.threed.Vector3D filterPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
filterPosition
in interface IPositionFilter
position
- Current positionpublic void reset()
reset
in interface IPositionFilter