#include <GEO_PrimNURBCurve.h>

Public Member Functions | |
| GEO_PrimNURBCurve (GEO_Detail *d, GA_Offset offset=GA_INVALID_OFFSET, unsigned int m=0) | |
| ~GEO_PrimNURBCurve () | |
| virtual int | evaluateBasisDerivs (float u, float bmatx[][GA_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 | evaluateBreakpoint (int uidx, UT_Vector4 &pos, int du=0) const |
| virtual float | getKnotLengths (GA_ParameterizationType ptype, UT_FloatArray &lengths) const |
| virtual int | domainRangeOfCV (int cvidx, int &mink, int &maxk) const |
| virtual int | breakpointRangeOfCV (int cvidx, int &minbkp, int &maxbkp) const |
| virtual void | reparameterize (GA_ParameterizationType ptype) |
| virtual int | warp (float u, const UT_Vector3 &delta, GA_AttributeRefMap &map, float sharpness=0.0f, float bias=-1.0f) |
| virtual int | translateBreakpoints (const UT_IntArray &uindices, const UT_Vector3 &delta, int fixbkpts=1, GA_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| virtual int | transformBreakpoints (const UT_IntArray &uindices, const UT_Matrix4 &matx, int fixbkpts=1, GA_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, GA_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) |
| void | toggleEndCondition (void) |
| SYS_DEPRECATED short | interpolatesEnds (void) const |
| Test end interpolation. | |
| bool | getEndInterpolation () const |
| virtual int | insertVertex (GA_Offset ppt=GA_INVALID_OFFSET, unsigned int where=0) |
| virtual int | appendVertex (GA_Offset ppt=GA_INVALID_OFFSET) |
| virtual int | deleteVertex (GEO_Vertex vtx) |
| virtual int | deleteVertex (unsigned int num) |
| virtual int | insertVertex (GEO_Point *ppt=0, unsigned int where=0) |
| virtual int | appendVertex (GEO_Point *ppt=0) |
| 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 (GA_PointGroup *delpoints=0) |
| void | unclamp (void) |
| SYS_DEPRECATED int | unrefine (int knotIdx, GEO_AttributeHandleList &hlist, int num, int mult=0, fpreal tol=1e-4F, GA_PointGroup *deleteGroup=0) |
| int | unrefine (int knotIdx, GA_AttributeRefMap &hlist, int num, int mult=0, fpreal tol=1e-4F, GA_PointGroup *deleteGroup=0) |
| int | unrefine (int knotIdx, int num, int mult=0, float tol=1e-4F, GA_PointGroup *deleteGroup=0) |
| float | getKnotRemovalBound (int knotIdx, int mult=0) const |
| virtual void | reverse () |
| Reverse the order of vertices. | |
| virtual GEO_Curve * | extract (float ustart, float ustop) const |
| virtual const GA_PrimitiveJSON * | getJSON () const |
Static Public Member Functions | |
| static int | mergeGroup (GEO_Detail *gdp, GA_PrimitiveGroup *nurbs) |
| static int | mergeGroup (GEO_Detail *gdp, GEO_PrimitivePtrArray *nurbcurves_array) |
Protected Member Functions | |
| virtual GA_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, GA_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| virtual int | transformBkptsFixed (const UT_IntArray &uindices, const UT_Matrix4 &matx, GA_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| int | translateBkptsNonFixed (const UT_IntArray &uindices, const UT_Vector3 &delta, GA_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| int | transformBkptsNonFixed (const UT_IntArray &uindices, const UT_Matrix4 &matx, GA_PointGroup *ptgroup=NULL, GEO_Delta *geodelta=0) |
| virtual int | raiseOrderRefMap (int neworder, GA_AttributeRefMap &m) |
| virtual int | raiseOrderInt (int neworder) |
| virtual int | subdivideRefMap (float u, GA_AttributeRefMap &map) |
| virtual int | subdivideFloat (float u) |
| virtual int | refineRefMap (float k, GA_AttributeRefMap &hl, int r=1) |
| virtual int | refineInt (float k, int r=1) |
Static Protected Member Functions | |
| static GA_PrimitiveFamilyMask | buildFamilyMask () |
| static GA_IntrinsicManager::Registrar | registerIntrinsics (GA_PrimitiveDefinition &defn) |
Definition at line 33 of file GEO_PrimNURBCurve.h.
| GEO_PrimNURBCurve::GEO_PrimNURBCurve | ( | GEO_Detail * | d, | |
| GA_Offset | offset = GA_INVALID_OFFSET, |
|||
| unsigned int | m = 0 | |||
| ) | [inline] |
Definition at line 40 of file GEO_PrimNURBCurve.h.
| GEO_PrimNURBCurve::~GEO_PrimNURBCurve | ( | ) |
| virtual int GEO_PrimNURBCurve::appendVertex | ( | GEO_Point * | ppt = 0 |
) | [inline, virtual] |
| virtual int GEO_PrimNURBCurve::appendVertex | ( | GA_Offset | ppt = GA_INVALID_OFFSET |
) | [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, |
|||
| GA_PointGroup * | ptgroup = 0 | |||
| ) | [virtual] |
Reimplemented from GEO_Curve.
| virtual int GEO_PrimNURBCurve::breakpointRangeOfCV | ( | int | cvidx, | |
| int & | minbkp, | |||
| int & | maxbkp | |||
| ) | const [virtual] |
Implements GEO_Curve.
| static GA_PrimitiveFamilyMask GEO_PrimNURBCurve::buildFamilyMask | ( | ) | [inline, static, protected] |
| int GEO_PrimNURBCurve::clamp | ( | GA_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[][GA_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 GEO_Curve* GEO_PrimNURBCurve::extract | ( | float | ustart, | |
| float | ustop | |||
| ) | const [virtual] |
Implements GEO_Curve.
| bool GEO_PrimNURBCurve::getEndInterpolation | ( | ) | const |
| virtual const GA_PrimitiveJSON* GEO_PrimNURBCurve::getJSON | ( | ) | const [virtual] |
This method returns the JSON interface for saving/loading the primitive If the method returns a NULL pointer, then the primitive will not be saved to geometry files (and thus cannot be loaded).
Implements GA_Primitive.
| virtual float GEO_PrimNURBCurve::getKnotLengths | ( | GA_ParameterizationType | ptype, | |
| UT_FloatArray & | lengths | |||
| ) | const [virtual] |
Implements GEO_Curve.
| float GEO_PrimNURBCurve::getKnotRemovalBound | ( | int | knotIdx, | |
| int | mult = 0 | |||
| ) | const |
| virtual int GEO_PrimNURBCurve::insertVertex | ( | GEO_Point * | ppt = 0, |
|
| unsigned int | where = 0 | |||
| ) | [inline, virtual] |
| virtual int GEO_PrimNURBCurve::insertVertex | ( | GA_Offset | ppt = GA_INVALID_OFFSET, |
|
| unsigned int | where = 0 | |||
| ) | [virtual] |
Reimplemented from GEO_TriMesh.
| SYS_DEPRECATED short GEO_PrimNURBCurve::interpolatesEnds | ( | void | ) | const [inline] |
| 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, | |
| GEO_PrimitivePtrArray * | nurbcurves_array | |||
| ) | [static] |
| static int GEO_PrimNURBCurve::mergeGroup | ( | GEO_Detail * | gdp, | |
| GA_PrimitiveGroup * | nurbs | |||
| ) | [static] |
| virtual GA_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::raiseOrderInt | ( | int | neworder | ) | [protected, virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::raiseOrderRefMap | ( | int | neworder, | |
| GA_AttributeRefMap & | m | |||
| ) | [protected, virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::recordChange | ( | unsigned | r | ) | [virtual] |
Reimplemented from GEO_Curve.
| virtual int GEO_PrimNURBCurve::refineInt | ( | float | k, | |
| int | r = 1 | |||
| ) | [protected, virtual] |
Reimplemented from GEO_Face.
| virtual int GEO_PrimNURBCurve::refineRefMap | ( | float | k, | |
| GA_AttributeRefMap & | hl, | |||
| int | r = 1 | |||
| ) | [protected, virtual] |
Reimplemented from GEO_Face.
| static GA_IntrinsicManager::Registrar GEO_PrimNURBCurve::registerIntrinsics | ( | GA_PrimitiveDefinition & | defn | ) | [inline, static, protected] |
All subclasses should call this method to register the curve intrinsics.
Reimplemented from GEO_Curve.
Definition at line 286 of file GEO_PrimNURBCurve.h.
| virtual void GEO_PrimNURBCurve::reparameterize | ( | GA_ParameterizationType | ptype | ) | [virtual] |
Implements GEO_Curve.
| virtual void GEO_PrimNURBCurve::reverse | ( | ) | [virtual] |
| virtual int GEO_PrimNURBCurve::subdivideFloat | ( | float | u | ) | [protected, virtual] |
Reimplemented from GEO_Face.
| virtual int GEO_PrimNURBCurve::subdivideRefMap | ( | float | u, | |
| GA_AttributeRefMap & | map | |||
| ) | [protected, virtual] |
Reimplemented from GEO_Face.
| void GEO_PrimNURBCurve::toggleEndCondition | ( | void | ) |
| virtual int GEO_PrimNURBCurve::transformBkptsFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Matrix4 & | matx, | |||
| GA_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected, virtual] |
| int GEO_PrimNURBCurve::transformBkptsNonFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Matrix4 & | matx, | |||
| GA_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected] |
| virtual int GEO_PrimNURBCurve::transformBreakpoints | ( | const UT_IntArray & | uindices, | |
| const UT_Matrix4 & | matx, | |||
| int | fixbkpts = 1, |
|||
| GA_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [virtual] |
Implements GEO_Curve.
| virtual int GEO_PrimNURBCurve::translateBkptsFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Vector3 & | delta, | |||
| GA_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected, virtual] |
| int GEO_PrimNURBCurve::translateBkptsNonFixed | ( | const UT_IntArray & | uindices, | |
| const UT_Vector3 & | delta, | |||
| GA_PointGroup * | ptgroup = NULL, |
|||
| GEO_Delta * | geodelta = 0 | |||
| ) | [protected] |
| virtual int GEO_PrimNURBCurve::translateBreakpoints | ( | const UT_IntArray & | uindices, | |
| const UT_Vector3 & | delta, | |||
| int | fixbkpts = 1, |
|||
| GA_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, |
|||
| GA_PointGroup * | deleteGroup = 0 | |||
| ) |
| int GEO_PrimNURBCurve::unrefine | ( | int | knotIdx, | |
| GA_AttributeRefMap & | hlist, | |||
| int | num, | |||
| int | mult = 0, |
|||
| fpreal | tol = 1e-4F, |
|||
| GA_PointGroup * | deleteGroup = 0 | |||
| ) |
| SYS_DEPRECATED int GEO_PrimNURBCurve::unrefine | ( | int | knotIdx, | |
| GEO_AttributeHandleList & | hlist, | |||
| int | num, | |||
| int | mult = 0, |
|||
| fpreal | tol = 1e-4F, |
|||
| GA_PointGroup * | deleteGroup = 0 | |||
| ) |
| virtual int GEO_PrimNURBCurve::unroll | ( | int | append_pts = 1 |
) | [virtual] |
Reimplemented from GEO_Face.
| virtual int GEO_PrimNURBCurve::warp | ( | float | u, | |
| const UT_Vector3 & | delta, | |||
| GA_AttributeRefMap & | map, | |||
| float | sharpness = 0.0f, |
|||
| float | bias = -1.0f | |||
| ) | [virtual] |
Implements GEO_Face.
1.5.9