72 T
getValue(
const double param)
const;
93 static double comp(
const T& val,
const int i);
std::vector< CV > _cvData
void preparePoints()
Prepares points for evaluation (sorts and computes boundaries, clamps extrema)
static bool interpTypeValid(InterpType interp)
Returns whether the given interpolation type is supported.
static bool cvLessThan(const CV &cv1, const CV &cv2)
CV Parameter ordering (cv1._pos < cv2._pos)
Interpolation curve class for double->double and double->Vec3D.
T getValue(const double param) const
Evaluates curve and returns full value.
CV getLowerBoundCV(const double param) const
CV(double pos, const T &val, InterpType type)
static double comp(const T &val, const int i)
Returns a component of the given value.
void addPoint(double position, const T &val, InterpType type)
Adds a point to the curve.
InterpType
Supported interpolation types.
double getChannelValue(const double param, int channel) const
void clampCurveSegment(const T &delta, T &d1, T &d2)
Performs hermite derivative clamping in canonical space.