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

#include <GU_TrimPatch.h>

+ Inheritance diagram for GU_TrimTesselator:

Public Member Functions

 GU_TrimTesselator ()
 
 ~GU_TrimTesselator () override
 
int64 getMemoryUsage (bool inclusive) const override
 
void reset () override
 
void startPoly () override
 
void endPoly () override
 
void cancelPoly () override
 
void addPolyPoint (GU_TrimBasePoint *point) override
 
void startTStrip () override
 
void endTStrip () override
 
void addTStripPoints (GU_TrimBasePoint *p1, GU_TrimBasePoint *p2) override
 
int getPointCount () const override
 It's the sub-class responsibility to fill these out... More...
 
void getPoint (int num, float &x, float &y) const override
 
void beginPolygon (int npoint, bool lastone) override
 beginPolygon will be told when the last polygon is being added More...
 
void polyVertex (int num) override
 
void endPolygon () override
 
void resetRetrieval ()
 
int getTriangle (int &p1, int &p2, int &p3)
 
int getStrip ()
 
int getStripPointCount ()
 
int getStripPoints (int &p1, int &p2)
 
void getStripPoint (int idx, int &p1, int &p2)
 
int nextStrip ()
 
- Public Member Functions inherited from GU_TrimBaseTesselator
 GU_TrimBaseTesselator ()
 
virtual ~GU_TrimBaseTesselator ()
 

Protected Attributes

UT_ValArray< GU_TrimBasePoint * > myPolyPoints
 
GU_TrimBasePointmyLastPolyPoint
 
GU_TrimBasePointmyFirstPolyPoint
 
UT_Array< GU_TrimTrianglemyTriangles
 
UT_Array< GU_TrimStripmyStrips
 
int myTriIdx
 
int myStripIdx
 
int myStripOffset
 
int myCurVertex
 
int myCurPoly
 
- Protected Attributes inherited from UT_Convex
UT_ConvexPoint * myData
 

Additional Inherited Members

- Protected Member Functions inherited from UT_Convex
 UT_Convex ()
 
virtual ~UT_Convex ()
 
 UT_NON_COPYABLE (UT_Convex)
 
bool isConcave ()
 
void convex (exint maxsides, bool allowinterrupt=true, bool avoiddegeneracy=false)
 
virtual void initialize ()
 
virtual void earlyTermination ()
 
- Static Protected Member Functions inherited from UT_Convex
static bool canSplitQuad02 (const UT_Vector3 &p0, const UT_Vector3 &p1, const UT_Vector3 &p2, const UT_Vector3 &p3)
 
static bool isQuadConvex (const UT_Vector3 &p0, const UT_Vector3 &p1, const UT_Vector3 &p2, const UT_Vector3 &p3)
 

Detailed Description

Definition at line 55 of file GU_TrimPatch.h.

Constructor & Destructor Documentation

GU_TrimTesselator::GU_TrimTesselator ( )
GU_TrimTesselator::~GU_TrimTesselator ( )
override

Member Function Documentation

void GU_TrimTesselator::addPolyPoint ( GU_TrimBasePoint point)
overridevirtual

Implements GU_TrimBaseTesselator.

void GU_TrimTesselator::addTStripPoints ( GU_TrimBasePoint p1,
GU_TrimBasePoint p2 
)
overridevirtual

Implements GU_TrimBaseTesselator.

void GU_TrimTesselator::beginPolygon ( int  npoints,
bool  lastone 
)
overridevirtual

beginPolygon will be told when the last polygon is being added

Implements UT_Convex.

void GU_TrimTesselator::cancelPoly ( )
overridevirtual

Implements GU_TrimBaseTesselator.

void GU_TrimTesselator::endPoly ( )
overridevirtual

Implements GU_TrimBaseTesselator.

void GU_TrimTesselator::endPolygon ( )
overridevirtual

Implements UT_Convex.

void GU_TrimTesselator::endTStrip ( )
overridevirtual

Implements GU_TrimBaseTesselator.

int64 GU_TrimTesselator::getMemoryUsage ( bool  inclusive) const
overridevirtual

Reimplemented from UT_Convex.

void GU_TrimTesselator::getPoint ( int  num,
float x,
float y 
) const
overridevirtual

Implements UT_Convex.

int GU_TrimTesselator::getPointCount ( ) const
overridevirtual

It's the sub-class responsibility to fill these out...

Implements UT_Convex.

int GU_TrimTesselator::getStrip ( )
void GU_TrimTesselator::getStripPoint ( int  idx,
int p1,
int p2 
)
int GU_TrimTesselator::getStripPointCount ( )
int GU_TrimTesselator::getStripPoints ( int p1,
int p2 
)
int GU_TrimTesselator::getTriangle ( int p1,
int p2,
int p3 
)
int GU_TrimTesselator::nextStrip ( )
void GU_TrimTesselator::polyVertex ( int  num)
overridevirtual

Implements UT_Convex.

void GU_TrimTesselator::reset ( )
overridevirtual

Implements GU_TrimBaseTesselator.

void GU_TrimTesselator::resetRetrieval ( )
void GU_TrimTesselator::startPoly ( )
overridevirtual

Implements GU_TrimBaseTesselator.

void GU_TrimTesselator::startTStrip ( )
overridevirtual

Implements GU_TrimBaseTesselator.

Member Data Documentation

int GU_TrimTesselator::myCurPoly
protected

Definition at line 114 of file GU_TrimPatch.h.

int GU_TrimTesselator::myCurVertex
protected

Definition at line 114 of file GU_TrimPatch.h.

GU_TrimBasePoint * GU_TrimTesselator::myFirstPolyPoint
protected

Definition at line 104 of file GU_TrimPatch.h.

GU_TrimBasePoint* GU_TrimTesselator::myLastPolyPoint
protected

Definition at line 104 of file GU_TrimPatch.h.

UT_ValArray<GU_TrimBasePoint *> GU_TrimTesselator::myPolyPoints
protected

Definition at line 103 of file GU_TrimPatch.h.

int GU_TrimTesselator::myStripIdx
protected

Definition at line 111 of file GU_TrimPatch.h.

int GU_TrimTesselator::myStripOffset
protected

Definition at line 112 of file GU_TrimPatch.h.

UT_Array<GU_TrimStrip> GU_TrimTesselator::myStrips
protected

Definition at line 108 of file GU_TrimPatch.h.

UT_Array<GU_TrimTriangle> GU_TrimTesselator::myTriangles
protected

Definition at line 107 of file GU_TrimPatch.h.

int GU_TrimTesselator::myTriIdx
protected

Definition at line 111 of file GU_TrimPatch.h.


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