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

#include <GU_SubDivPatch.h>

Public Member Functions

 GU_SubDivEdge (GU_SubDivVertex *v1, GU_SubDivVertex *v2, const GU_SubDivEdge *parent=0)
 
 ~GU_SubDivEdge ()
 
void catclarkChild ()
 Calculate the new subdivision point using the catmull-clark masks. More...
 
GU_SubDivVertexgetChild ()
 
GU_SubDivVertexgetOther (const GU_SubDivVertex *vtx) const
 Return the other vertex. More...
 
void setFlag (uint8 f)
 
void clearFlag (uint8 f)
 
bool getFlag (uint8 f) const
 
void setWeight (fpreal weight)
 
fpreal getWeight () const
 
bool isHardVertex () const
 
void initHardVertex (int size)
 
void initHardVertex (const UT_IntArray &sizes)
 
void setHardVertex (int i)
 
void clearHardVertex (int i)
 
bool getHardVertex (int i) const
 
int getHardVertexSize (int i) const
 
int getHardVertexCount (int vcount) const
 

Detailed Description

Definition at line 41 of file GU_SubDivPatch.h.

Constructor & Destructor Documentation

GU_SubDivEdge::GU_SubDivEdge ( GU_SubDivVertex v1,
GU_SubDivVertex v2,
const GU_SubDivEdge parent = 0 
)
GU_SubDivEdge::~GU_SubDivEdge ( )

Member Function Documentation

void GU_SubDivEdge::catclarkChild ( )

Calculate the new subdivision point using the catmull-clark masks.

void GU_SubDivEdge::clearFlag ( uint8  f)
inline

Definition at line 65 of file GU_SubDivPatch.h.

void GU_SubDivEdge::clearHardVertex ( int  i)
inline

Definition at line 87 of file GU_SubDivPatch.h.

GU_SubDivVertex* GU_SubDivEdge::getChild ( )
inline

Definition at line 50 of file GU_SubDivPatch.h.

bool GU_SubDivEdge::getFlag ( uint8  f) const
inline

Definition at line 66 of file GU_SubDivPatch.h.

bool GU_SubDivEdge::getHardVertex ( int  i) const
inline

Definition at line 89 of file GU_SubDivPatch.h.

int GU_SubDivEdge::getHardVertexCount ( int  vcount) const
inline

Definition at line 93 of file GU_SubDivPatch.h.

int GU_SubDivEdge::getHardVertexSize ( int  i) const
inline

Definition at line 91 of file GU_SubDivPatch.h.

GU_SubDivVertex* GU_SubDivEdge::getOther ( const GU_SubDivVertex vtx) const
inline

Return the other vertex.

Definition at line 58 of file GU_SubDivPatch.h.

fpreal GU_SubDivEdge::getWeight ( ) const
inline

Definition at line 69 of file GU_SubDivPatch.h.

void GU_SubDivEdge::initHardVertex ( int  size)
inline

Definition at line 71 of file GU_SubDivPatch.h.

void GU_SubDivEdge::initHardVertex ( const UT_IntArray sizes)
inline

Definition at line 76 of file GU_SubDivPatch.h.

bool GU_SubDivEdge::isHardVertex ( ) const
inline

Definition at line 70 of file GU_SubDivPatch.h.

void GU_SubDivEdge::setFlag ( uint8  f)
inline

Definition at line 64 of file GU_SubDivPatch.h.

void GU_SubDivEdge::setHardVertex ( int  i)
inline

Definition at line 85 of file GU_SubDivPatch.h.

void GU_SubDivEdge::setWeight ( fpreal  weight)
inline

Definition at line 68 of file GU_SubDivPatch.h.


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