#include <GEO_PrimNURBCurve.h>

Public Member Functions | |
| GEO_PrimNURBCurve (GEO_Detail *d, unsigned int m=0) | |
| ~GEO_PrimNURBCurve () | |
| virtual int | evaluateBasisDerivs (float u, float bmatx[][GB_MAXORDER], int &cvoffset, unsigned du=0, int uoffset=-1) const |
| virtual int | evaluateBasis (float u, float *ubvals, int &cvoffset, unsigned du=0, int uoffset=-1) const |
| virtual int | evaluateSegm (float *uArr, unsigned uArrLen, UT_Vector4 *pos, unsigned du=0) const |
| virtual bool | evaluateSegm (fpreal uStart, fpreal uStop, unsigned nu, GEO_Vertex **results, GEO_AttributeHandleList &hlist, unsigned du) const |
| virtual int | evaluateSegm (float uStart, float uStop, unsigned nu, UT_Vector4 *pos, unsigned du=0) const |
| virtual int SYS_DEPRECATED | evaluateSegmWAttrib (float uStart, float uStop, unsigned nu, UT_Vector4 *pos, GB_AttributeData *adata, const GB_FloatOffsets &foffsets, unsigned du=0) const |
| virtual int | evaluateBreakSegm (int uStartIdx, int uStopIdx, int lod, GEO_Vertex **results, GEO_AttributeHandleList &hlist, unsigned du=0) const |
| virtual int | evaluateBreakSegm (int uStartIdx, int uStopIdx, int lod, UT_Vector4 *pos, unsigned du=0) const |
| virtual int SYS_DEPRECATED | evaluateBreakSegmWAttrib (int uStartIdx, int uStopIdx, int lod, UT_Vector4 *pos, GB_AttributeData *adata, const GB_FloatOffsets &foffsets, unsigned du=0) const |
| virtual int | evaluateBreakpoint (int uidx, UT_Vector4 &pos, int du=0) const |
| virtual float | getKnotLengths (GB_ParmType ptype, UT_FloatArray &lengths) const |
| virtual int | fillCurve (int nu, UT_Vector4 *pos) const |
| virtual int | domainRangeOfCV (int cvidx, int &mink, int &maxk) const |
| virtual int | breakpointRangeOfCV (int cvidx, int &minbkp, int &maxbkp) const |
| virtual void | reparameterize (GB_ParmType ptype) |
| virtual int | refine (float k, GEO_AttributeHandleList &hl, int r=1) |
| virtual int | refine (float k, int r=1) |
| virtual int SYS_DEPRECATED | refineWAttrib (float k, const GB_FloatOffsets &foffsets, int r=1) |
| virtual int SYS_DEPRECATED | refineWAttrib (float k, const GB_FloatOffsets *ptoffsets, const GB_FloatOffsets *vtxoffsets, int r=1) |
| virtual int | subdivide (float u, GEO_AttributeHandleList &hl) |
| virtual int | subdivide (float u) |
| virtual int SYS_DEPRECATED | subdivideWAttrib (float u, const GB_FloatOffsets &foffsets) |
| virtual int | raiseOrder (int neworder, GEO_AttributeHandleList &hl) |
| virtual int | raiseOrder (int neworder) |
| virtual int SYS_DEPRECATED | raiseOrderWAttrib (int neworder, const GB_FloatOffsets &foffsets) |
| virtual int | warp (float u, const UT_Vector3 &delta, GEO_AttributeHandleList &hlist, float sharpness=0.0f, float bias=-1.0f) |
| virtual int SYS_DEPRECATED | warp (float u, const UT_Vector3 &delta, GB_FloatOffsets *foffsets=0, float sharpness=0.0f, float bias=-1.0f) |
| virtual int | translateBreakpoints (const UT_IntArray &uindices, const UT_Vector3 &delta, int fixbkpts=1, GB_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| virtual int | transformBreakpoints (const UT_IntArray &uindices, const UT_Matrix4 &matx, int fixbkpts=1, GB_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| virtual int | attach (const GEO_Face &face, int blend=1, float bias=0.5f, float tolerance=1.0f, int unrefine=1, GB_PointGroup *ptgroup=0) |
| virtual GD_Face * | planar (GD_Detail &dgdp, int copyxy=0) const |
| virtual int | recordChange (unsigned r) |
| virtual void | close (int rounded=1, int preserveShape=0) |
| virtual void | open (int preserveShape=0, int=0) |
| short | interpolatesEnds (void) const |
| void | toggleEndCondition (void) |
| virtual int | insertVertex (GEO_Point *ppt=0, unsigned int where=0) |
| virtual int | appendVertex (GEO_Point *ppt=0) |
| virtual int | deleteVertex (GEO_Vertex &vtx) |
| virtual int | deleteVertex (unsigned int num) |
| virtual int | ifDetachPoint (GB_Element *ppt) const |
| virtual int | unroll (int append_pts=1) |
| virtual int | cycle (int amount, int keepSpan=1) |
| virtual int | loft (int newcount, int start=-1, int stop=-1) |
| int | clamp (GB_PointGroup *delpoints=0) |
| void | unclamp (void) |
| virtual unsigned | getPrimitiveId (void) const |
| int | unrefine (int knotIdx, GEO_AttributeHandleList &hlist, int num, int mult=0, fpreal tol=1e-4F, GB_PointGroup *deleteGroup=0) |
| int | unrefine (int knotIdx, int num, int mult=0, float tol=1e-4F, GB_PointGroup *deleteGroup=0) |
| int SYS_DEPRECATED | unrefineWAttrib (int knotIdx, const GB_FloatOffsets &foffsets, int num, int mult=0, float to=1e-4F, GB_PointGroup *deleteGroup=0) |
| float | getKnotRemovalBound (int knotIdx, int mult=0) const |
| virtual void | reverse () |
| virtual GEO_Curve * | extract (float ustart, float ustop) const |
Static Public Member Functions | |
| static int | mergeGroup (GEO_Detail *gdp, GB_PrimitiveGroup *nurbs) |
| static int | mergeGroup (GEO_Detail *gdp, UT_PtrArray< GEO_Primitive * > *nurbcurves_array) |
Protected Member Functions | |
| virtual GB_Basis * | newBasis (void) const |
| void | correctParam (const UT_Vector4 &p, float &u, float distTol=1e-10F, float angTol=1e-2F, int maxIter=50) const |
| virtual int | translateBkptsFixed (const UT_IntArray &uindices, const UT_Vector3 &delta, GB_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| virtual int | transformBkptsFixed (const UT_IntArray &uindices, const UT_Matrix4 &matx, GB_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| int | translateBkptsNonFixed (const UT_IntArray &uindices, const UT_Vector3 &delta, GB_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| int | transformBkptsNonFixed (const UT_IntArray &uindices, const UT_Matrix4 &matx, GB_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
Definition at line 31 of file GEO_PrimNURBCurve.h.
| GEO_PrimNURBCurve::GEO_PrimNURBCurve | ( | GEO_Detail * | d, | |
| unsigned int | m = 0 | |||
| ) | [inline] |
Definition at line 34 of file GEO_PrimNURBCurve.h.
| GEO_PrimNURBCurve::~GEO_PrimNURBCurve | ( | ) |
| virtual int GEO_PrimNURBCurve::appendVertex | ( | GEO_Point * | ppt = 0 |
) | [virtual] |
Reimplemented from GEO_TriMesh.
| virtual int GEO_PrimNURBCurve::attach | ( | const GEO_Face & | face, | |
| int | blend = 1, |
|||
| float | bias = 0.5f, |
|||
| float | tolerance = 1.0f, |
|||
| int | unrefine = 1, |
|||
| GB_PointGroup * | ptgroup = 0 | |||
| ) | [virtual] |
Reimplemented from GEO_Curve.
| virtual int GEO_PrimNURBCurve::breakpointRangeOfCV | ( | int | cvidx, | |
| int & | minbkp, | |||
| int & | maxbkp | |||
| ) | const [virtual] |
Implements GEO_Curve.
| int GEO_PrimNURBCurve::clamp | ( | GB_PointGroup * | delpoints = 0 |
) |
| virtual void GEO_PrimNURBCurve::close | ( | int | rounded = 1, |
|
| int | preserveShape = 0 | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
| void GEO_PrimNURBCurve::correctParam | ( | const UT_Vector4 & | p, | |
| float & | u, | |||
| float | distTol = 1e-10F, |
|||
| float | angTol = 1e-2F, |
|||
| int | maxIter = 50 | |||
| ) | const [protected] |
| virtual int GEO_PrimNURBCurve::cycle | ( | int | amount, | |
| int | keepSpan = 1 | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
| virtual int GEO_PrimNURBCurve::deleteVertex | ( | unsigned int | num | ) | [virtual] |
Reimplemented from GEO_TriMesh.
| virtual int GEO_PrimNURBCurve::deleteVertex | ( | GEO_Vertex & | vtx | ) | [virtual] |
Reimplemented from GEO_TriMesh.
| virtual int GEO_PrimNURBCurve::domainRangeOfCV | ( | int | cvidx, | |
| int & | mink, | |||
| int & | maxk | |||
| ) | const [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::evaluateBasis | ( | float | u, | |
| float * | ubvals, | |||
| int & | cvoffset, | |||
| unsigned | du = 0, |
|||
| int | uoffset = -1 | |||
| ) | const [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::evaluateBasisDerivs | ( | float | u, | |
| float | bmatx[][GB_MAXORDER], | |||
| int & | cvoffset, | |||
| unsigned | du = 0, |
|||
| int | uoffset = -1 | |||
| ) | const [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::evaluateBreakpoint | ( | int | uidx, | |
| UT_Vector4 & | pos, | |||
| int | du = 0 | |||
| ) | const [virtual] |
| virtual int GEO_PrimNURBCurve::evaluateBreakSegm | ( | int | uStartIdx, | |
| int | uStopIdx, | |||
| int | lod, | |||
| UT_Vector4 * | pos, | |||
| unsigned | du = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Curve.
| virtual int GEO_PrimNURBCurve::evaluateBreakSegm | ( | int | uStartIdx, | |
| int | uStopIdx, | |||
| int | lod, | |||
| GEO_Vertex ** | results, | |||
| GEO_AttributeHandleList & | hlist, | |||
| unsigned | du = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Curve.
| virtual int SYS_DEPRECATED GEO_PrimNURBCurve::evaluateBreakSegmWAttrib | ( | int | uStartIdx, | |
| int | uStopIdx, | |||
| int | lod, | |||
| UT_Vector4 * | pos, | |||
| GB_AttributeData * | adata, | |||
| const GB_FloatOffsets & | foffsets, | |||
| unsigned | du = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Curve.
| virtual int GEO_PrimNURBCurve::evaluateSegm | ( | float | uStart, | |
| float | uStop, | |||
| unsigned | nu, | |||
| UT_Vector4 * | pos, | |||
| unsigned | du = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Curve.
| virtual bool GEO_PrimNURBCurve::evaluateSegm | ( | fpreal | uStart, | |
| fpreal | uStop, | |||
| unsigned | nu, | |||
| GEO_Vertex ** | results, | |||
| GEO_AttributeHandleList & | hlist, | |||
| unsigned | du | |||
| ) | const [virtual] |
| virtual int GEO_PrimNURBCurve::evaluateSegm | ( | float * | uArr, | |
| unsigned | uArrLen, | |||
| UT_Vector4 * | pos, | |||
| unsigned | du = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Curve.
| virtual int SYS_DEPRECATED GEO_PrimNURBCurve::evaluateSegmWAttrib | ( | float | uStart, | |
| float | uStop, | |||
| unsigned | nu, | |||
| UT_Vector4 * | pos, | |||
| GB_AttributeData * | adata, | |||
| const GB_FloatOffsets & | foffsets, | |||
| unsigned | du = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Curve.
| virtual GEO_Curve* GEO_PrimNURBCurve::extract | ( | float | ustart, | |
| float | ustop | |||
| ) | const [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::fillCurve | ( | int | nu, | |
| UT_Vector4 * | pos | |||
| ) | const [virtual] |
Implements GEO_Curve.
| virtual float GEO_PrimNURBCurve::getKnotLengths | ( | GB_ParmType | ptype, | |
| UT_FloatArray & | lengths | |||
| ) | const [virtual] |
Implements GEO_Curve.
| float GEO_PrimNURBCurve::getKnotRemovalBound | ( | int | knotIdx, | |
| int | mult = 0 | |||
| ) | const |
| virtual unsigned GEO_PrimNURBCurve::getPrimitiveId | ( | void | ) | const [virtual] |
Implements GEO_Face.
| virtual int GEO_PrimNURBCurve::ifDetachPoint | ( | GB_Element * | ppt | ) | const [virtual] |
Reimplemented from GEO_TriMesh.
| virtual int GEO_PrimNURBCurve::insertVertex | ( | GEO_Point * | ppt = 0, |
|
| unsigned int | where = 0 | |||
| ) | [virtual] |
Reimplemented from GEO_TriMesh.
| short GEO_PrimNURBCurve::interpolatesEnds | ( | void | ) | const |
| virtual int GEO_PrimNURBCurve::loft | ( | int | newcount, | |
| int | start = -1, |
|||
| int | stop = -1 | |||
| ) | [virtual] |
Implements GEO_Face.
| static int GEO_PrimNURBCurve::mergeGroup | ( | GEO_Detail * | gdp, | |
| UT_PtrArray< GEO_Primitive * > * | nurbcurves_array | |||
| ) | [static] |
| static int GEO_PrimNURBCurve::mergeGroup | ( | GEO_Detail * | gdp, | |
| GB_PrimitiveGroup * | nurbs | |||
| ) | [static] |
| virtual GB_Basis* GEO_PrimNURBCurve::newBasis | ( | void | ) | const [protected, virtual] |
Implements GEO_Curve.
| virtual void GEO_PrimNURBCurve::open | ( | int | preserveShape = 0, |
|
| int | = 0 | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
Implements GEO_Face.
| virtual int GEO_PrimNURBCurve::raiseOrder | ( | int | neworder | ) | [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::raiseOrder | ( | int | neworder, | |
| GEO_AttributeHandleList & | hl | |||
| ) | [virtual] |
Implements GEO_Curve.
| virtual int SYS_DEPRECATED GEO_PrimNURBCurve::raiseOrderWAttrib | ( | int | neworder, | |
| const GB_FloatOffsets & | foffsets | |||
| ) | [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::recordChange | ( | unsigned | r | ) | [virtual] |
Reimplemented from GEO_Curve.
| virtual int GEO_PrimNURBCurve::refine | ( | float | k, | |
| int | r = 1 | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
| virtual int GEO_PrimNURBCurve::refine | ( | float | k, | |
| GEO_AttributeHandleList & | hl, | |||
| int | r = 1 | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
| virtual int SYS_DEPRECATED GEO_PrimNURBCurve::refineWAttrib | ( | float | k, | |
| const GB_FloatOffsets * | ptoffsets, | |||
| const GB_FloatOffsets * | vtxoffsets, | |||
| int | r = 1 | |||
| ) | [virtual] |
| virtual int SYS_DEPRECATED GEO_PrimNURBCurve::refineWAttrib | ( | float | k, | |
| const GB_FloatOffsets & | foffsets, | |||
| int | r = 1 | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
| virtual void GEO_PrimNURBCurve::reparameterize | ( | GB_ParmType | ptype | ) | [virtual] |
Implements GEO_Curve.
| virtual void GEO_PrimNURBCurve::reverse | ( | ) | [virtual] |
Reimplemented from GEO_Curve.
| virtual int GEO_PrimNURBCurve::subdivide | ( | float | u | ) | [virtual] |
Reimplemented from GEO_Face.
| virtual int GEO_PrimNURBCurve::subdivide | ( | float | u, | |
| GEO_AttributeHandleList & | hl | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
| virtual int SYS_DEPRECATED GEO_PrimNURBCurve::subdivideWAttrib | ( | float | u, | |
| const GB_FloatOffsets & | foffsets | |||
| ) | [virtual] |
Reimplemented from GEO_Face.
| void GEO_PrimNURBCurve::toggleEndCondition | ( | void | ) |
| virtual int GEO_PrimNURBCurve::transformBkptsFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Matrix4 & | matx, | |||
| GB_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected, virtual] |
| int GEO_PrimNURBCurve::transformBkptsNonFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Matrix4 & | matx, | |||
| GB_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected] |
| virtual int GEO_PrimNURBCurve::transformBreakpoints | ( | const UT_IntArray & | uindices, | |
| const UT_Matrix4 & | matx, | |||
| int | fixbkpts = 1, |
|||
| GB_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::translateBkptsFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Vector3 & | delta, | |||
| GB_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected, virtual] |
| int GEO_PrimNURBCurve::translateBkptsNonFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Vector3 & | delta, | |||
| GB_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected] |
| virtual int GEO_PrimNURBCurve::translateBreakpoints | ( | const UT_IntArray & | uindices, | |
| const UT_Vector3 & | delta, | |||
| int | fixbkpts = 1, |
|||
| GB_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [virtual] |
Implements GEO_Curve.
| void GEO_PrimNURBCurve::unclamp | ( | void | ) |
| int GEO_PrimNURBCurve::unrefine | ( | int | knotIdx, | |
| int | num, | |||
| int | mult = 0, |
|||
| float | tol = 1e-4F, |
|||
| GB_PointGroup * | deleteGroup = 0 | |||
| ) |
| int GEO_PrimNURBCurve::unrefine | ( | int | knotIdx, | |
| GEO_AttributeHandleList & | hlist, | |||
| int | num, | |||
| int | mult = 0, |
|||
| fpreal | tol = 1e-4F, |
|||
| GB_PointGroup * | deleteGroup = 0 | |||
| ) |
| int SYS_DEPRECATED GEO_PrimNURBCurve::unrefineWAttrib | ( | int | knotIdx, | |
| const GB_FloatOffsets & | foffsets, | |||
| int | num, | |||
| int | mult = 0, |
|||
| float | to = 1e-4F, |
|||
| GB_PointGroup * | deleteGroup = 0 | |||
| ) |
| virtual int GEO_PrimNURBCurve::unroll | ( | int | append_pts = 1 |
) | [virtual] |
Reimplemented from GEO_Face.
| virtual int SYS_DEPRECATED GEO_PrimNURBCurve::warp | ( | float | u, | |
| const UT_Vector3 & | delta, | |||
| GB_FloatOffsets * | foffsets = 0, |
|||
| float | sharpness = 0.0f, |
|||
| float | bias = -1.0f | |||
| ) | [virtual] |
Implements GEO_Face.
| virtual int GEO_PrimNURBCurve::warp | ( | float | u, | |
| const UT_Vector3 & | delta, | |||
| GEO_AttributeHandleList & | hlist, | |||
| float | sharpness = 0.0f, |
|||
| float | bias = -1.0f | |||
| ) | [virtual] |
Implements GEO_Face.
1.5.9