|
| GEO_AttributeHandleList () |
|
virtual | ~GEO_AttributeHandleList () |
|
GEO_AttributeHandleList * | clone () const |
|
void | bindDetail (const GEO_Detail *gdp) |
|
void | bindDetail (GEO_Detail *gdp) |
|
void | bindMutableTemp (const GEO_Detail *gdp) |
|
GA_VertexPool & | getVertexPool () |
|
bool | isBoundDetail (const GEO_Detail *gdp) const |
|
GEO_Detail * | getBoundMutableDetail () |
|
void | invalidate () |
|
int | entries () const |
|
bool | isEmpty () const |
|
bool | hasVectorAttributes (GA_AttributeOwner owner) const |
|
void | clearAllAttributes () |
|
int | appendAttributes (GA_AttributeOwner, const GA_AttributeFilter &filter, GA_AttributeScope scope=GA_SCOPE_INVALID) |
|
int | appendAllAttributes (GA_AttributeOwner owner) |
|
int | appendFloatAttributes (GA_AttributeOwner owner, int includeP=GEO_AHANDLE_LIST_INCLUDE_P) |
|
int | appendAttributesByType (const char *type, GA_AttributeOwner o) |
|
int | appendAttributesByTypeInfo (GA_TypeInfo i, GA_AttributeOwner o) |
|
bool | appendAttributeByName (const char *name, GA_AttributeOwner o) |
|
int | appendAttributesByPattern (const char *pattern, GA_AttributeOwner o, GA_AttributeScope s=GA_SCOPE_INVALID) |
|
bool | appendAttribute (const GA_Attribute *attrib) |
|
bool | appendAttribute (GA_Attribute *attrib) |
|
bool | appendAttribute (const GA_Attribute &attrib) |
|
bool | appendAttribute (GA_Attribute &attrib) |
|
int | removeAttributes (const GA_AttributeFilter &filter) |
|
int | removeMissingAttributes (const GEO_Detail *other) |
|
bool | removeAttributeByName (const char *name) |
|
void | clearSourceMap () |
|
void | appendSourceMap (const GEO_Detail *gdp, GA_AttributeOwner o) |
|
void | appendSourceMap (const GEO_AttributeHandleList &hlist) |
|
void | childSourceMapChanged () |
|
bool | isCommonSourceMapDetail (const GEO_Detail *gdp) const |
|
GEO_AttributeHandleList * | getBoundClosure () |
|
GEO_AttributeHandleList & | operator= (const GEO_AttributeHandleList &h) |
|
GEO_AttributeHandle * | operator[] (int i) |
|
const GEO_AttributeHandle * | operator[] (int i) const |
|
GEO_AttributeHandle * | operator[] (const char *name) |
|
const GEO_AttributeHandle * | operator[] (const char *name) const |
|
int | getFloatCount (bool includePw=true) const |
| Return the total number of floating point attributes in the list. More...
|
|
void | floatsToMatrix (UT_MatrixF &matrix, int row, bool includePw=true) const |
| Move all the floating point data into a matrix column. More...
|
|
void | matrixToFloats (const UT_MatrixF &matrix, int row, bool includePw=true) |
| Extract the floats from the given row of the matrix. More...
|
|
void | setElement (GEO_Primitive *prim, GEO_Vertex *v) |
|
void | setElement (const GEO_Primitive *prim, const GEO_Vertex *v) |
|
void | setElement (GEO_Primitive *prim, const GEO_Vertex &v) |
|
void | setElement (const GEO_Primitive *prim, const GEO_Vertex &v) |
|
void | add (const GEO_Primitive *p, const GEO_Vertex *v) |
|
void | addScale (const GEO_Primitive *p, const GEO_Vertex *v, fpreal s) |
|
void | multiply (const GEO_Primitive *p, const GEO_Vertex *v) |
|
void | lerp (const GEO_Primitive *p, const GEO_Vertex *v, fpreal w) |
|
void | lerp (const GEO_Primitive *p0, const GEO_Vertex *v0, const GEO_Primitive *p1, const GEO_Vertex *v1, fpreal weight) |
|
void | copyDataFrom (const GEO_Primitive *p, const GEO_Vertex *v) |
|
void | add (const GEO_Primitive *p, const GEO_Vertex &v) |
|
void | addScale (const GEO_Primitive *p, const GEO_Vertex &v, fpreal s) |
|
void | addHScale (const GEO_Primitive *p, const GEO_Vertex &v, fpreal s) |
|
void | multiply (const GEO_Primitive *p, const GEO_Vertex &v) |
|
void | lerp (const GEO_Primitive *p, const GEO_Vertex &v, fpreal w) |
|
void | lerp (const GEO_Primitive *p0, const GEO_Vertex &v0, const GEO_Primitive *p1, const GEO_Vertex &v1, fpreal weight) |
|
void | copyDataFrom (const GEO_Primitive *p, const GEO_Vertex &v) |
|
void | setValue (fpreal value) |
|
void | multiply (fpreal scale) |
|
void | setElement (GEO_Vertex *vtx) |
|
void | setElement (const GEO_Vertex *vtx) |
|
void | setElement (GEO_Vertex vtx) |
|
void | setElement (GEO_Primitive *prim) |
|
void | setElement (const GEO_Primitive *prim) |
|
void | setElement (GEO_Detail *gdp) |
|
void | setElement (const GEO_Detail *gdp) |
|
void | setPoint (GA_Offset offset) |
|
void | setVertex (GA_Offset offset) |
|
void | setPrimitive (GA_Offset offset) |
|
void | setGlobal () |
|
void | add (const GEO_Vertex *ppt) |
|
void | addScale (const GEO_Vertex *ppt, fpreal scale) |
|
void | lerp (const GEO_Vertex *ppt, fpreal w) |
|
void | lerp (const GEO_Vertex *p0, const GEO_Vertex *p1, fpreal w) |
|
void | multiply (const GEO_Vertex *ppt) |
|
void | copyDataFrom (const GEO_Vertex *ppt) |
|
void | addDest (const GEO_Vertex *ppt) |
|
void | addScaleDest (const GEO_Vertex *ppt, fpreal scale) |
|
void | multiplyDest (const GEO_Vertex *ppt) |
|
void | copyDestData (const GEO_Vertex *ppt) |
|
void | add (const GEO_Vertex &ppt) |
|
void | addScale (const GEO_Vertex &ppt, fpreal scale) |
|
void | lerp (const GEO_Vertex &ppt, fpreal w) |
|
void | lerp (const GEO_Vertex &p0, const GEO_Vertex &p1, fpreal w) |
|
void | multiply (const GEO_Vertex &ppt) |
|
void | copyDataFrom (const GEO_Vertex &ppt) |
|
void | addDest (const GEO_Vertex &ppt) |
|
void | addScaleDest (const GEO_Vertex &ppt, fpreal scale) |
|
void | multiplyDest (const GEO_Vertex &ppt) |
|
void | copyDestData (const GEO_Vertex &ppt) |
|
void | add (const GEO_Primitive *ppt) |
|
void | addScale (const GEO_Primitive *ppt, fpreal scale) |
|
void | lerp (const GEO_Primitive *ppt, fpreal w) |
|
void | lerp (const GEO_Primitive *p0, const GEO_Primitive *p1, fpreal w) |
|
void | multiply (const GEO_Primitive *ppt) |
|
void | copyDataFrom (const GEO_Primitive *ppt) |
|
void | addDest (const GEO_Primitive *ppt) |
|
void | addScaleDest (const GEO_Primitive *ppt, fpreal scale) |
|
void | multiplyDest (const GEO_Primitive *ppt) |
|
void | copyDestData (const GEO_Primitive *ppt) |
|
void | add (const GEO_Detail *ppt) |
|
void | addScale (const GEO_Detail *ppt, fpreal scale) |
|
void | lerp (const GEO_Detail *ppt, fpreal w) |
|
void | multiply (const GEO_Detail *ppt) |
|
void | copyDataFrom (const GEO_Detail *ppt) |
|
void | addDest (const GEO_Detail *ppt) |
|
void | addScaleDest (const GEO_Detail *ppt, fpreal scale) |
|
void | multiplyDest (const GEO_Detail *ppt) |
|
void | dump (const char *msg="") const |
|
int | appendPointP () |
|
void | fillAttributeRefMap (GA_AttributeRefMap &map) const |
|
void | fillAttributeRefMap (GA_AttributeRefMap &map, GA_AttributeOwner source_owner) const |
|
|
GA_Offset | getTempVertex (GA_VertexPoolIndex index) const |
|
GA_Offset | getTempPoint (GA_VertexPoolIndex index) const |
|
|
GA_VertexPoolIndex | appendTempVertex (GA_Offset pt=GA_INVALID_OFFSET) |
|
GA_VertexPoolIndex | appendTempPoint () |
|
|
void | freeTempVertex (GA_VertexPoolIndex v) |
|
void | freeTempPoint (GA_VertexPoolIndex p) |
|
Definition at line 38 of file GEO_AttributeHandleList.h.
Binding a mutable copy of a const detail creates an empty writable detail, that is automatically populated with copies of attributes from the original detail as this handle list is populated.
In addition, the source mapping will be automatically built from the original detail. Consequently users of this handle list must be careful to distinguish between destination and source elements for an operation, exactly as if the handle list was explicitly bound to a mutable detail with the source mapping explicitly built from another detail. In fact, this method is simply a conveniently wrapped shorthand for that very sequence of actions.
- Note
- Binding to a populated list will clear the list if the binding differs from the previous binding, even if only in const-ness.
Returns a pointer to an equivalent handle list for performing all operations using the bound mutable detail as both the destination and source.
More specifically, the returned handle list is bound to the same mutable detail as this list, populated with the same attributes, with a default source map from that same mutable detail. A NULL will be returned from an unbound list.
- Note
- The returned handle list, if any, is owned by this list, and the pointer should not be used across any changes to the original handle list (attribute addition/removal, binding/unbinding, etc) without obtaining it from this method again.
- Warning
- First call is not thread-safe.