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

#include <GDT_Detail.h>

+ Inheritance diagram for GDT_Detail:

Public Member Functions

 GDT_Detail ()
 
 GDT_Detail (const GDT_Detail &other)
 
 ~GDT_Detail () override
 
int64 getMemoryUsage (bool inclusive=false) const override
 
void applyDeltas (GEO_Detail &gdp) const
 
void applyInverseDeltas (GEO_Detail &gdp) const
 
void applyScaledPointDelta (GEO_Detail &gdp, GA_Offset pt, float scale) const override
 
void applyScaledVertexDelta (GEO_Detail &gdp, GA_Offset vtxoff, float scale) const override
 
void applyScaledPointPosDeltas (GEO_Detail &gdp, float scale, const GA_PointGroup *ptgroup=NULL) const
 
void mergeDeltas (const GDT_Detail &other)
 
void mergeInverseDeltas (const GDT_Detail &other)
 
void resetElementsFromSource (GEO_Detail &gdp, const GEO_Detail &src_gdp) const
 
void applyIntersectionDeltas (GEO_Detail &gdp, const GDT_Detail &other) const
 
GDT_PointListgetPointList ()
 
void zeroDeltas ()
 
void clearDeltas ()
 
void destroy ()
 
bool hasChange () const
 
void beginPointPositionChange (const GA_Detail &gdp, GA_Offset pt) override
 
void beginPointPositionChange (const GA_Detail &gdp, const GA_Range &range) override
 
void beginPointAttributeChange (const GEO_Detail &gdp, GA_Offset pt) override
 
void beginPointAttributeChange (const GEO_Detail &gdp, const GA_Range &range) override
 
void beginPointListAttributeChange (const GEO_Detail &gdp) override
 
void beginPrimitiveTransformChange (const GEO_Primitive &prim) override
 
void beginPrimitiveAttributeChange (const GEO_Primitive &prim) override
 
void beginVertexAttributeChange (const GEO_Detail &gdp, GA_Offset vtx) override
 
void beginVertexAttributeChange (const GEO_Detail &gdp, const GA_Range &range) override
 
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) override
 
void beginCaptureWeightChange (const GEO_Detail &gdp, GA_Offset pt) override
 
void endChange () override
 
virtual void updateVertexOffsets (const GEO_Detail &gdp)
 
void setPointAttribDict (const GA_AttributeDict &dict) override
 
void setPrimAttribDict (const GA_AttributeDict &dict) override
 
void setVertexAttribDict (const GA_AttributeDict &dict) override
 
void refreshPointAttribDict (const GA_AttributeDict &dict) override
 
void refreshPrimAttribDict (const GA_AttributeDict &dict) override
 
void refreshVertexAttribDict (const GA_AttributeDict &dict) override
 
bool save (std::ostream &os, int binary=0) const
 
bool load (UT_IStream &is)
 
bool save (UT_JSONWriter &w) const
 
bool load (UT_JSONParser &p)
 
bool legacyLoad (UT_IStream &is)
 
void setCoordinateFrames (const GDT_CoordinateFrames *coords)
 
const GDT_CoordinateFramesgetCoordinateFrames ()
 
void createSymmetryDeltas (const GDT_Detail &input, GDT_SymmetryTransform *transform)
 
- Public Member Functions inherited from GEO_Delta
 GEO_Delta ()
 
virtual ~GEO_Delta ()
 

Detailed Description

Definition at line 30 of file GDT_Detail.h.

Constructor & Destructor Documentation

GDT_Detail::GDT_Detail ( )
inline

Definition at line 34 of file GDT_Detail.h.

GDT_Detail::GDT_Detail ( const GDT_Detail other)
GDT_Detail::~GDT_Detail ( )
inlineoverride

Definition at line 36 of file GDT_Detail.h.

Member Function Documentation

void GDT_Detail::applyDeltas ( GEO_Detail gdp) const
void GDT_Detail::applyIntersectionDeltas ( GEO_Detail gdp,
const GDT_Detail other 
) const
void GDT_Detail::applyInverseDeltas ( GEO_Detail gdp) const
void GDT_Detail::applyScaledPointDelta ( GEO_Detail gdp,
GA_Offset  pt,
float  scale 
) const
overridevirtual

Applies the delta to a point. For orthogonality, additional methods should be created as needed.

Implements GEO_Delta.

void GDT_Detail::applyScaledPointPosDeltas ( GEO_Detail gdp,
float  scale,
const GA_PointGroup ptgroup = NULL 
) const
void GDT_Detail::applyScaledVertexDelta ( GEO_Detail gdp,
GA_Offset  vtxoff,
float  scale 
) const
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginCaptureWeightChange ( const GEO_Detail gdp,
GA_Offset  pt 
)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginPointAttributeChange ( const GEO_Detail gdp,
GA_Offset  pt 
)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginPointAttributeChange ( const GEO_Detail gdp,
const GA_Range range 
)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginPointListAttributeChange ( const GEO_Detail gdp)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginPointPositionChange ( const GA_Detail gdp,
GA_Offset  pt 
)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginPointPositionChange ( const GA_Detail gdp,
const GA_Range range 
)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginPrimitiveAttributeChange ( const GEO_Primitive prim)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginPrimitiveTransformChange ( const GEO_Primitive prim)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginVertexAttributeChange ( const GEO_Detail gdp,
GA_Offset  vtx 
)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::beginVertexAttributeChange ( const GEO_Detail gdp,
const GA_Range range 
)
overridevirtual

Implements GEO_Delta.

bool GDT_Detail::changeCaptureRegionRoot ( const char *  old_root,
const char *  new_root 
)
int GDT_Detail::changeOpPaths ( const char *  old_name,
const char *  new_name 
)
void GDT_Detail::clearDeltas ( )
void GDT_Detail::createSymmetryDeltas ( const GDT_Detail input,
GDT_SymmetryTransform transform 
)
void GDT_Detail::destroy ( )
void GDT_Detail::endChange ( )
overridevirtual

Implements GEO_Delta.

const GDT_CoordinateFrames* GDT_Detail::getCoordinateFrames ( )
int64 GDT_Detail::getMemoryUsage ( bool  inclusive = false) const
overridevirtual

Implements GEO_Delta.

void GDT_Detail::getOpPaths ( UT_StringList paths)
void GDT_Detail::getOpPathsCopy ( UT_ValArray< char * > &  paths)
GDT_PointList* GDT_Detail::getPointList ( )
inline

Definition at line 74 of file GDT_Detail.h.

bool GDT_Detail::hasChange ( ) const
void GDT_Detail::initCaptureWeightChange ( const GEO_Detail gdp)
overridevirtual

Implements GEO_Delta.

bool GDT_Detail::legacyLoad ( UT_IStream is)
bool GDT_Detail::load ( UT_IStream is)
bool GDT_Detail::load ( UT_JSONParser p)
void GDT_Detail::mergeDeltas ( const GDT_Detail other)
void GDT_Detail::mergeInverseDeltas ( const GDT_Detail other)
void GDT_Detail::refreshCaptureFrameInfo ( const GEO_Detail gdp,
GDT_CaptureRegionCB  get_region,
void user_data 
)
void GDT_Detail::refreshPointAttribDict ( const GA_AttributeDict dict)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::refreshPrimAttribDict ( const GA_AttributeDict dict)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::refreshVertexAttribDict ( const GA_AttributeDict dict)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::resetElementsFromSource ( GEO_Detail gdp,
const GEO_Detail src_gdp 
) const
bool GDT_Detail::save ( std::ostream &  os,
int  binary = 0 
) const
bool GDT_Detail::save ( UT_JSONWriter w) const
void GDT_Detail::setCoordinateFrames ( const GDT_CoordinateFrames coords)
void GDT_Detail::setOpPaths ( const UT_ValArray< char * > &  paths)
void GDT_Detail::setPointAttribDict ( const GA_AttributeDict dict)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::setPrimAttribDict ( const GA_AttributeDict dict)
overridevirtual

Implements GEO_Delta.

void GDT_Detail::setVertexAttribDict ( const GA_AttributeDict dict)
overridevirtual

Implements GEO_Delta.

virtual void GDT_Detail::updateVertexOffsets ( const GEO_Detail gdp)
virtual
void GDT_Detail::zeroDeltas ( )

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