V-ART
linearinterpolator.h
Go to the documentation of this file.
1 
5 #ifndef VART_LINEARINTERPOLATOR_H
6 #define VART_LINEARINTERPOLATOR_H
7 
8 #include "vart/interpolator.h"
9 
10 namespace VART {
16  public:
18  //~ virtual float GetValue(float n) const;
19  virtual float GetValue(float linearIndex, float initialPos, float range) const;
20  virtual TypeID GetID() const { return LINEAR; }
21  }; // end class declaration
22 } // end namespace
23 #endif
Linear interpolation.
virtual TypeID GetID() const
virtual float GetValue(float linearIndex, float initialPos, float range) const
Evaluates a goal position for DOF interpolation.
Interpolator representation.
Definition: interpolator.h:17
Header file for V-ART class "Interpolator".