#include <GB_AttributeData.h>
Classes | |
| struct | CopyImpl |
| struct | CopyImpl< T, T > |
Public Member Functions | |
| GB_AttributeData () | |
| ~GB_AttributeData () | |
| void SYS_DEPRECATED * | getData (int n) const |
| void SYS_DEPRECATED * | getData () const |
| template<typename T > | |
| T * | castAttribData (const GB_AttributeRef &n) |
| template<typename T > | |
| const T * | castAttribData (const GB_AttributeRef &n) const |
| void | changeSize (int s) |
| void | deleteData () |
| void SYS_DEPRECATED * | operator[] (unsigned n) |
| void SYS_DEPRECATED * | 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 | 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 (const UT_Matrix3 &val, const GB_VectorOffsets &foffsets, int keepLength=1) |
| void | setData (const GB_AttributeData &from, const GB_FloatOffsets &foffsets) |
| 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) |
| bool | hasData () const |
| GB_AttributeData & | operator= (const GB_AttributeData &) |
Get/Set Accessors For Individual Attributes | |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
| |
| template<typename T > | |
| const T * | getPointer (const GB_AttributeRef &h, T *buffer, int cnt) const |
| template<typename T > | |
| const T * | getPointer (const GB_AttributeRef &h, GB_AttributeBuffer &buffer, int cnt) const |
| template<typename T > | |
| T | getValue (const GB_AttributeRef &handle, int index=0) const |
| template<typename T > | |
| void | get (const GB_AttributeRef &handle, T &val, int index=0) const |
| template<typename T > | |
| void | set (const GB_AttributeRef &handle, const T &val, int index=0) |
| template<typename T > | |
| void | get (const GB_AttributeRef &handle, T *val, int count) const |
| template<typename T > | |
| void | set (const GB_AttributeRef &handle, const T *val, int count) |
Definition at line 37 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 | ( | const GB_AttributeRef & | n | ) | const [inline] |
Definition at line 53 of file GB_AttributeData.h.
| T* GB_AttributeData::castAttribData | ( | const GB_AttributeRef & | n | ) | [inline] |
Definition at line 50 of file GB_AttributeData.h.
| void GB_AttributeData::changeSize | ( | int | s | ) | [inline] |
Definition at line 57 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 58 of file GB_AttributeData.h.
| void GB_AttributeData::divf | ( | fpreal | val, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void GB_AttributeData::get | ( | const GB_AttributeRef & | handle, | |
| T * | val, | |||
| int | count | |||
| ) | const [inline] |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
Definition at line 330 of file GB_AttributeData.h.
| void GB_AttributeData::get | ( | const GB_AttributeRef & | handle, | |
| T & | val, | |||
| int | index = 0 | |||
| ) | const [inline] |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
Definition at line 324 of file GB_AttributeData.h.
| void SYS_DEPRECATED* GB_AttributeData::getData | ( | ) | const [inline] |
Definition at line 47 of file GB_AttributeData.h.
| void SYS_DEPRECATED* GB_AttributeData::getData | ( | int | n | ) | const [inline] |
Definition at line 46 of file GB_AttributeData.h.
| const T* GB_AttributeData::getPointer | ( | const GB_AttributeRef & | h, | |
| GB_AttributeBuffer & | buffer, | |||
| int | cnt | |||
| ) | const [inline] |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
Definition at line 315 of file GB_AttributeData.h.
| const T* GB_AttributeData::getPointer | ( | const GB_AttributeRef & | h, | |
| T * | buffer, | |||
| int | cnt | |||
| ) | const [inline] |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
Definition at line 311 of file GB_AttributeData.h.
| T GB_AttributeData::getValue | ( | const GB_AttributeRef & | handle, | |
| int | index = 0 | |||
| ) | const [inline] |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
Definition at line 320 of file GB_AttributeData.h.
| bool GB_AttributeData::hasData | ( | ) | const [inline] |
Definition at line 140 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_VectorOffsets & | foffsets, | |||
| int | keepLength = 1 | |||
| ) |
| GB_AttributeData& GB_AttributeData::operator= | ( | const GB_AttributeData & | ) | [inline] |
Definition at line 142 of file GB_AttributeData.h.
| int GB_AttributeData::operator== | ( | const GB_AttributeData & | d | ) | const [inline] |
Definition at line 129 of file GB_AttributeData.h.
| void SYS_DEPRECATED* GB_AttributeData::operator[] | ( | unsigned | n | ) | const [inline] |
Definition at line 61 of file GB_AttributeData.h.
| void SYS_DEPRECATED* GB_AttributeData::operator[] | ( | unsigned | n | ) | [inline] |
Definition at line 60 of file GB_AttributeData.h.
| void GB_AttributeData::scaleData | ( | const GB_Attribute * | table, | |
| fpreal | s | |||
| ) |
| void GB_AttributeData::set | ( | const GB_AttributeRef & | handle, | |
| const T * | val, | |||
| int | count | |||
| ) | [inline] |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
Definition at line 333 of file GB_AttributeData.h.
| void GB_AttributeData::set | ( | const GB_AttributeRef & | handle, | |
| const T & | val, | |||
| int | index = 0 | |||
| ) | [inline] |
These template methods can only be instantiated with the following types: fpreal32, fpreal64, int32, int64, UT_Vector[34], UT_Matrix[34]
Definition at line 327 of file GB_AttributeData.h.
| void GB_AttributeData::setData | ( | const GB_AttributeData & | from, | |
| const GB_FloatOffsets & | foffsets | |||
| ) |
| void GB_AttributeData::setData | ( | const GB_AttributeData & | from, | |
| int | s | |||
| ) | [inline] |
Definition at line 81 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 134 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 86 of file GB_AttributeData.h.
1.5.9