18 #ifndef __HUSD_Bucket__
19 #define __HUSD_Bucket__
34 { myKeyword = keyword; }
41 { myOptions = options; }
58 {
return myBucketValue; }
60 {
return myBucketValue; }
75 { myPrimPaths = paths; }
77 { myPrimPaths.append( path ); }
79 {
return myPrimPaths; }
86 { myPrimIndices.append( index ); }
88 {
return myPrimIndices; }
104 { myPrimPath =
path; }
106 {
return myPrimPath; }
113 { myFaceIndices.append( index ); }
115 {
return myFaceIndices; }
GLsizei GLenum const void * indices
void addPrimPath(const UT_StringRef &path)
Set and get primitives in the bucket, using path as prim identifier.
const UT_ExintArray & getPrimIndices() const
Set and get primitives in the bucket, using index as prim identifier.
void setKeyword(const UT_StringRef &keyword)
Sets and gets the keyword (a string).
GLsizei const GLchar *const * path
void setPrimPath(const UT_StringRef &path)
Set and get the primitive path to which the faces belong.
void addPrimIndex(exint index)
Set and get primitives in the bucket, using index as prim identifier.
const UT_StringHolder & getPrimPath() const
Set and get the primitive path to which the faces belong.
const UT_StringArray & getPrimPaths() const
Set and get primitives in the bucket, using path as prim identifier.
HUSD_BucketValue & getBucketValue()
Accessor for the value associated with the bucket.
void setPrimPaths(const UT_StringArray &paths)
Set and get primitives in the bucket, using path as prim identifier.
const HUSD_BucketValue & getBucketValue() const
Accessor for the value associated with the bucket.
void setPrimIndices(const UT_ExintArray &indices)
Set and get primitives in the bucket, using index as prim identifier.
void setOptions(const UT_Options &options)
Sets and gets the options (ie, parameters and their values).
A class for grouping entities that belong to (or yield) the same value.
A map of string to various well defined value types.
const UT_StringHolder & getKeyword() const
Sets and gets the keyword (a string).
const UT_ExintArray & getFaceIndices() const
Set and get the faces in the bucket.
void addFaceIndex(exint index)
Set and get the faces in the bucket.
void setFaceIndices(const UT_ExintArray &indices)
Set and get the faces in the bucket.
const UT_Options & getOptions() const
Sets and gets the options (ie, parameters and their values).