#include <GEO_PrimTriBezier.h>

Public Member Functions | |
| GEO_PrimTriBezier (GEO_Detail *d) | |
| virtual | ~GEO_PrimTriBezier () |
| virtual bool | evaluatePoint (GEO_Vertex &result, GEO_AttributeHandleList &hlist, fpreal u, fpreal v, uint du, uint dv) const |
| virtual int | evaluatePoint (UT_Vector4 &pos, float u, float v=0, unsigned du=0, unsigned dv=0) const |
| virtual int SYS_DEPRECATED | evaluatePointWAttrib (UT_Vector4 &pos, GB_AttributeData &adata, const GB_FloatOffsets &foffsets, float u, float v=0, unsigned du=0, unsigned dv=0) const |
| void | fillArray (int fakeorder, UT_Vector4 *array) const |
| void | fillArray (int fakeorder, GEO_Vertex **results, GEO_AttributeHandleList &hlist) const |
| void SYS_DEPRECATED | fillArrayWAttrib (int fakeorder, UT_Vector4 *array, GB_AttributeData *atrarray, const GB_FloatOffsets &foffsets) const |
| void SYS_DEPRECATED | fillArrayWAttrib (int fakeorder, UT_Vector4 *pts, GB_AttributeData *ptattrib, GB_AttributeData *vtxattrib) const |
| virtual unsigned | getPrimitiveId () const |
| virtual int | getBBox (UT_BoundingBox *bbox) const |
| virtual void | addToBSphere (UT_BoundingSphere *bsphere) const |
| virtual UT_Vector3 | baryCenter () const |
| virtual bool | evaluateBaryCenter (GEO_Vertex &result, GEO_AttributeHandleList &hlist) const |
| virtual void | reverse () |
| virtual UT_Vector3 | computeNormal () const |
| virtual float | calcVolume (UT_Vector3 &refpt) const |
| virtual float | calcArea () const |
| virtual float | calcPerimeter () const |
| virtual int | save (ostream &os, int binary) const |
| virtual bool | load (UT_IStream &is) |
| virtual void | copyPrimitive (const GEO_Primitive *src, GEO_Point **ptredirect) |
| virtual GEO_Primitive * | copy (int preserve_shared_pts=0) const |
| virtual void | addPointRefToGroup (GB_PointGroup &grp) const |
| virtual void | changePointRef (GB_Element *from, GB_Element *to) |
| virtual int | isDegenerate () const |
| void | setOrder (int order) |
| int | getOrder () const |
| virtual int | detachPoint (GB_Element *ppt, int allVertices=1) |
| virtual int | ifDetachPoint (GB_Element *ppt) const |
| virtual int | detachPoints (GB_PointGroup &grp) |
| virtual unsigned | getVertexCount () const |
| int | find (const GEO_Vertex &vtx) const |
| int | find (const GEO_Point &ppt) const |
| virtual const GEO_Vertex & | getVertex (unsigned i) const |
| virtual GEO_Vertex & | getVertex (unsigned i) |
| void | setVertex (unsigned int i, GEO_Point *pt) |
| unsigned | getRawIndex (unsigned row, unsigned col) const |
| unsigned | getRawIndex (unsigned row, unsigned col, int order) const |
| const GEO_Vertex & | operator() (unsigned i, unsigned j) const |
| GEO_Vertex & | operator() (unsigned i, unsigned j) |
| virtual const GEO_Vertex & | getVertex (unsigned i, unsigned j) const |
| virtual GEO_Vertex & | getVertex (unsigned i, unsigned j) |
| void | setVertex (unsigned int i, unsigned int j, GEO_Point *pt) |
| virtual int | isPointUsed (GB_Element *pt) const |
| virtual int | isPointGroupUsed (const GB_PointGroup &grp) const |
| virtual int | vertexApply (int(*apply)(GB_Vertex &vtx, void *), void *data=0) |
| virtual int | vertexApply (int(*apply)(const GB_Vertex &vtx, void *), void *data=0) const |
| void | homogenize (int startcv=0, int endcv=-1) |
| void | dehomogenize (int startcv=0, int endcv=-1) |
| void | homogenize (GEO_AttributeHandleList &hlist, int startcv=0, int endcv=-1) |
| void | dehomogenize (GEO_AttributeHandleList &hlist, int startcv=0, int endcv=-1) |
| void SYS_DEPRECATED | homogenizeWAttrib (const GB_FloatOffsets &foffsets, int startcv=0, int endcv=-1) |
| void SYS_DEPRECATED | dehomogenizeWAttrib (const GB_FloatOffsets &foffsets, int startcv=0, int endcv=-1) |
Protected Member Functions | |
| virtual void | copyOffsetPrimitive (const GEO_Primitive *src, int base) |
| virtual int | savePrivate (ostream &, int) const |
| virtual bool | loadPrivate (UT_IStream &) |
| virtual int | pointCanDelete (GB_Element *) const |
| virtual void | pointDeleted (GB_Element *pt) |
| virtual bool | validate (void) const |
| void | setSize (unsigned sz) |
Protected Attributes | |
| UT_RefArray< GEO_Vertex > | vtxList |
| int | myOrder |
Friends | |
| ostream & | operator<< (ostream &os, const GEO_PrimTriBezier &d) |
Definition at line 35 of file GEO_PrimTriBezier.h.
| GEO_PrimTriBezier::GEO_PrimTriBezier | ( | GEO_Detail * | d | ) |
| virtual GEO_PrimTriBezier::~GEO_PrimTriBezier | ( | ) | [virtual] |
| virtual void GEO_PrimTriBezier::addPointRefToGroup | ( | GB_PointGroup & | grp | ) | const [virtual] |
Implements GB_Primitive.
| virtual void GEO_PrimTriBezier::addToBSphere | ( | UT_BoundingSphere * | bsphere | ) | const [virtual] |
Implements GB_Primitive.
| virtual UT_Vector3 GEO_PrimTriBezier::baryCenter | ( | ) | const [virtual] |
Implements GB_Primitive.
| virtual float GEO_PrimTriBezier::calcArea | ( | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual float GEO_PrimTriBezier::calcPerimeter | ( | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual float GEO_PrimTriBezier::calcVolume | ( | UT_Vector3 & | refpt | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual void GEO_PrimTriBezier::changePointRef | ( | GB_Element * | from, | |
| GB_Element * | to | |||
| ) | [virtual] |
Implements GB_Primitive.
| virtual UT_Vector3 GEO_PrimTriBezier::computeNormal | ( | ) | const [virtual] |
Implements GB_Primitive.
| virtual GEO_Primitive* GEO_PrimTriBezier::copy | ( | int | preserve_shared_pts = 0 |
) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual void GEO_PrimTriBezier::copyOffsetPrimitive | ( | const GEO_Primitive * | src, | |
| int | base | |||
| ) | [protected, virtual] |
Implements GEO_Primitive.
| virtual void GEO_PrimTriBezier::copyPrimitive | ( | const GEO_Primitive * | src, | |
| GEO_Point ** | ptredirect | |||
| ) | [virtual] |
Implements GEO_Primitive.
| void GEO_PrimTriBezier::dehomogenize | ( | GEO_AttributeHandleList & | hlist, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| void GEO_PrimTriBezier::dehomogenize | ( | int | startcv = 0, |
|
| int | endcv = -1 | |||
| ) |
| void SYS_DEPRECATED GEO_PrimTriBezier::dehomogenizeWAttrib | ( | const GB_FloatOffsets & | foffsets, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| virtual int GEO_PrimTriBezier::detachPoint | ( | GB_Element * | ppt, | |
| int | allVertices = 1 | |||
| ) | [virtual] |
Reimplemented from GB_Primitive.
| virtual int GEO_PrimTriBezier::detachPoints | ( | GB_PointGroup & | grp | ) | [virtual] |
Implements GB_Primitive.
| virtual bool GEO_PrimTriBezier::evaluateBaryCenter | ( | GEO_Vertex & | result, | |
| GEO_AttributeHandleList & | hlist | |||
| ) | const [virtual] |
Implements GEO_Primitive.
| virtual int GEO_PrimTriBezier::evaluatePoint | ( | UT_Vector4 & | pos, | |
| float | u, | |||
| float | v = 0, |
|||
| unsigned | du = 0, |
|||
| unsigned | dv = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual bool GEO_PrimTriBezier::evaluatePoint | ( | GEO_Vertex & | result, | |
| GEO_AttributeHandleList & | hlist, | |||
| fpreal | u, | |||
| fpreal | v, | |||
| uint | du, | |||
| uint | dv | |||
| ) | const [virtual] |
Implements GEO_Primitive.
| virtual int SYS_DEPRECATED GEO_PrimTriBezier::evaluatePointWAttrib | ( | UT_Vector4 & | pos, | |
| GB_AttributeData & | adata, | |||
| const GB_FloatOffsets & | foffsets, | |||
| float | u, | |||
| float | v = 0, |
|||
| unsigned | du = 0, |
|||
| unsigned | dv = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Primitive.
| void GEO_PrimTriBezier::fillArray | ( | int | fakeorder, | |
| GEO_Vertex ** | results, | |||
| GEO_AttributeHandleList & | hlist | |||
| ) | const |
| void GEO_PrimTriBezier::fillArray | ( | int | fakeorder, | |
| UT_Vector4 * | array | |||
| ) | const |
| void SYS_DEPRECATED GEO_PrimTriBezier::fillArrayWAttrib | ( | int | fakeorder, | |
| UT_Vector4 * | pts, | |||
| GB_AttributeData * | ptattrib, | |||
| GB_AttributeData * | vtxattrib | |||
| ) | const |
| void SYS_DEPRECATED GEO_PrimTriBezier::fillArrayWAttrib | ( | int | fakeorder, | |
| UT_Vector4 * | array, | |||
| GB_AttributeData * | atrarray, | |||
| const GB_FloatOffsets & | foffsets | |||
| ) | const |
| int GEO_PrimTriBezier::find | ( | const GEO_Point & | ppt | ) | const |
| int GEO_PrimTriBezier::find | ( | const GEO_Vertex & | vtx | ) | const [inline] |
Definition at line 110 of file GEO_PrimTriBezier.h.
| virtual int GEO_PrimTriBezier::getBBox | ( | UT_BoundingBox * | bbox | ) | const [virtual] |
Implements GB_Primitive.
| int GEO_PrimTriBezier::getOrder | ( | void | ) | const [inline] |
Definition at line 91 of file GEO_PrimTriBezier.h.
| virtual unsigned GEO_PrimTriBezier::getPrimitiveId | ( | ) | const [virtual] |
Implements GB_Primitive.
| unsigned GEO_PrimTriBezier::getRawIndex | ( | unsigned | row, | |
| unsigned | col, | |||
| int | order | |||
| ) | const [inline] |
Definition at line 125 of file GEO_PrimTriBezier.h.
| unsigned GEO_PrimTriBezier::getRawIndex | ( | unsigned | row, | |
| unsigned | col | |||
| ) | const [inline] |
Definition at line 123 of file GEO_PrimTriBezier.h.
| virtual GEO_Vertex& GEO_PrimTriBezier::getVertex | ( | unsigned | i, | |
| unsigned | j | |||
| ) | [inline, virtual] |
Definition at line 133 of file GEO_PrimTriBezier.h.
| virtual const GEO_Vertex& GEO_PrimTriBezier::getVertex | ( | unsigned | i, | |
| unsigned | j | |||
| ) | const [inline, virtual] |
Definition at line 131 of file GEO_PrimTriBezier.h.
| virtual GEO_Vertex& GEO_PrimTriBezier::getVertex | ( | unsigned | i | ) | [virtual] |
Implements GEO_Primitive.
| virtual const GEO_Vertex& GEO_PrimTriBezier::getVertex | ( | unsigned | i | ) | const [virtual] |
Implements GEO_Primitive.
| virtual unsigned GEO_PrimTriBezier::getVertexCount | ( | ) | const [virtual] |
Implements GB_Primitive.
| void GEO_PrimTriBezier::homogenize | ( | GEO_AttributeHandleList & | hlist, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| void GEO_PrimTriBezier::homogenize | ( | int | startcv = 0, |
|
| int | endcv = -1 | |||
| ) |
| void SYS_DEPRECATED GEO_PrimTriBezier::homogenizeWAttrib | ( | const GB_FloatOffsets & | foffsets, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| virtual int GEO_PrimTriBezier::ifDetachPoint | ( | GB_Element * | ppt | ) | const [virtual] |
Reimplemented from GB_Primitive.
| virtual int GEO_PrimTriBezier::isDegenerate | ( | ) | const [virtual] |
Implements GB_Primitive.
| virtual int GEO_PrimTriBezier::isPointGroupUsed | ( | const GB_PointGroup & | grp | ) | const [virtual] |
Implements GB_Primitive.
| virtual int GEO_PrimTriBezier::isPointUsed | ( | GB_Element * | pt | ) | const [virtual] |
Implements GB_Primitive.
| virtual bool GEO_PrimTriBezier::load | ( | UT_IStream & | is | ) | [virtual] |
Implements GB_Primitive.
| virtual bool GEO_PrimTriBezier::loadPrivate | ( | UT_IStream & | ) | [inline, protected, virtual] |
Definition at line 171 of file GEO_PrimTriBezier.h.
| GEO_Vertex& GEO_PrimTriBezier::operator() | ( | unsigned | i, | |
| unsigned | j | |||
| ) | [inline] |
Definition at line 129 of file GEO_PrimTriBezier.h.
| const GEO_Vertex& GEO_PrimTriBezier::operator() | ( | unsigned | i, | |
| unsigned | j | |||
| ) | const [inline] |
Definition at line 127 of file GEO_PrimTriBezier.h.
| virtual int GEO_PrimTriBezier::pointCanDelete | ( | GB_Element * | ) | const [protected, virtual] |
Implements GB_Primitive.
| virtual void GEO_PrimTriBezier::pointDeleted | ( | GB_Element * | pt | ) | [protected, virtual] |
Implements GB_Primitive.
| virtual void GEO_PrimTriBezier::reverse | ( | ) | [virtual] |
Implements GB_Primitive.
| virtual int GEO_PrimTriBezier::save | ( | ostream & | os, | |
| int | binary | |||
| ) | const [virtual] |
Implements GB_Primitive.
| virtual int GEO_PrimTriBezier::savePrivate | ( | ostream & | , | |
| int | ||||
| ) | const [inline, protected, virtual] |
Definition at line 170 of file GEO_PrimTriBezier.h.
| void GEO_PrimTriBezier::setOrder | ( | int | order | ) |
| void GEO_PrimTriBezier::setSize | ( | unsigned | sz | ) | [protected] |
| void GEO_PrimTriBezier::setVertex | ( | unsigned int | i, | |
| unsigned int | j, | |||
| GEO_Point * | pt | |||
| ) | [inline] |
Definition at line 135 of file GEO_PrimTriBezier.h.
| void GEO_PrimTriBezier::setVertex | ( | unsigned int | i, | |
| GEO_Point * | pt | |||
| ) | [inline] |
Definition at line 115 of file GEO_PrimTriBezier.h.
| virtual bool GEO_PrimTriBezier::validate | ( | void | ) | const [protected, virtual] |
| virtual int GEO_PrimTriBezier::vertexApply | ( | int(*)(const GB_Vertex &vtx, void *) | apply, | |
| void * | data = 0 | |||
| ) | const [virtual] |
Implements GB_Primitive.
| virtual int GEO_PrimTriBezier::vertexApply | ( | int(*)(GB_Vertex &vtx, void *) | apply, | |
| void * | data = 0 | |||
| ) | [virtual] |
Implements GB_Primitive.
| ostream& operator<< | ( | ostream & | os, | |
| const GEO_PrimTriBezier & | d | |||
| ) | [friend] |
Definition at line 218 of file GEO_PrimTriBezier.h.
int GEO_PrimTriBezier::myOrder [protected] |
Definition at line 182 of file GEO_PrimTriBezier.h.
UT_RefArray<GEO_Vertex> GEO_PrimTriBezier::vtxList [protected] |
Definition at line 181 of file GEO_PrimTriBezier.h.
1.5.9