13 #ifndef __GDT_TokenList_h__
14 #define __GDT_TokenList_h__
45 virtual int64 getMemoryUsage(
bool inclusive=
false)
const;
48 virtual void applyDeltas(
GEO_Detail &gdp,
bool inverse=0)
const = 0;
51 virtual void zeroDeltas();
53 virtual void clearDeltas();
55 virtual void destroy();
75 void beginAttributeChange(
GA_Offset element);
80 void beginAttributeChange(
const GA_Range &elements);
92 virtual bool hasChange()
const;
97 const GDT_JSON &json)
const;
99 const GDT_JSON &json);
110 bool inverse =
false)
const;
113 void applyScaledAttributeDeltas(
GEO_Detail &gdp,
117 bool inverse =
false)
const;
121 bool inverse =
false);
125 void resetAttributeElementsFromSource(
GEO_Detail &gdp,
131 void applyIntersectionAttributeDeltas(
GEO_Detail &gdp,
151 GDT_Attribute *
attribs(
unsigned int i) {
return myAttributes(i); }
152 const GDT_Attribute *
attribs(
unsigned int i)
const
153 {
return myAttributes(i); }
Definition of a geometry attribute.
Class which stores the default values for a GA_Attribute.
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
A range of elements in an index-map.
A string map of attributes to ease backward compatibility In the GB/GEO/GU library code would often p...
GA_API const UT_StringHolder scale
void appendAttribute(PointDataTreeT &tree, const Name &name, const NamePair &type, const Index strideOrTotalSize, const bool constantStride, const Metadata *defaultValue, const bool hidden, const bool transient)
Appends a new attribute to the VDB tree (this method does not require a templated AttributeType) ...
GDT_Attribute * attribs(unsigned int i)
GLuint const GLchar * name
A map of string to various well defined value types.
GLubyte GLubyte GLubyte GLubyte w
const GDT_Attribute * attribs(unsigned int i) const
void renameAttribute(PointDataTreeT &tree, const Name &oldName, const Name &newName)
Rename an attribute in a VDB tree.
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Class for mapping between an index and an attribute data offset.