![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cValueCurve.h>
Public Types | |
typedef cValueCurveT< TYPE > | THIS_t |
typedef TYPE | VALUE_t |
value/dimension type. like DVALUE_t More... | |
Public Member Functions | |
cValueCurveT () noexcept | |
cValueCurveT (const THIS_t &src) | |
THIS_t & | operator= (const THIS_t &src) |
bool | isEmpty () const noexcept |
void | Init () |
ITERATE_t | get_EnumQty () const |
VALUE_t | EnumValue (ITERATE_t i) const |
VALUE_t | EnumValueCheck (ITERATE_t i) const |
VALUE_t | GetLinearN (ITERATE_t iSelect, ITERATE_t iSelectRange) const |
VALUE_t | GetLinear1 (float fOne) const |
void | SetValues (ITERATE_t iQty, const VALUE_t *pnVals) |
void | SetValuesRange (VALUE_t nLo, VALUE_t nHi) |
Static Public Member Functions | |
static VALUE_t GRAYCALL | GetLinearA (const VALUE_t *pnArray, ITERATE_t iQty, ITERATE_t iSelect, ITERATE_t iSelectRange) |
Protected Attributes | |
cArrayVal< VALUE_t > | m_aValues |
array of values for defining the curve. values spaced evenly. More... | |
Describe an arbitrary curve/spline for a range with an array of values. (not a true spline of course) Sample values spaced evenly. For a curve of uneven/arbitrary spaced values use ... ??
typedef cValueCurveT<TYPE> GrayLib::cValueCurveT< TYPE >::THIS_t |
typedef TYPE GrayLib::cValueCurveT< TYPE >::VALUE_t |
value/dimension type. like DVALUE_t
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get Linear interpolation value from table. ASSUME fOne is a value in the range 0 to 1.0f
|
inlinestatic |
Get Linear interpolation value from table.
|
inline |
Get Linear interpolation value from table. Percent = iSelect / iSelectRange
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
Set this to some array of values.
|
inline |
Set this to just a simple lo,hi range.
|
protected |
array of values for defining the curve. values spaced evenly.