0.44.0
|
#include <iaKeyFrameGraph.h>
Public Member Functions | |
void | setValue (float64 at, const T &value) |
T | getValue (float64 at) const |
uint32 | getValueCount () const |
void | setValueAtIndex (int32 index, float64 at, const T &value) |
void | getValueAtIndex (int32 index, float64 &at, T &value) |
void | removeIndex (int32 index) |
void | clear () |
const std::vector< std::pair< float64, T > > & | getValues () const |
bool | isEmpty () const |
void | setInterpolationMode (iInterpolationMode mode) |
iInterpolationMode | getInterpolationMode () const |
iaKeyFrameGraph ()=default | |
~iaKeyFrameGraph ()=default | |
gradient of values
|
default |
does nothing
|
default |
does nothing
void iaKeyFrameGraph::clear | ( | ) |
clears gradient entries
iInterpolationMode iaKeyFrameGraph::getInterpolationMode | ( | ) | const |
T iaKeyFrameGraph::getValue | ( | float64 | at | ) | const |
at | the given position |
void iaKeyFrameGraph::getValueAtIndex | ( | int32 | index, |
float64 & | at, | ||
T & | value | ||
) |
returns location and value from specified index
index | index to retrieve data from | |
[out] | at | location at index |
[out] | value | value at index |
uint32 iaKeyFrameGraph::getValueCount | ( | ) | const |
const std::vector< std::pair< float64, T > > & iaKeyFrameGraph::getValues | ( | ) | const |
bool iaKeyFrameGraph::isEmpty | ( | ) | const |
void iaKeyFrameGraph::removeIndex | ( | int32 | index | ) |
removes specified index
index | the index to remove |
void iaKeyFrameGraph::setInterpolationMode | ( | iInterpolationMode | mode | ) |
sets interpolation mode
mode | the interpolation mode |
void iaKeyFrameGraph::setValue | ( | float64 | at, |
const T & | value | ||
) |
sets or if not present inserts a value at given position
at | the given position |
value | the value |
void iaKeyFrameGraph::setValueAtIndex | ( | int32 | index, |
float64 | at, | ||
const T & | value | ||
) |
sets value at specified index
index | index to modify |
at | the at value |
value | the new value |