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

#include <GDT_PointList.h>

+ Inheritance diagram for GDT_PointList:

Public Member Functions

 GDT_PointList ()
 
 GDT_PointList (const GDT_PointList &other)
 
 ~GDT_PointList () override
 
void applyDeltas (GEO_Detail &gdp, bool inverse=false) const override
 
virtual void applyScaledDelta (GEO_Detail &gdp, GA_Offset pt, float scale) const
 
virtual void applyScaledPosDeltas (GEO_Detail &gdp, float scale, const GA_PointGroup *ptgroup=0) const
 
void mergePointDeltas (const GDT_PointList &other, bool inverse=false)
 
void resetElementsFromSource (GEO_Detail &gdp, const GEO_Detail &src_gdp) const
 
void applyIntersectionDeltas (GEO_Detail &gdp, const GDT_PointList &other) const
 
void endAttributeChange (const GEO_Detail &gdp)
 
void beginPointPositionChange (const GA_Attribute *P, GA_Offset element)
 
void beginPointPositionChange (const GA_Attribute *P, const GA_Range &range)
 
void endPointPositionChange (const GEO_Detail &gdp)
 
void getOpPaths (UT_StringList &paths)
 
void getOpPathsCopy (UT_ValArray< char * > &paths)
 
void setOpPaths (const UT_ValArray< char * > &paths)
 
int changeOpPaths (const char *old_name, const char *new_name)
 
bool changeCaptureRegionRoot (const char *old_root, const char *new_root)
 
void refreshCaptureFrameInfo (const GEO_Detail &gdp, GDT_CaptureRegionCB get_region, void *user_data)
 
void initCaptureWeightChange (const GEO_Detail &gdp)
 
void beginCaptureWeightChange (GA_Offset element)
 
void endCaptureWeightChange (const GEO_Detail &gdp)
 
const GA_AttributeDictgetAttributeDict (const GEO_Detail &gdp) const override
 
bool hasChange () const override
 
virtual bool haveAttributesChanged () const
 
bool hasPositionChanged () const
 
bool hasCaptureWeightChanged () const
 
bool legacyLoadPos (UT_IStream &is, uint numtotal)
 
bool savePos (UT_JSONWriter &w, const GDT_JSON &json) const
 
bool loadPos (UT_JSONParser &p, const GDT_JSON &json)
 
bool legacyLoadCaptureWeight (UT_IStream &is, unsigned int numtotal)
 
bool saveCaptureWeight (UT_JSONWriter &w, const GDT_JSON &json) const
 
bool loadCaptureWeight (UT_JSONParser &p, const GDT_JSON &json)
 
void zeroDeltas () override
 
void clearDeltas () override
 
void destroy () override
 
void setCoordinateFrames (const GDT_CoordinateFrames *coords)
 
const GDT_CoordinateFramesgetCoordinateFrames ()
 
void createSymmetryDeltas (const GDT_PointList &input, GDT_SymmetryTransform *transform)
 
- 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)
 

Protected Member Functions

GDT_PositionnewPosition (const GDT_Position &p)
 
GDT_PositionnewPosition ()
 
- 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 26 of file GDT_PointList.h.

Constructor & Destructor Documentation

GDT_PointList::GDT_PointList ( )
inline

Definition at line 29 of file GDT_PointList.h.

GDT_PointList::GDT_PointList ( const GDT_PointList other)
GDT_PointList::~GDT_PointList ( )
override

Member Function Documentation

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

Implements GDT_TokenList.

void GDT_PointList::applyIntersectionDeltas ( GEO_Detail gdp,
const GDT_PointList other 
) const
virtual void GDT_PointList::applyScaledDelta ( GEO_Detail gdp,
GA_Offset  pt,
float  scale 
) const
virtual
virtual void GDT_PointList::applyScaledPosDeltas ( GEO_Detail gdp,
float  scale,
const GA_PointGroup ptgroup = 0 
) const
virtual
void GDT_PointList::beginCaptureWeightChange ( GA_Offset  element)
void GDT_PointList::beginPointPositionChange ( const GA_Attribute P,
GA_Offset  element 
)
void GDT_PointList::beginPointPositionChange ( const GA_Attribute P,
const GA_Range range 
)
bool GDT_PointList::changeCaptureRegionRoot ( const char *  old_root,
const char *  new_root 
)
int GDT_PointList::changeOpPaths ( const char *  old_name,
const char *  new_name 
)
void GDT_PointList::clearDeltas ( )
overridevirtual

Reimplemented from GDT_TokenList.

void GDT_PointList::createSymmetryDeltas ( const GDT_PointList input,
GDT_SymmetryTransform transform 
)
void GDT_PointList::destroy ( )
overridevirtual

Reimplemented from GDT_TokenList.

void GDT_PointList::endAttributeChange ( const GEO_Detail gdp)
void GDT_PointList::endCaptureWeightChange ( const GEO_Detail gdp)
void GDT_PointList::endPointPositionChange ( const GEO_Detail gdp)
const GA_AttributeDict& GDT_PointList::getAttributeDict ( const GEO_Detail gdp) const
inlineoverridevirtual

Implements GDT_TokenList.

Definition at line 82 of file GDT_PointList.h.

const GDT_CoordinateFrames* GDT_PointList::getCoordinateFrames ( )
void GDT_PointList::getOpPaths ( UT_StringList paths)
void GDT_PointList::getOpPathsCopy ( UT_ValArray< char * > &  paths)
bool GDT_PointList::hasCaptureWeightChanged ( ) const
inline

Definition at line 95 of file GDT_PointList.h.

bool GDT_PointList::hasChange ( ) const
overridevirtual

Reimplemented from GDT_TokenList.

bool GDT_PointList::hasPositionChanged ( ) const
inline

Definition at line 90 of file GDT_PointList.h.

virtual bool GDT_PointList::haveAttributesChanged ( ) const
inlinevirtual

Definition at line 87 of file GDT_PointList.h.

void GDT_PointList::initCaptureWeightChange ( const GEO_Detail gdp)
bool GDT_PointList::legacyLoadCaptureWeight ( UT_IStream is,
unsigned int  numtotal 
)
bool GDT_PointList::legacyLoadPos ( UT_IStream is,
uint  numtotal 
)
bool GDT_PointList::loadCaptureWeight ( UT_JSONParser p,
const GDT_JSON &  json 
)
bool GDT_PointList::loadPos ( UT_JSONParser p,
const GDT_JSON &  json 
)
void GDT_PointList::mergePointDeltas ( const GDT_PointList other,
bool  inverse = false 
)
GDT_Position* GDT_PointList::newPosition ( const GDT_Position p)
protected
GDT_Position* GDT_PointList::newPosition ( )
protected
void GDT_PointList::refreshCaptureFrameInfo ( const GEO_Detail gdp,
GDT_CaptureRegionCB  get_region,
void user_data 
)
void GDT_PointList::resetElementsFromSource ( GEO_Detail gdp,
const GEO_Detail src_gdp 
) const
bool GDT_PointList::saveCaptureWeight ( UT_JSONWriter w,
const GDT_JSON &  json 
) const
bool GDT_PointList::savePos ( UT_JSONWriter w,
const GDT_JSON &  json 
) const
void GDT_PointList::setCoordinateFrames ( const GDT_CoordinateFrames coords)
void GDT_PointList::setOpPaths ( const UT_ValArray< char * > &  paths)
void GDT_PointList::zeroDeltas ( )
overridevirtual

Reimplemented from GDT_TokenList.


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