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

#include <GDT_PrimitiveList.h>

+ Inheritance diagram for GDT_PrimitiveList:

Public Member Functions

 GDT_PrimitiveList ()
 
 GDT_PrimitiveList (const GDT_PrimitiveList &other)
 
virtual ~GDT_PrimitiveList ()
 
virtual void applyDeltas (GEO_Detail &gdp, bool inverse=false) const
 
void mergePrimitiveDeltas (const GDT_PrimitiveList &other, bool inverse=false)
 
void endAttributeChange (const GEO_Detail &gdp)
 
void beginPrimitiveTransformChange (const UT_Matrix3 &mat)
 
void endPrimitiveTransformChange (const UT_Matrix3 &mat, unsigned int index)
 
virtual const GA_AttributeDictgetAttributeDict (const GEO_Detail &gdp) const
 
virtual bool hasChange () const
 
virtual bool haveAttributesChanged () const
 
bool hasTransformChanged () const
 
virtual bool legacyLoadTrans (UT_IStream &is, uint numtotal)
 
bool saveTrans (UT_JSONWriter &w, const GDT_JSON &json) const
 
bool loadTrans (UT_JSONParser &p, const GDT_JSON &json)
 
virtual void zeroDeltas ()
 
virtual void clearDeltas ()
 
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
 
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 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)
 

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 24 of file GDT_PrimitiveList.h.

Constructor & Destructor Documentation

GDT_PrimitiveList::GDT_PrimitiveList ( )
inline

Definition at line 27 of file GDT_PrimitiveList.h.

GDT_PrimitiveList::GDT_PrimitiveList ( const GDT_PrimitiveList other)
virtual GDT_PrimitiveList::~GDT_PrimitiveList ( )
virtual

Member Function Documentation

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

Implements GDT_TokenList.

void GDT_PrimitiveList::beginPrimitiveTransformChange ( const UT_Matrix3 mat)
virtual void GDT_PrimitiveList::clearDeltas ( )
virtual

Reimplemented from GDT_TokenList.

virtual void GDT_PrimitiveList::destroy ( )
virtual

Reimplemented from GDT_TokenList.

void GDT_PrimitiveList::endAttributeChange ( const GEO_Detail gdp)
void GDT_PrimitiveList::endPrimitiveTransformChange ( const UT_Matrix3 mat,
unsigned int  index 
)
virtual const GA_AttributeDict& GDT_PrimitiveList::getAttributeDict ( const GEO_Detail gdp) const
inlinevirtual

Implements GDT_TokenList.

Definition at line 47 of file GDT_PrimitiveList.h.

virtual bool GDT_PrimitiveList::hasChange ( ) const
virtual

Reimplemented from GDT_TokenList.

bool GDT_PrimitiveList::hasTransformChanged ( ) const
inline

Definition at line 54 of file GDT_PrimitiveList.h.

virtual bool GDT_PrimitiveList::haveAttributesChanged ( ) const
inlinevirtual

Definition at line 52 of file GDT_PrimitiveList.h.

virtual bool GDT_PrimitiveList::legacyLoadTrans ( UT_IStream is,
uint  numtotal 
)
virtual
bool GDT_PrimitiveList::loadTrans ( UT_JSONParser p,
const GDT_JSON &  json 
)
void GDT_PrimitiveList::mergePrimitiveDeltas ( const GDT_PrimitiveList other,
bool  inverse = false 
)
bool GDT_PrimitiveList::saveTrans ( UT_JSONWriter w,
const GDT_JSON &  json 
) const
virtual void GDT_PrimitiveList::zeroDeltas ( )
virtual

Reimplemented from GDT_TokenList.


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