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

#include <GU_TrimPatch.h>

+ Inheritance diagram for GU_TrimPatch:

Public Member Functions

 GU_TrimPatch (GU_TPSurfCache *parent, const GEO_TPSurf *surf)
 
 ~GU_TrimPatch () override
 
int64 getMemoryUsage (bool inclusive) const override
 
void refreshCells (GEO_AttributeHandleList *hlist, const GEO_TPSurf *surf, int umin, int umax, int vmin, int vmax) override
 
void startUIsoWalk (int uiso)
 
int getUIsoSpan (int &trimtype)
 
int getUIsoSpanPoint (int &point)
 
void startVIsoWalk (int viso)
 
int getVIsoSpan (int &trimtype)
 
int getVIsoSpanPoint (int &point)
 
void startTrimCurveWalk ()
 
int getTrimCurveSpan ()
 
int getTrimCurveSpanPoint (int &point)
 
- Public Member Functions inherited from GU_TrimBasePatch
 GU_TrimBasePatch ()
 
virtual ~GU_TrimBasePatch ()
 
void trace (const GA_KnotVector &ubreaks, const GA_KnotVector &vbreaks, int uinteriordiv, int vinteriordiv, float lodc=-1)
 
void tesselate (GU_TrimBaseTesselator *tesselator)
 
int setTrimLoops (GD_TrimLoop *loops, float umin, float vmin, float umax, float vmax)
 

Protected Member Functions

void fillPoint (GU_TrimPatchPoint *p) override
 
void fillCornerPoints () override
 
- Protected Member Functions inherited from GU_TrimBasePatch
virtual void fillCurvePoints ()
 
virtual void fillEdgePoints ()
 
void initCells ()
 
void freeCells ()
 
void freeCurves ()
 
void traceCurve (GD_TrimLoop *loop, float curvelod)
 

Protected Attributes

GU_TPSurfCachemyParent
 
const GEO_TPSurfmySurf
 
int myCurIsoIdx
 
int myCurIsoOffset
 
int myCurIsoTrim
 
int mySpanStart
 
int myLastWasEnd
 
GU_TrimPatchPointmyCurIsoPoint
 
GU_TrimPatchPointmyTrimCurve
 
GU_TrimPatchPointmyTrimCurvePoint
 
GU_TrimPatchPointmyCurTrimCurveStart
 
- Protected Attributes inherited from GU_TrimBasePatch
GU_TrimCoreRegionmyCoreRegion
 
GU_TrimPatchPoint ** myEdgeListArray
 
GU_TrimCornerPointmyCornerPointArray
 
GU_TrimPatchPointmyCurveStarts
 
floatmyUIsoparms
 
floatmyVIsoparms
 
GD_TrimLoopmyTrimLoops
 
GD_TrimLoopmyOriginalTrimLoops
 
int myUDiv
 
int myVDiv
 
int myULod
 
int myVLod
 

Detailed Description

Definition at line 120 of file GU_TrimPatch.h.

Constructor & Destructor Documentation

GU_TrimPatch::GU_TrimPatch ( GU_TPSurfCache parent,
const GEO_TPSurf surf 
)
GU_TrimPatch::~GU_TrimPatch ( )
override

Member Function Documentation

void GU_TrimPatch::fillCornerPoints ( )
overrideprotectedvirtual

Implements GU_TrimBasePatch.

void GU_TrimPatch::fillPoint ( GU_TrimPatchPoint p)
overrideprotectedvirtual

Implements GU_TrimBasePatch.

int64 GU_TrimPatch::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Reimplemented from GU_TrimBasePatch.

Definition at line 126 of file GU_TrimPatch.h.

int GU_TrimPatch::getTrimCurveSpan ( )
int GU_TrimPatch::getTrimCurveSpanPoint ( int point)
int GU_TrimPatch::getUIsoSpan ( int trimtype)
int GU_TrimPatch::getUIsoSpanPoint ( int point)
int GU_TrimPatch::getVIsoSpan ( int trimtype)
int GU_TrimPatch::getVIsoSpanPoint ( int point)
void GU_TrimPatch::refreshCells ( GEO_AttributeHandleList hlist,
const GEO_TPSurf surf,
int  umin,
int  umax,
int  vmin,
int  vmax 
)
overridevirtual

Implements GU_TrimBasePatch.

void GU_TrimPatch::startTrimCurveWalk ( )
void GU_TrimPatch::startUIsoWalk ( int  uiso)
void GU_TrimPatch::startVIsoWalk ( int  viso)

Member Data Documentation

int GU_TrimPatch::myCurIsoIdx
protected

Definition at line 173 of file GU_TrimPatch.h.

int GU_TrimPatch::myCurIsoOffset
protected

Definition at line 173 of file GU_TrimPatch.h.

GU_TrimPatchPoint* GU_TrimPatch::myCurIsoPoint
protected

Definition at line 175 of file GU_TrimPatch.h.

int GU_TrimPatch::myCurIsoTrim
protected

Definition at line 173 of file GU_TrimPatch.h.

GU_TrimPatchPoint* GU_TrimPatch::myCurTrimCurveStart
protected

Definition at line 179 of file GU_TrimPatch.h.

int GU_TrimPatch::myLastWasEnd
protected

Definition at line 174 of file GU_TrimPatch.h.

GU_TPSurfCache* GU_TrimPatch::myParent
protected

Definition at line 169 of file GU_TrimPatch.h.

int GU_TrimPatch::mySpanStart
protected

Definition at line 174 of file GU_TrimPatch.h.

const GEO_TPSurf* GU_TrimPatch::mySurf
protected

Definition at line 170 of file GU_TrimPatch.h.

GU_TrimPatchPoint* GU_TrimPatch::myTrimCurve
protected

Definition at line 177 of file GU_TrimPatch.h.

GU_TrimPatchPoint * GU_TrimPatch::myTrimCurvePoint
protected

Definition at line 177 of file GU_TrimPatch.h.


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