HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GDT_TokenList Class Referenceabstract

#include <GDT_TokenList.h>

+ Inheritance diagram for GDT_TokenList:

Public Member Functions

 GDT_TokenList ()
 
 GDT_TokenList (const GDT_TokenList &other)
 
virtual ~GDT_TokenList ()=0
 
virtual int64 getMemoryUsage (bool inclusive=false) const
 
virtual void applyDeltas (GEO_Detail &gdp, bool inverse=0) const =0
 
virtual void zeroDeltas ()
 
virtual void clearDeltas ()
 
virtual void destroy ()
 
void setAttribDict (const GA_AttributeDict &dict, const GA_AttributeFilter &filter)
 
void refreshAttribDict (const GA_AttributeDict &dict, const GA_AttributeFilter &filter)
 
void beginAttributeChange (GA_Offset element)
 
void beginAttributeChange (const GA_Range &elements)
 
void endAttributeChange (const GA_AIFEditDeltaMap &map)
 
virtual const GA_AttributeDictgetAttributeDict (const GEO_Detail &gdp) const =0
 
virtual bool hasChange () const
 
virtual bool legacyLoadAttribs (UT_IStream &is, uint size)
 
bool saveAttribs (UT_JSONWriter &w, const GDT_JSON &json) const
 
bool loadAttribs (UT_JSONParser &p, const GDT_JSON &json)
 
void renameAttribute (const UT_String &oldname, const UT_String &newname)
 

Protected Member Functions

void applyAttributeDeltas (GEO_Detail &gdp, const GA_AIFEditDeltaMap &map, bool inverse=false) const
 
void applyScaledAttributeDeltas (GEO_Detail &gdp, fpreal64 scale, const GA_AIFEditDeltaMap &, const UT_Int64Array *subset, bool inverse=false) const
 
void mergeAttributeDeltas (const GDT_TokenList &other, bool inverse=false)
 
void resetAttributeElementsFromSource (GEO_Detail &gdp, const GA_AIFEditDeltaMap &map, const GEO_Detail &src_gdp, const GA_AIFEditDeltaMap &src_map) const
 
void applyIntersectionAttributeDeltas (GEO_Detail &gdp, const GA_AIFEditDeltaMap &map, const GDT_TokenList &other) const
 
int getBoundAttributeIndex (const UT_String &name) const
 
const GA_AttributegetBoundAttribute (int i) const
 
unsigned int appendAttribute (const UT_String &name, const UT_String &type, const UT_Options &creation_options, const GA_Defaults &defaults)
 
unsigned int appendAttribute (const GA_Attribute &attrib)
 
GDT_Attribute * attribs (unsigned int i)
 
const GDT_Attribute * attribs (unsigned int i) const
 
int numAttribs () const
 

Detailed Description

Definition at line 37 of file GDT_TokenList.h.

Constructor & Destructor Documentation

GDT_TokenList::GDT_TokenList ( )
GDT_TokenList::GDT_TokenList ( const GDT_TokenList other)
virtual GDT_TokenList::~GDT_TokenList ( )
pure virtual

Member Function Documentation

unsigned int GDT_TokenList::appendAttribute ( const UT_String name,
const UT_String type,
const UT_Options creation_options,
const GA_Defaults defaults 
)
protected
unsigned int GDT_TokenList::appendAttribute ( const GA_Attribute attrib)
protected
void GDT_TokenList::applyAttributeDeltas ( GEO_Detail gdp,
const GA_AIFEditDeltaMap map,
bool  inverse = false 
) const
protected
virtual void GDT_TokenList::applyDeltas ( GEO_Detail gdp,
bool  inverse = 0 
) const
pure virtual
void GDT_TokenList::applyIntersectionAttributeDeltas ( GEO_Detail gdp,
const GA_AIFEditDeltaMap map,
const GDT_TokenList other 
) const
protected
void GDT_TokenList::applyScaledAttributeDeltas ( GEO_Detail gdp,
fpreal64  scale,
const GA_AIFEditDeltaMap ,
const UT_Int64Array subset,
bool  inverse = false 
) const
protected
GDT_Attribute* GDT_TokenList::attribs ( unsigned int  i)
inlineprotected

Definition at line 151 of file GDT_TokenList.h.

const GDT_Attribute* GDT_TokenList::attribs ( unsigned int  i) const
inlineprotected

Definition at line 152 of file GDT_TokenList.h.

void GDT_TokenList::beginAttributeChange ( GA_Offset  element)
void GDT_TokenList::beginAttributeChange ( const GA_Range elements)
virtual void GDT_TokenList::clearDeltas ( )
virtual

Reimplemented in GDT_PointList, and GDT_PrimitiveList.

virtual void GDT_TokenList::destroy ( )
virtual
void GDT_TokenList::endAttributeChange ( const GA_AIFEditDeltaMap map)
virtual const GA_AttributeDict& GDT_TokenList::getAttributeDict ( const GEO_Detail gdp) const
pure virtual
const GA_Attribute* GDT_TokenList::getBoundAttribute ( int  i) const
protected
int GDT_TokenList::getBoundAttributeIndex ( const UT_String name) const
protected
virtual int64 GDT_TokenList::getMemoryUsage ( bool  inclusive = false) const
virtual
virtual bool GDT_TokenList::hasChange ( ) const
virtual

Reimplemented in GDT_PointList, and GDT_PrimitiveList.

virtual bool GDT_TokenList::legacyLoadAttribs ( UT_IStream is,
uint  size 
)
virtual

Reimplemented in GDT_VertexList.

bool GDT_TokenList::loadAttribs ( UT_JSONParser p,
const GDT_JSON &  json 
)
void GDT_TokenList::mergeAttributeDeltas ( const GDT_TokenList other,
bool  inverse = false 
)
protected
int GDT_TokenList::numAttribs ( ) const
inlineprotected

Definition at line 154 of file GDT_TokenList.h.

void GDT_TokenList::refreshAttribDict ( const GA_AttributeDict dict,
const GA_AttributeFilter filter 
)
void GDT_TokenList::renameAttribute ( const UT_String oldname,
const UT_String newname 
)
void GDT_TokenList::resetAttributeElementsFromSource ( GEO_Detail gdp,
const GA_AIFEditDeltaMap map,
const GEO_Detail src_gdp,
const GA_AIFEditDeltaMap src_map 
) const
protected
bool GDT_TokenList::saveAttribs ( UT_JSONWriter w,
const GDT_JSON &  json 
) const
void GDT_TokenList::setAttribDict ( const GA_AttributeDict dict,
const GA_AttributeFilter filter 
)
virtual void GDT_TokenList::zeroDeltas ( )
virtual

Reimplemented in GDT_PointList, and GDT_PrimitiveList.


The documentation for this class was generated from the following file: