#include <GB_AttributeData.h>
Public Member Functions | |
| GB_AttributeData () | |
| ~GB_AttributeData () | |
| void * | getData (int n) const |
| void * | getData () const |
| template<typename T > | |
| T * | castAttribData (int n) |
| template<typename T > | |
| const T * | castAttribData (int n) const |
| void | changeSize (int s) |
| void | deleteData () |
| void * | operator[] (unsigned n) |
| void * | operator[] (unsigned n) const |
| void | sumData (const GB_AttributeData &from, const GB_Attribute *table, fpreal scale) |
| void | sumData (const GB_AttributeData &from, const GB_Attribute *table) |
| void | scaleData (const GB_Attribute *table, fpreal s) |
| void | setData (const GB_AttributeData &from, int s) |
| void | setData (void *data) |
| void | swapData (GB_AttributeData &d) |
| bool | compareData (const GB_AttributeData &cmp, const GB_Attribute *table, fpreal tol=FP32_TOLERANCE) const |
| void | setf (fpreal val, const GB_FloatOffsets &foffsets) |
| void | addf (fpreal val, const GB_FloatOffsets &foffsets) |
| void | subf (fpreal val, const GB_FloatOffsets &foffsets) |
| void | mulf (fpreal val, const GB_FloatOffsets &foffsets) |
| void | divf (fpreal val, const GB_FloatOffsets &foffsets) |
| void | mulv (fpreal val, const GB_FloatOffsets &foffsets) |
| void | mulv (const UT_Matrix3 &val, const GB_FloatOffsets &foffsets, int keepLength=1) |
| void | addData (const GB_AttributeData &from, const GB_FloatOffsets &foffsets) |
| void | addScaleData (const GB_AttributeData &from, const GB_FloatOffsets &foffsets, fpreal scale) |
| void | interpolateData (const GB_AttributeData &a, const GB_AttributeData &b, const GB_FloatOffsets &offsets, fpreal t) |
| int | operator== (const GB_AttributeData &d) const |
| void | steal (GB_AttributeData &v) |
| GB_AttributeData & | operator= (const GB_AttributeData &) |
Definition at line 33 of file GB_AttributeData.h.
| GB_AttributeData::GB_AttributeData | ( | ) |
| GB_AttributeData::~GB_AttributeData | ( | ) |
| void GB_AttributeData::addData | ( | const GB_AttributeData & | from, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void GB_AttributeData::addf | ( | fpreal | val, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void GB_AttributeData::addScaleData | ( | const GB_AttributeData & | from, | |
| const GB_FloatOffsets & | foffsets, | |||
| fpreal | scale | |||
| ) |
| const T* GB_AttributeData::castAttribData | ( | int | n | ) | const [inline] |
Definition at line 49 of file GB_AttributeData.h.
| T* GB_AttributeData::castAttribData | ( | int | n | ) | [inline] |
Definition at line 46 of file GB_AttributeData.h.
| void GB_AttributeData::changeSize | ( | int | s | ) | [inline] |
Definition at line 53 of file GB_AttributeData.h.
| bool GB_AttributeData::compareData | ( | const GB_AttributeData & | cmp, | |
| const GB_Attribute * | table, | |||
| fpreal | tol = FP32_TOLERANCE | |||
| ) | const |
| void GB_AttributeData::deleteData | ( | ) | [inline] |
Definition at line 54 of file GB_AttributeData.h.
| void GB_AttributeData::divf | ( | fpreal | val, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void* GB_AttributeData::getData | ( | ) | const [inline] |
Definition at line 43 of file GB_AttributeData.h.
| void* GB_AttributeData::getData | ( | int | n | ) | const [inline] |
Definition at line 42 of file GB_AttributeData.h.
| void GB_AttributeData::interpolateData | ( | const GB_AttributeData & | a, | |
| const GB_AttributeData & | b, | |||
| const GB_FloatOffsets & | offsets, | |||
| fpreal | t | |||
| ) |
| void GB_AttributeData::mulf | ( | fpreal | val, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void GB_AttributeData::mulv | ( | const UT_Matrix3 & | val, | |
| const GB_FloatOffsets & | foffsets, | |||
| int | keepLength = 1 | |||
| ) |
| void GB_AttributeData::mulv | ( | fpreal | val, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| GB_AttributeData& GB_AttributeData::operator= | ( | const GB_AttributeData & | ) | [inline] |
Definition at line 137 of file GB_AttributeData.h.
| int GB_AttributeData::operator== | ( | const GB_AttributeData & | d | ) | const [inline] |
Definition at line 126 of file GB_AttributeData.h.
| void* GB_AttributeData::operator[] | ( | unsigned | n | ) | const [inline] |
Definition at line 57 of file GB_AttributeData.h.
| void* GB_AttributeData::operator[] | ( | unsigned | n | ) | [inline] |
Definition at line 56 of file GB_AttributeData.h.
| void GB_AttributeData::scaleData | ( | const GB_Attribute * | table, | |
| fpreal | s | |||
| ) |
| void GB_AttributeData::setData | ( | void * | data | ) | [inline] |
Definition at line 81 of file GB_AttributeData.h.
| void GB_AttributeData::setData | ( | const GB_AttributeData & | from, | |
| int | s | |||
| ) | [inline] |
Definition at line 73 of file GB_AttributeData.h.
| void GB_AttributeData::setf | ( | fpreal | val, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void GB_AttributeData::steal | ( | GB_AttributeData & | v | ) | [inline] |
Definition at line 131 of file GB_AttributeData.h.
| void GB_AttributeData::subf | ( | fpreal | val, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void GB_AttributeData::sumData | ( | const GB_AttributeData & | from, | |
| const GB_Attribute * | table | |||
| ) |
| void GB_AttributeData::sumData | ( | const GB_AttributeData & | from, | |
| const GB_Attribute * | table, | |||
| fpreal | scale | |||
| ) |
| void GB_AttributeData::swapData | ( | GB_AttributeData & | d | ) | [inline] |
Definition at line 83 of file GB_AttributeData.h.
1.5.9