|
HDK
|
Read-only handle for string attribute data. More...
#include <GA_Handle.h>
Inheritance diagram for GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >:Public Member Functions | |
| GA_ROHandleTHolder () | |
| GA_ROHandleTHolder (const GA_Attribute *attrib) | |
| GA_ROHandleTHolder (const GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1) | |
| void | operator= (const GA_Attribute *attrib) |
| void | bind (const GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1) |
| void | bind (const GA_Attribute *attrib, int minsize=1) |
| Bind the handle to the given attribute. More... | |
| const GA_Attribute * | getAttribute () const |
| Access to attribute. More... | |
| int | getTupleSize () const |
| Tuple size of the attribute. More... | |
| void | flushCECaches () |
| void | flushCEWriteCaches () |
| GA_DataId | getDataId () const |
| void | clear () |
| Clear the handle. More... | |
| SYS_FORCE_INLINE const HOLDER & | get (GA_Offset off, int comp=0) const |
| Get the string at the given offset. More... | |
| SYS_FORCE_INLINE INDEXTYPE | getIndex (GA_Offset off, int comp=0) const |
| Get the string index at the given offset. More... | |
| const ATI * | operator-> () const |
| void | getIndexBlock (GA_Offset startoff, GA_Size nelements, INDEXTYPE *dest, int deststride=1, int component=0) const |
| void | getIndexBlockFromIndices (GA_Index startidx, GA_Size nelements, INDEXTYPE *dest, int deststride=1, int component=0) const |
| SYS_FORCE_INLINE bool | isValid () const |
| SYS_FORCE_INLINE bool | isInvalid () const |
Protected Attributes | |
| const ATI * | myAttrib |
Read-only handle for string attribute data.
Definition at line 896 of file GA_Handle.h.
|
inline |
Definition at line 899 of file GA_Handle.h.
|
inline |
Definition at line 903 of file GA_Handle.h.
| GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >::GA_ROHandleTHolder | ( | const GA_Detail * | gdp, |
| GA_AttributeOwner | owner, | ||
| const UT_StringRef & | name, | ||
| int | minsize = 1 |
||
| ) |
| void GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >::bind | ( | const GA_Detail * | gdp, |
| GA_AttributeOwner | owner, | ||
| const UT_StringRef & | name, | ||
| int | minsize = 1 |
||
| ) |
|
inline |
Bind the handle to the given attribute.
Definition at line 916 of file GA_Handle.h.
|
inline |
Clear the handle.
Definition at line 944 of file GA_Handle.h.
|
inline |
Definition at line 930 of file GA_Handle.h.
|
inline |
Definition at line 932 of file GA_Handle.h.
|
inline |
Get the string at the given offset.
Definition at line 953 of file GA_Handle.h.
|
inline |
Access to attribute.
Definition at line 926 of file GA_Handle.h.
|
inline |
Definition at line 935 of file GA_Handle.h.
|
inline |
Get the string index at the given offset.
Definition at line 961 of file GA_Handle.h.
| void GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >::getIndexBlock | ( | GA_Offset | startoff, |
| GA_Size | nelements, | ||
| INDEXTYPE * | dest, | ||
| int | deststride = 1, |
||
| int | component = 0 |
||
| ) | const |
Copies attribute string indices from a contiguous block of offsets into the dest array. NOTE: The block of offsets is assumed to have no holes, else data could be read from offsets that don't have corresponding elements.
| void GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >::getIndexBlockFromIndices | ( | GA_Index | startidx, |
| GA_Size | nelements, | ||
| INDEXTYPE * | dest, | ||
| int | deststride = 1, |
||
| int | component = 0 |
||
| ) | const |
Copies attribute string indices from a contiguous block of indices into the dest array. This allows there to be holes in the geometry. The dest array will be densely filled as per the index mapping.
|
inline |
Tuple size of the attribute.
Definition at line 928 of file GA_Handle.h.
|
inline |
Validity checks
Definition at line 949 of file GA_Handle.h.
|
inline |
Validity checks
Definition at line 948 of file GA_Handle.h.
|
inline |
Definition at line 968 of file GA_Handle.h.
|
inline |
Definition at line 909 of file GA_Handle.h.
|
protected |
Definition at line 988 of file GA_Handle.h.