#include <GU_SubDivPatch.h>
Definition at line 302 of file GU_SubDivPatch.h.
Catmull-clark subdivision
Perform subdivision on this patch, creating a new set of subpatches. The caller attains ownership of the patches.
Creates subpatches within this patch. If a face is supplied, we'll only construct subpatches on the boundary with the face.
Make an independent copy of this patch with new vertices and edges.
void GU_SubDivPatch::decRefCount |
( |
| ) |
|
void GU_SubDivPatch::decRefCountInternal |
( |
| ) |
|
|
inlineprotected |
void GU_SubDivPatch::dumpGeo |
( |
| ) |
const |
Dump geometry for the patch as a draw file.
If we're a bezier, returns the bezier hull. The correct vertex attribute associations are returned in the vtxdata array. If we're not a bezier, false is returned.
bool GU_SubDivPatch::getFlag |
( |
uint8 |
f | ) |
const |
|
inline |
Return the next vertex after vtx.
int GU_SubDivPatch::getRefCount |
( |
| ) |
|
|
inline |
int GU_SubDivPatch::getValence |
( |
| ) |
const |
|
inline |
Return the number of edges and vertices bordering this patch.
Definition at line 329 of file GU_SubDivPatch.h.
Get internal and external vertices bordering this patch.
bool GU_SubDivPatch::isLive |
( |
| ) |
const |
|
inline |
void GU_SubDivPatch::makeLive |
( |
| ) |
|
Live patches are allowed to be externally referenced and keep additional references to the surrounding ring of patches so that all the data required for subdivision is available.
void GU_SubDivPatch::reverse |
( |
| ) |
|
Reverse the vertex order for this patch. We'll keep a flag to determine whether it is flipped relative to the original geometry.
The documentation for this class was generated from the following file: