#include <ArInterpolation.h>
Public Member Functions | |
| bool | addReading (ArTime timeOfReading, ArPose position) |
| Adds a new reading. | |
| ArInterpolation (size_t numberOfReadings=100) | |
| Constructor. | |
| size_t | getNumberOfReadings (void) const |
| Gets the number of readings this instance holds back in time. | |
| int | getPose (ArTime timeStamp, ArPose *position) |
| Finds a position. | |
| void | reset (void) |
| Empties the interpolated positions. | |
| void | setNumberOfReadings (size_t numberOfReadings) |
| Sets the number of readings this instance holds back in time. | |
| virtual | ~ArInterpolation () |
| Destructor. | |
Protected Attributes | |
| ArMutex | myDataMutex |
| std::list< ArPose > | myPoses |
| size_t | mySize |
| std::list< ArTime > | myTimes |
|
||||||||||||
|
Finds a position.
|
1.4.2