11 #ifndef __GA_AIFIndexPair__
12 #define __GA_AIFIndexPair__
36 virtual int64 getMemoryUsage(
bool inclusive)
const = 0;
40 virtual int getObjectCount()
const = 0;
41 virtual void setObjectCount(
int nobj) = 0;
43 virtual int getPropertyCount()
const = 0;
46 virtual int addProperty(
const char *name,
const UT_FloatArray &def) = 0;
47 virtual int addProperty(
const char *name,
const UT_IntArray &def) = 0;
48 virtual int addProperty(
const char *name,
const UT_StringArray &def) = 0;
50 virtual bool getPropertyDefaults(
int propid,
UT_FloatArray &def)
const = 0;
51 virtual bool getPropertyDefaults(
int propid,
UT_IntArray &def)
const = 0;
52 virtual bool getPropertyDefaults(
int propid,
UT_StringArray &def)
const = 0;
54 virtual void getObjectValue(
int objid,
int propid,
fpreal32 &
v,
int component = 0)
const = 0;
55 virtual void getObjectValue(
int objid,
int propid,
int32 &v,
int component = 0)
const = 0;
56 virtual void getObjectValue(
int objid,
int propid,
const char *&v,
int component = 0)
const = 0;
57 virtual void getObjectValue(
int objid,
int propid,
UT_StringRef &v,
int component = 0)
const = 0;
59 virtual void getObjectValues(
int objid,
int propid,
fpreal32 *v,
int tuple_size)
const = 0;
60 virtual void getObjectValues(
int objid,
int propid,
int32 *v,
int tuple_size)
const = 0;
61 virtual void getObjectValues(
int objid,
int propid,
UT_StringRef *v,
int tuple_size)
const = 0;
63 virtual void setObjectValue(
int objid,
int propid,
fpreal32 v,
int component = 0) = 0;
64 virtual void setObjectValue(
int objid,
int propid,
int32 v,
int component = 0) = 0;
65 virtual void setObjectValue(
int objid,
int propid,
const char *v,
int component = 0) = 0;
67 virtual void setObjectValues(
int objid,
int propid,
const fpreal32 *v,
int tuple_size) = 0;
68 virtual void setObjectValues(
int objid,
int propid,
const int32 *v,
int tuple_size) = 0;
69 virtual void setObjectValues(
int objid,
int propid,
const char *
const*v,
int tuple_size) = 0;
80 virtual void clear() = 0;
83 int findProperty(
const char *name,
GA_Storage storage,
int size)
const;
84 int findObjectValue(
int propid,
const char *
value,
int component=0)
const;
129 virtual int getObjectSetCount(
const GA_Attribute *attrib)
const = 0;
130 virtual void setObjectSetCount(
GA_Attribute *attrib,
int n)
const = 0;
145 virtual int getEntries(
const GA_Attribute *attrib)
const = 0;
146 virtual bool setEntries(
GA_Attribute *attrib,
int n)
const = 0;
149 virtual int getDataTupleSize(
const GA_Attribute *attrib)
const = 0;
177 virtual bool removeIndex(
GA_Attribute *attrib,
int index)
const = 0;
181 virtual void resetEntriesToDefaults(
GA_Attribute *attrib,
182 GA_Offset ai,
int start_entry = 0)
const = 0;
Definition of a geometry attribute.
Generic Attribute Interface class to get/set data as index pairs.
getFileOption("OpenEXR:storage") storage
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
GLuint const GLchar * name
GLubyte GLubyte GLubyte GLubyte w