Read-only handle for string attribute data.
More...
#include <GA_Handle.h>
|
| 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...
|
|
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 |
|
template<typename HOLDER, typename INDEXTYPE, typename ATI>
class GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >
Read-only handle for string attribute data.
- Examples:
- mocapstream/MocapStreamRokokoHDK.C, RAY/RAY_DemoSprite.h, and standalone/geo2voxel.C.
Definition at line 858 of file GA_Handle.h.
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
Bind the handle to the given attribute.
Definition at line 878 of file GA_Handle.h.
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
Get the string at the given offset.
Definition at line 910 of file GA_Handle.h.
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
Get the string index at the given offset.
Definition at line 918 of file GA_Handle.h.
template<typename HOLDER, typename INDEXTYPE, typename ATI>
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.
template<typename HOLDER, typename INDEXTYPE, typename ATI>
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.
template<typename HOLDER, typename INDEXTYPE, typename ATI>
Tuple size of the attribute.
Definition at line 890 of file GA_Handle.h.
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
template<typename HOLDER, typename INDEXTYPE, typename ATI>
The documentation for this class was generated from the following file: