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 ()
 
virtual ~GU_TrimTesselator ()
 
virtual int64 getMemoryUsage (bool inclusive) const
 
virtual void reset ()
 
virtual void startPoly ()
 
virtual void endPoly ()
 
virtual void cancelPoly ()
 
virtual void addPolyPoint (GU_TrimBasePoint *point)
 
virtual void startTStrip ()
 
virtual void endTStrip ()
 
virtual void addTStripPoints (GU_TrimBasePoint *p1, GU_TrimBasePoint *p2)
 
virtual int getPointCount () const
 It's the sub-class responsibility to fill these out... More...
 
virtual void getPoint (int num, float &x, float &y) const
 
virtual void beginPolygon (int npoint, bool lastone)
 beginPolygon will be told when the last polygon is being added More...
 
virtual void polyVertex (int num)
 
virtual void endPolygon ()
 
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 ()
 
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 ( )
virtual GU_TrimTesselator::~GU_TrimTesselator ( )
virtual

Member Function Documentation

virtual void GU_TrimTesselator::addPolyPoint ( GU_TrimBasePoint point)
virtual

Implements GU_TrimBaseTesselator.

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

Implements GU_TrimBaseTesselator.

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

beginPolygon will be told when the last polygon is being added

Implements UT_Convex.

virtual void GU_TrimTesselator::cancelPoly ( )
virtual

Implements GU_TrimBaseTesselator.

virtual void GU_TrimTesselator::endPoly ( )
virtual

Implements GU_TrimBaseTesselator.

virtual void GU_TrimTesselator::endPolygon ( )
virtual

Implements UT_Convex.

virtual void GU_TrimTesselator::endTStrip ( )
virtual

Implements GU_TrimBaseTesselator.

virtual int64 GU_TrimTesselator::getMemoryUsage ( bool  inclusive) const
virtual

Reimplemented from UT_Convex.

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

Implements UT_Convex.

virtual int GU_TrimTesselator::getPointCount ( ) const
virtual

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 ( )
virtual void GU_TrimTesselator::polyVertex ( int  num)
virtual

Implements UT_Convex.

virtual void GU_TrimTesselator::reset ( )
virtual

Implements GU_TrimBaseTesselator.

void GU_TrimTesselator::resetRetrieval ( )
virtual void GU_TrimTesselator::startPoly ( )
virtual

Implements GU_TrimBaseTesselator.

virtual void GU_TrimTesselator::startTStrip ( )
virtual

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: