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

#include <GDT_VertexList.h>

+ Inheritance diagram for GDT_VertexList:

Public Member Functions

 GDT_VertexList ()
 
 ~GDT_VertexList () override
 
void applyDeltas (GEO_Detail &gdp, bool inverse=false) const override
 
void mergeVertexDeltas (const GDT_VertexList &other, bool inverse=false)
 
void applyScaledDelta (GEO_Detail &gdp, GA_Offset vtxoff, float scale) const
 
void resetElementsFromSource (GEO_Detail &gdp, const GEO_Detail &src_gdp) const
 
void applyIntersectionDeltas (GEO_Detail &gdp, const GDT_VertexList &other) const
 
void endAttributeChange (const GEO_Detail &gdp)
 
void updateVertexOffsets (const GEO_Detail &gdp)
 
const GA_AttributeDictgetAttributeDict (const GEO_Detail &gdp) const override
 
bool saveOffsets (UT_JSONWriter &w) const
 
bool loadOffsets (UT_JSONParser &p)
 
bool legacyLoadAttribs (UT_IStream &is, uint size) override
 
void destroy () override
 
- 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)
 
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 23 of file GDT_VertexList.h.

Constructor & Destructor Documentation

GDT_VertexList::GDT_VertexList ( )
GDT_VertexList::~GDT_VertexList ( )
inlineoverride

Definition at line 27 of file GDT_VertexList.h.

Member Function Documentation

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

Implements GDT_TokenList.

void GDT_VertexList::applyIntersectionDeltas ( GEO_Detail gdp,
const GDT_VertexList other 
) const
void GDT_VertexList::applyScaledDelta ( GEO_Detail gdp,
GA_Offset  vtxoff,
float  scale 
) const
void GDT_VertexList::destroy ( )
overridevirtual

Reimplemented from GDT_TokenList.

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

Implements GDT_TokenList.

Definition at line 58 of file GDT_VertexList.h.

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

Reimplemented from GDT_TokenList.

bool GDT_VertexList::loadOffsets ( UT_JSONParser p)
void GDT_VertexList::mergeVertexDeltas ( const GDT_VertexList other,
bool  inverse = false 
)
void GDT_VertexList::resetElementsFromSource ( GEO_Detail gdp,
const GEO_Detail src_gdp 
) const
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: