#include <GU_PrimNURBSurf.h>

Public Member Functions | |
| GU_PrimNURBSurf (GU_Detail *gdp) | |
| virtual | ~GU_PrimNURBSurf () |
| virtual void * | castTo (void) const |
| virtual const GEO_Primitive * | castToGeo (void) const |
| GU_PrimRBezSurf * | convertToBezNew (GB_PointGroup *delpoints=0, GB_PrimitiveGroup *delprim=0) |
| GEO_Primitive * | convertNew (GU_ConvertParms &parms) |
| virtual GEO_Hull * | reconfigure (unsigned type, int orderu, int orderv, int openu, int openv, int endsu, int endsv) const |
| virtual void | changedVertices (void) |
| virtual GU_TPSurf * | cutU (float u1, float u2, int &ind1, int &ind2, int keep) |
| virtual GU_TPSurf * | cutV (float v1, float v2, int &ind1, int &ind2, int keep) |
| virtual void | openAtU (float u) |
| virtual void | openAtV (float v) |
| virtual GEO_Curve * | buildRowCurve (int appendPoints=1, GU_Detail *parent=0) const |
| virtual GEO_Curve * | buildColCurve (int appendPoints=1, GU_Detail *parent=0) const |
| int | removeEdges (const GB_EdgeGroup &edges, UT_BitArray *remove_edges=0) |
| int | removeKnot (int uDir, int knotIdx, int mult=0, float tol=1e-4F, GB_PointGroup *deleteGroup=0, int uniqueInteriorCvs=0) |
| void | reduceKnots (const UT_Vector &uParm, const UT_Vector &vParm, UT_Matrix &error, float tol=1e-1F, int uNum=0, int vNum=0, GB_PointGroup *deleteGroup=0) |
| virtual int | evaluateBreakpoint (int uidx, int vidx, UT_Vector4 &pos, int du=0, int dv=0) const |
| int | interpGlobal (const UT_PtrMatrix< GEO_Point * > &gpMesh, int uOrder=4, int vOrder=4, int uWrapped=0, int vWrapped=0, GEO_SurfaceType type=GEO_PATCH_QUADS, GB_ParmType uParmType=GB_PARM_CHORD, GB_ParmType vParmType=GB_PARM_CHORD, GB_KnotSpaceType uKnotSpaceType=GB_KNOT_AVERAGING, GB_KnotSpaceType vKnotSpaceType=GB_KNOT_AVERAGING, const UT_Vector *uParmValues=0, const UT_Vector *vParmValues=0) |
| int | interpBreakpoints (const UT_PtrMatrix< GEO_Point * > &gpMesh, int uOrder=4, int vOrder=4, int uWrapped=0, int vWrapped=0, GEO_SurfaceType type=GEO_PATCH_QUADS, GB_ParmType uParmType=GB_PARM_CHORD, GB_ParmType vParmType=GB_PARM_CHORD, GB_KnotSpaceType uKnotSpaceType=GB_KNOT_AVERAGING, GB_KnotSpaceType vKnotSpaceType=GB_KNOT_AVERAGING, const UT_Vector *uParmValues=0, const UT_Vector *vParmValues=0) |
| void | approxGlobal (const UT_PtrMatrix< GEO_Point * > &gpMesh, int uOrder, int vOrder, int uWrapped, int vWrapped, GEO_SurfaceType type, float tol, float smooth=0.0F, int uNoMultipleKnots=1, int vNoMultipleKnots=1) |
Static Public Member Functions | |
| static GU_PrimNURBSurf * | build (GU_Detail *gudp, int rows, int cols, int orderu=4, int orderv=4, int wrapu=0, int wrapv=0, int interpEndsU=1, int interpEndsV=1, GEO_SurfaceType type=GEO_PATCH_QUADS, int appendPoints=1) |
Protected Member Functions | |
| virtual GEO_Hull * | getSubHull (int top, int left, int bottom, int right, GEO_SubHullFlags break_flags) |
Definition at line 49 of file GU_PrimNURBSurf.h.
| GU_PrimNURBSurf::GU_PrimNURBSurf | ( | GU_Detail * | gdp | ) |
| virtual GU_PrimNURBSurf::~GU_PrimNURBSurf | ( | ) | [virtual] |
| void GU_PrimNURBSurf::approxGlobal | ( | const UT_PtrMatrix< GEO_Point * > & | gpMesh, | |
| int | uOrder, | |||
| int | vOrder, | |||
| int | uWrapped, | |||
| int | vWrapped, | |||
| GEO_SurfaceType | type, | |||
| float | tol, | |||
| float | smooth = 0.0F, |
|||
| int | uNoMultipleKnots = 1, |
|||
| int | vNoMultipleKnots = 1 | |||
| ) |
| static GU_PrimNURBSurf* GU_PrimNURBSurf::build | ( | GU_Detail * | gudp, | |
| int | rows, | |||
| int | cols, | |||
| int | orderu = 4, |
|||
| int | orderv = 4, |
|||
| int | wrapu = 0, |
|||
| int | wrapv = 0, |
|||
| int | interpEndsU = 1, |
|||
| int | interpEndsV = 1, |
|||
| GEO_SurfaceType | type = GEO_PATCH_QUADS, |
|||
| int | appendPoints = 1 | |||
| ) | [static] |
| virtual GEO_Curve* GU_PrimNURBSurf::buildColCurve | ( | int | appendPoints = 1, |
|
| GU_Detail * | parent = 0 | |||
| ) | const [virtual] |
Implements GU_TPSurf.
| virtual GEO_Curve* GU_PrimNURBSurf::buildRowCurve | ( | int | appendPoints = 1, |
|
| GU_Detail * | parent = 0 | |||
| ) | const [virtual] |
Implements GU_TPSurf.
| virtual void* GU_PrimNURBSurf::castTo | ( | void | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual const GEO_Primitive* GU_PrimNURBSurf::castToGeo | ( | void | ) | const [virtual] |
Implements GU_Primitive.
| virtual void GU_PrimNURBSurf::changedVertices | ( | void | ) | [virtual] |
Implements GEO_TPSurf.
| GEO_Primitive* GU_PrimNURBSurf::convertNew | ( | GU_ConvertParms & | parms | ) | [virtual] |
Reimplemented from GU_TPSurf.
| GU_PrimRBezSurf* GU_PrimNURBSurf::convertToBezNew | ( | GB_PointGroup * | delpoints = 0, |
|
| GB_PrimitiveGroup * | delprim = 0 | |||
| ) |
| virtual GU_TPSurf* GU_PrimNURBSurf::cutU | ( | float | u1, | |
| float | u2, | |||
| int & | ind1, | |||
| int & | ind2, | |||
| int | keep | |||
| ) | [virtual] |
Implements GU_TPSurf.
| virtual GU_TPSurf* GU_PrimNURBSurf::cutV | ( | float | v1, | |
| float | v2, | |||
| int & | ind1, | |||
| int & | ind2, | |||
| int | keep | |||
| ) | [virtual] |
Implements GU_TPSurf.
| virtual int GU_PrimNURBSurf::evaluateBreakpoint | ( | int | uidx, | |
| int | vidx, | |||
| UT_Vector4 & | pos, | |||
| int | du = 0, |
|||
| int | dv = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_PrimNURBSurf.
| virtual GEO_Hull* GU_PrimNURBSurf::getSubHull | ( | int | top, | |
| int | left, | |||
| int | bottom, | |||
| int | right, | |||
| GEO_SubHullFlags | break_flags | |||
| ) | [protected, virtual] |
Implements GEO_Hull.
| int GU_PrimNURBSurf::interpBreakpoints | ( | const UT_PtrMatrix< GEO_Point * > & | gpMesh, | |
| int | uOrder = 4, |
|||
| int | vOrder = 4, |
|||
| int | uWrapped = 0, |
|||
| int | vWrapped = 0, |
|||
| GEO_SurfaceType | type = GEO_PATCH_QUADS, |
|||
| GB_ParmType | uParmType = GB_PARM_CHORD, |
|||
| GB_ParmType | vParmType = GB_PARM_CHORD, |
|||
| GB_KnotSpaceType | uKnotSpaceType = GB_KNOT_AVERAGING, |
|||
| GB_KnotSpaceType | vKnotSpaceType = GB_KNOT_AVERAGING, |
|||
| const UT_Vector * | uParmValues = 0, |
|||
| const UT_Vector * | vParmValues = 0 | |||
| ) |
| int GU_PrimNURBSurf::interpGlobal | ( | const UT_PtrMatrix< GEO_Point * > & | gpMesh, | |
| int | uOrder = 4, |
|||
| int | vOrder = 4, |
|||
| int | uWrapped = 0, |
|||
| int | vWrapped = 0, |
|||
| GEO_SurfaceType | type = GEO_PATCH_QUADS, |
|||
| GB_ParmType | uParmType = GB_PARM_CHORD, |
|||
| GB_ParmType | vParmType = GB_PARM_CHORD, |
|||
| GB_KnotSpaceType | uKnotSpaceType = GB_KNOT_AVERAGING, |
|||
| GB_KnotSpaceType | vKnotSpaceType = GB_KNOT_AVERAGING, |
|||
| const UT_Vector * | uParmValues = 0, |
|||
| const UT_Vector * | vParmValues = 0 | |||
| ) |
| virtual void GU_PrimNURBSurf::openAtU | ( | float | u | ) | [virtual] |
Implements GU_TPSurf.
| virtual void GU_PrimNURBSurf::openAtV | ( | float | v | ) | [virtual] |
Implements GU_TPSurf.
| virtual GEO_Hull* GU_PrimNURBSurf::reconfigure | ( | unsigned | type, | |
| int | orderu, | |||
| int | orderv, | |||
| int | openu, | |||
| int | openv, | |||
| int | endsu, | |||
| int | endsv | |||
| ) | const [virtual] |
Implements GU_TPSurf.
| void GU_PrimNURBSurf::reduceKnots | ( | const UT_Vector & | uParm, | |
| const UT_Vector & | vParm, | |||
| UT_Matrix & | error, | |||
| float | tol = 1e-1F, |
|||
| int | uNum = 0, |
|||
| int | vNum = 0, |
|||
| GB_PointGroup * | deleteGroup = 0 | |||
| ) |
| int GU_PrimNURBSurf::removeEdges | ( | const GB_EdgeGroup & | edges, | |
| UT_BitArray * | remove_edges = 0 | |||
| ) |
| int GU_PrimNURBSurf::removeKnot | ( | int | uDir, | |
| int | knotIdx, | |||
| int | mult = 0, |
|||
| float | tol = 1e-4F, |
|||
| GB_PointGroup * | deleteGroup = 0, |
|||
| int | uniqueInteriorCvs = 0 | |||
| ) |
1.5.9