#include <GU_PrimNURBCurve.h>

Public Member Functions | |
| GU_PrimNURBCurve (GU_Detail *gdp) | |
| ~GU_PrimNURBCurve () | |
| GU_PrimPoly * | makeGrevillePoly (GU_Detail *dest=0) |
| virtual int | intersectRay (const UT_Vector3 &o, const UT_Vector3 &d, float tmax=1E17F, float tol=1E-12F, float *distance=0, UT_Vector3 *pos=0, UT_Vector3 *nml=0, int accurate=0, float *u=0, float *v=0, int ignoretrim=1) const |
| virtual void * | castTo () const |
| virtual const GEO_Primitive * | castToGeo (void) const |
| GEO_Primitive * | convertNew (GU_ConvertParms &parms) |
| GU_PrimRBezCurve * | convertToBezNew (GB_PointGroup *delpts=0, GB_PrimitiveGroup *delprims=0) |
| virtual GU_Curve * | cut (float u1, float u2, int &ind1, int &ind2, int keep) |
| virtual void | openAt (float u) |
| virtual void | rotateTo (float u) |
| virtual GEO_Face * | reconfigure (unsigned type, int order, int open, int interpends, int nonrational) const |
| virtual int | matchKnots (const UT_Vector &source, const UT_Vector &dest, float tol=1e-2F) |
| virtual int | evaluateBreakpoint (int uidx, UT_Vector4 &pos, int du=0) const |
| int | removeEdges (const UT_BitArray &edgemap, UT_IntArray &removededges) |
| int | removeKnot (int knotIdx, int num, int mult=0, float tol=1e-4F, GB_PointGroup *delGroup=0, int uniqueInteriorCvs=0) |
| void | reduceKnots (const UT_Vector &parm, UT_Vector &error, float tol=1e-1F, int num=0, GB_PointGroup *deleteGroup=0) |
| int | interpGlobal (const UT_PtrArray< GEO_Point * > &gpData, int order=4, int wrapped=0, GB_ParmType parmType=GB_PARM_CHORD, GB_KnotSpaceType knotSpaceType=GB_KNOT_AVERAGING, const UT_Vector *parmValues=0) |
| int | interpGlobal (const UT_Vector4Array &v4Data, int order=4, int wrapped=0, GB_ParmType parmType=GB_PARM_CHORD, GB_KnotSpaceType knotSpaceType=GB_KNOT_AVERAGING, const UT_Vector *parmValues=0) |
| int | interpGlobal (const UT_Matrix &pointData, const UT_Matrix &derivData, int order=4, int wrapped=0, GB_ParmType parmType=GB_PARM_CHORD, GB_KnotSpaceType knotSpaceType=GB_KNOT_AVERAGING) |
| int | interpGlobal (const UT_Matrix &pointData, const UT_Matrix &derivData, const UT_Matrix &deriv2Data, int order=6, int wrapped=0, GB_ParmType parmType=GB_PARM_CHORD, GB_KnotSpaceType knotSpaceType=GB_KNOT_AVERAGING) |
| void | interpLocal (const UT_PtrArray< GEO_Point * > &gpData, int order=4, int wrapped=0, int corner=0) |
| void | interpLocal (const UT_Vector4Array &v4Data, int order=4, int wrapped=0, int corner=0) |
| int | interpBreakpoints (const UT_PtrArray< GEO_Point * > &gpData, int order=4, int wrapped=0, GB_ParmType parmType=GB_PARM_CHORD, const UT_Vector *parmValues=0) |
| int | interpBreakpoints (const UT_Vector4Array &v4Data, int order=4, int wrapped=0, GB_ParmType parmType=GB_PARM_CHORD, const UT_Vector *parmValues=0) |
| void | approxGlobal (const UT_Vector4Array &v4Data, int order=4, int wrapped=0, float tol=1e-1f, float smooth=0.0F, int noMultipleKnots=1) |
Static Public Member Functions | |
| static GU_PrimNURBCurve * | build (GU_Detail *gudp, int nelems, int order=4, int closed=0, int interpEnds=1, int appendPoints=1) |
| static int | interpGlobal (const UT_Matrix &dataPts, const UT_Vector ¶m, const GB_NUBBasis &basis, UT_Matrix &cvs, int natural_end=0) |
| static int | interpGlobal (const UT_Matrix &dataPts, const UT_Vector ¶m, const GB_NUBBasis &basis, UT_Matrix &cvs, const UT_IntArray &dervs) |
| static int | interpGlobal (const UT_Matrix &dataPts, const UT_Matrix &dataTans, const UT_Vector ¶m, const GB_NUBBasis &basis, UT_Matrix &cvs) |
| static int | interpGlobal (const UT_Matrix &dataPts, const UT_Matrix &dataTans, const UT_Matrix &dataCurvature, const UT_Vector ¶m, const GB_NUBBasis &basis, UT_Matrix &cvs) |
Definition at line 46 of file GU_PrimNURBCurve.h.
| GU_PrimNURBCurve::GU_PrimNURBCurve | ( | GU_Detail * | gdp | ) | [inline] |
Definition at line 51 of file GU_PrimNURBCurve.h.
| GU_PrimNURBCurve::~GU_PrimNURBCurve | ( | ) |
| void GU_PrimNURBCurve::approxGlobal | ( | const UT_Vector4Array & | v4Data, | |
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| float | tol = 1e-1f, |
|||
| float | smooth = 0.0F, |
|||
| int | noMultipleKnots = 1 | |||
| ) |
| static GU_PrimNURBCurve* GU_PrimNURBCurve::build | ( | GU_Detail * | gudp, | |
| int | nelems, | |||
| int | order = 4, |
|||
| int | closed = 0, |
|||
| int | interpEnds = 1, |
|||
| int | appendPoints = 1 | |||
| ) | [static] |
| virtual void* GU_PrimNURBCurve::castTo | ( | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual const GEO_Primitive* GU_PrimNURBCurve::castToGeo | ( | void | ) | const [virtual] |
Implements GU_Primitive.
| GEO_Primitive* GU_PrimNURBCurve::convertNew | ( | GU_ConvertParms & | parms | ) | [virtual] |
Reimplemented from GU_Curve.
| GU_PrimRBezCurve* GU_PrimNURBCurve::convertToBezNew | ( | GB_PointGroup * | delpts = 0, |
|
| GB_PrimitiveGroup * | delprims = 0 | |||
| ) |
| virtual GU_Curve* GU_PrimNURBCurve::cut | ( | float | u1, | |
| float | u2, | |||
| int & | ind1, | |||
| int & | ind2, | |||
| int | keep | |||
| ) | [virtual] |
Implements GU_Curve.
| virtual int GU_PrimNURBCurve::evaluateBreakpoint | ( | int | uidx, | |
| UT_Vector4 & | pos, | |||
| int | du = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_PrimNURBCurve.
| int GU_PrimNURBCurve::interpBreakpoints | ( | const UT_Vector4Array & | v4Data, | |
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| GB_ParmType | parmType = GB_PARM_CHORD, |
|||
| const UT_Vector * | parmValues = 0 | |||
| ) |
| int GU_PrimNURBCurve::interpBreakpoints | ( | const UT_PtrArray< GEO_Point * > & | gpData, | |
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| GB_ParmType | parmType = GB_PARM_CHORD, |
|||
| const UT_Vector * | parmValues = 0 | |||
| ) |
| static int GU_PrimNURBCurve::interpGlobal | ( | const UT_Matrix & | dataPts, | |
| const UT_Matrix & | dataTans, | |||
| const UT_Matrix & | dataCurvature, | |||
| const UT_Vector & | param, | |||
| const GB_NUBBasis & | basis, | |||
| UT_Matrix & | cvs | |||
| ) | [static] |
| static int GU_PrimNURBCurve::interpGlobal | ( | const UT_Matrix & | dataPts, | |
| const UT_Matrix & | dataTans, | |||
| const UT_Vector & | param, | |||
| const GB_NUBBasis & | basis, | |||
| UT_Matrix & | cvs | |||
| ) | [static] |
| static int GU_PrimNURBCurve::interpGlobal | ( | const UT_Matrix & | dataPts, | |
| const UT_Vector & | param, | |||
| const GB_NUBBasis & | basis, | |||
| UT_Matrix & | cvs, | |||
| const UT_IntArray & | dervs | |||
| ) | [static] |
| static int GU_PrimNURBCurve::interpGlobal | ( | const UT_Matrix & | dataPts, | |
| const UT_Vector & | param, | |||
| const GB_NUBBasis & | basis, | |||
| UT_Matrix & | cvs, | |||
| int | natural_end = 0 | |||
| ) | [static] |
| int GU_PrimNURBCurve::interpGlobal | ( | const UT_Matrix & | pointData, | |
| const UT_Matrix & | derivData, | |||
| const UT_Matrix & | deriv2Data, | |||
| int | order = 6, |
|||
| int | wrapped = 0, |
|||
| GB_ParmType | parmType = GB_PARM_CHORD, |
|||
| GB_KnotSpaceType | knotSpaceType = GB_KNOT_AVERAGING | |||
| ) |
| int GU_PrimNURBCurve::interpGlobal | ( | const UT_Matrix & | pointData, | |
| const UT_Matrix & | derivData, | |||
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| GB_ParmType | parmType = GB_PARM_CHORD, |
|||
| GB_KnotSpaceType | knotSpaceType = GB_KNOT_AVERAGING | |||
| ) |
| int GU_PrimNURBCurve::interpGlobal | ( | const UT_Vector4Array & | v4Data, | |
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| GB_ParmType | parmType = GB_PARM_CHORD, |
|||
| GB_KnotSpaceType | knotSpaceType = GB_KNOT_AVERAGING, |
|||
| const UT_Vector * | parmValues = 0 | |||
| ) |
| int GU_PrimNURBCurve::interpGlobal | ( | const UT_PtrArray< GEO_Point * > & | gpData, | |
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| GB_ParmType | parmType = GB_PARM_CHORD, |
|||
| GB_KnotSpaceType | knotSpaceType = GB_KNOT_AVERAGING, |
|||
| const UT_Vector * | parmValues = 0 | |||
| ) |
| void GU_PrimNURBCurve::interpLocal | ( | const UT_Vector4Array & | v4Data, | |
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| int | corner = 0 | |||
| ) |
| void GU_PrimNURBCurve::interpLocal | ( | const UT_PtrArray< GEO_Point * > & | gpData, | |
| int | order = 4, |
|||
| int | wrapped = 0, |
|||
| int | corner = 0 | |||
| ) |
| virtual int GU_PrimNURBCurve::intersectRay | ( | const UT_Vector3 & | o, | |
| const UT_Vector3 & | d, | |||
| float | tmax = 1E17F, |
|||
| float | tol = 1E-12F, |
|||
| float * | distance = 0, |
|||
| UT_Vector3 * | pos = 0, |
|||
| UT_Vector3 * | nml = 0, |
|||
| int | accurate = 0, |
|||
| float * | u = 0, |
|||
| float * | v = 0, |
|||
| int | ignoretrim = 1 | |||
| ) | const [virtual] |
Implements GU_Primitive.
| GU_PrimPoly* GU_PrimNURBCurve::makeGrevillePoly | ( | GU_Detail * | dest = 0 |
) |
Reimplemented from GU_Curve.
| virtual int GU_PrimNURBCurve::matchKnots | ( | const UT_Vector & | source, | |
| const UT_Vector & | dest, | |||
| float | tol = 1e-2F | |||
| ) | [virtual] |
| virtual void GU_PrimNURBCurve::openAt | ( | float | u | ) | [virtual] |
Implements GU_Curve.
| virtual GEO_Face* GU_PrimNURBCurve::reconfigure | ( | unsigned | type, | |
| int | order, | |||
| int | open, | |||
| int | interpends, | |||
| int | nonrational | |||
| ) | const [virtual] |
Implements GU_Curve.
| void GU_PrimNURBCurve::reduceKnots | ( | const UT_Vector & | parm, | |
| UT_Vector & | error, | |||
| float | tol = 1e-1F, |
|||
| int | num = 0, |
|||
| GB_PointGroup * | deleteGroup = 0 | |||
| ) |
| int GU_PrimNURBCurve::removeEdges | ( | const UT_BitArray & | edgemap, | |
| UT_IntArray & | removededges | |||
| ) |
| int GU_PrimNURBCurve::removeKnot | ( | int | knotIdx, | |
| int | num, | |||
| int | mult = 0, |
|||
| float | tol = 1e-4F, |
|||
| GB_PointGroup * | delGroup = 0, |
|||
| int | uniqueInteriorCvs = 0 | |||
| ) |
| virtual void GU_PrimNURBCurve::rotateTo | ( | float | u | ) | [virtual] |
1.5.9