HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GDT_VertexList Class Reference

#include <GDT_VertexList.h>

+ Inheritance diagram for GDT_VertexList:

Public Member Functions

 GDT_VertexList ()
 
virtual ~GDT_VertexList ()
 
virtual void applyDeltas (GEO_Detail &gdp, bool inverse=false) const
 
void mergeVertexDeltas (const GDT_VertexList &other, bool inverse=false)
 
void applyScaledDelta (GEO_Detail &gdp, GA_Offset vtxoff, float scale) const
 
void endAttributeChange (const GEO_Detail &gdp)
 
void updateVertexOffsets (const GEO_Detail &gdp)
 
virtual const GA_AttributeDictgetAttributeDict (const GEO_Detail &gdp) const
 
bool saveOffsets (UT_JSONWriter &w) const
 
bool loadOffsets (UT_JSONParser &p)
 
virtual bool legacyLoadAttribs (UT_IStream &is, uint size)
 
virtual void destroy ()
 
- Public Member Functions inherited from GDT_TokenList
 GDT_TokenList ()
 
 GDT_TokenList (const GDT_TokenList &other)
 
virtual ~GDT_TokenList ()=0
 
virtual int64 getMemoryUsage (bool inclusive=false) const
 
virtual void zeroDeltas ()
 
virtual void clearDeltas ()
 
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 bool hasChange () const
 
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)
 

Additional Inherited Members

- Protected Member Functions inherited from GDT_TokenList
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)
 
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 23 of file GDT_VertexList.h.

Constructor & Destructor Documentation

GDT_VertexList::GDT_VertexList ( )
virtual GDT_VertexList::~GDT_VertexList ( )
inlinevirtual

Definition at line 27 of file GDT_VertexList.h.

Member Function Documentation

virtual void GDT_VertexList::applyDeltas ( GEO_Detail gdp,
bool  inverse = false 
) const
virtual

Implements GDT_TokenList.

void GDT_VertexList::applyScaledDelta ( GEO_Detail gdp,
GA_Offset  vtxoff,
float  scale 
) const
virtual void GDT_VertexList::destroy ( )
virtual

Reimplemented from GDT_TokenList.

void GDT_VertexList::endAttributeChange ( const GEO_Detail gdp)
virtual const GA_AttributeDict& GDT_VertexList::getAttributeDict ( const GEO_Detail gdp) const
inlinevirtual

Implements GDT_TokenList.

Definition at line 48 of file GDT_VertexList.h.

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

Reimplemented from GDT_TokenList.

bool GDT_VertexList::loadOffsets ( UT_JSONParser p)
void GDT_VertexList::mergeVertexDeltas ( const GDT_VertexList other,
bool  inverse = false 
)
bool GDT_VertexList::saveOffsets ( UT_JSONWriter w) const
void GDT_VertexList::updateVertexOffsets ( const GEO_Detail gdp)

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