#include <GEO_TriMesh.h>

Public Member Functions | |
| GEO_TriMesh (GEO_Detail *d) | |
| virtual | ~GEO_TriMesh () |
| virtual unsigned | getPrimitiveId () const =0 |
| 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 bool | evaluatePoint (GEO_Vertex &vertex, GEO_AttributeHandleList &hlist, fpreal u, fpreal v, uint du, uint dv) 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 | setSize (unsigned int sz) |
| virtual int | detachPoint (GB_Element *ppt, int allVertices=1) |
| virtual int | ifDetachPoint (GB_Element *ppt) const |
| virtual int | detachPoints (GB_PointGroup &grp) |
| virtual int | insertVertex (GEO_Point *ppt, unsigned int where=0) |
| virtual int | appendVertex (GEO_Point *ppt) |
| virtual int | deleteVertex (GEO_Vertex &vtx) |
| virtual int | deleteVertex (unsigned int num) |
| virtual unsigned | getVertexCount () const |
| unsigned | getFastVertexCount () const |
| int | find (const GEO_Vertex &vtx) const |
| int | find (const GEO_Point &ppt) const |
| const GEO_Vertex & | operator() (unsigned i) const |
| GEO_Vertex & | operator() (unsigned i) |
| const GEO_Vertex & | operator[] (unsigned i) const |
| GEO_Vertex & | operator[] (unsigned i) |
| virtual const GEO_Vertex & | getVertex (unsigned i) const |
| virtual GEO_Vertex & | getVertex (unsigned i) |
| void | setVertex (unsigned int i, 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 (GEO_AttributeHandleList &hlist, int startcv=0, int endcv=-1) |
| void | dehomogenize (GEO_AttributeHandleList &hlist, int startcv=0, int endcv=-1) |
| void | homogenize (int startcv=0, int endcv=-1) |
| void | dehomogenize (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) |
| void SYS_DEPRECATED | homogenizeWAttrib (const GB_FloatOffsets *ptoffsets, const GB_FloatOffsets *vtxoffsets, int startcv=0, int endcv=-1) |
| void SYS_DEPRECATED | dehomogenizeWAttrib (const GB_FloatOffsets *ptoffsets, const GB_FloatOffsets *vtxoffsets, int startcv=0, int endcv=-1) |
| virtual void | unitLengthToUnitPair (float ulength, float vlength, float &uparm, float &vparm) const |
| virtual void | unitToUnitLengthPair (float uparm, float vparm, float &ulength, float &vlength) const |
Protected Member Functions | |
| virtual void | copyOffsetPrimitive (const GEO_Primitive *src, int base) |
| virtual int | savePrivate (ostream &os, int binary) const =0 |
| virtual bool | loadPrivate (UT_IStream &is)=0 |
| virtual int | pointCanDelete (GB_Element *) const |
| virtual void | pointDeleted (GB_Element *pt) |
| virtual bool | validate (void) const |
| int | multipleInsert (unsigned int where, unsigned int count, unsigned int appendPoints=1) |
| void | setSizeFast (int new_entries, const GB_AttributeDict &vertex_dict) |
Protected Attributes | |
| UT_RefArray< GEO_Vertex > | vtxList |
Friends | |
| ostream & | operator<< (ostream &os, const GEO_TriMesh &d) |
Definition at line 34 of file GEO_TriMesh.h.
| GEO_TriMesh::GEO_TriMesh | ( | GEO_Detail * | d | ) |
| virtual GEO_TriMesh::~GEO_TriMesh | ( | ) | [virtual] |
| virtual void GEO_TriMesh::addPointRefToGroup | ( | GB_PointGroup & | grp | ) | const [virtual] |
Implements GB_Primitive.
| virtual void GEO_TriMesh::addToBSphere | ( | UT_BoundingSphere * | bsphere | ) | const [virtual] |
Implements GB_Primitive.
| virtual int GEO_TriMesh::appendVertex | ( | GEO_Point * | ppt | ) | [virtual] |
Reimplemented in GEO_PrimNURBCurve, and GEO_PrimRBezCurve.
| virtual UT_Vector3 GEO_TriMesh::baryCenter | ( | ) | const [virtual] |
Implements GB_Primitive.
| virtual void GEO_TriMesh::changePointRef | ( | GB_Element * | from, | |
| GB_Element * | to | |||
| ) | [virtual] |
| virtual GEO_Primitive* GEO_TriMesh::copy | ( | int | preserve_shared_pts = 0 |
) | const [virtual] |
| virtual void GEO_TriMesh::copyOffsetPrimitive | ( | const GEO_Primitive * | src, | |
| int | base | |||
| ) | [protected, virtual] |
| virtual void GEO_TriMesh::copyPrimitive | ( | const GEO_Primitive * | src, | |
| GEO_Point ** | ptredirect | |||
| ) | [virtual] |
| void GEO_TriMesh::dehomogenize | ( | int | startcv = 0, |
|
| int | endcv = -1 | |||
| ) |
| void GEO_TriMesh::dehomogenize | ( | GEO_AttributeHandleList & | hlist, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| void SYS_DEPRECATED GEO_TriMesh::dehomogenizeWAttrib | ( | const GB_FloatOffsets * | ptoffsets, | |
| const GB_FloatOffsets * | vtxoffsets, | |||
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| void SYS_DEPRECATED GEO_TriMesh::dehomogenizeWAttrib | ( | const GB_FloatOffsets & | foffsets, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| virtual int GEO_TriMesh::deleteVertex | ( | unsigned int | num | ) | [virtual] |
Reimplemented in GEO_PrimNURBCurve, and GEO_PrimRBezCurve.
| virtual int GEO_TriMesh::deleteVertex | ( | GEO_Vertex & | vtx | ) | [virtual] |
Reimplemented in GEO_PrimNURBCurve, and GEO_PrimRBezCurve.
| virtual int GEO_TriMesh::detachPoint | ( | GB_Element * | ppt, | |
| int | allVertices = 1 | |||
| ) | [virtual] |
Reimplemented from GB_Primitive.
| virtual int GEO_TriMesh::detachPoints | ( | GB_PointGroup & | grp | ) | [virtual] |
Implements GB_Primitive.
| virtual bool GEO_TriMesh::evaluateBaryCenter | ( | GEO_Vertex & | result, | |
| GEO_AttributeHandleList & | hlist | |||
| ) | const [virtual] |
Implements GEO_Primitive.
| virtual bool GEO_TriMesh::evaluatePoint | ( | GEO_Vertex & | vertex, | |
| GEO_AttributeHandleList & | hlist, | |||
| fpreal | u, | |||
| fpreal | v, | |||
| uint | du, | |||
| uint | dv | |||
| ) | const [virtual] |
| int GEO_TriMesh::find | ( | const GEO_Point & | ppt | ) | const |
| int GEO_TriMesh::find | ( | const GEO_Vertex & | vtx | ) | const [inline] |
Definition at line 91 of file GEO_TriMesh.h.
| virtual int GEO_TriMesh::getBBox | ( | UT_BoundingBox * | bbox | ) | const [virtual] |
Implements GB_Primitive.
| unsigned GEO_TriMesh::getFastVertexCount | ( | ) | const [inline] |
Definition at line 86 of file GEO_TriMesh.h.
| virtual unsigned GEO_TriMesh::getPrimitiveId | ( | ) | const [pure virtual] |
Implements GB_Primitive.
Implemented in GEO_Face, GEO_PrimNURBCurve, GEO_PrimPoly, GEO_PrimRBezCurve, GEO_PrimTriFan, and GEO_PrimTriStrip.
| virtual GEO_Vertex& GEO_TriMesh::getVertex | ( | unsigned | i | ) | [virtual] |
Implements GEO_Primitive.
| virtual const GEO_Vertex& GEO_TriMesh::getVertex | ( | unsigned | i | ) | const [virtual] |
Implements GEO_Primitive.
| virtual unsigned GEO_TriMesh::getVertexCount | ( | ) | const [virtual] |
Implements GB_Primitive.
| void GEO_TriMesh::homogenize | ( | int | startcv = 0, |
|
| int | endcv = -1 | |||
| ) |
| void GEO_TriMesh::homogenize | ( | GEO_AttributeHandleList & | hlist, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| void SYS_DEPRECATED GEO_TriMesh::homogenizeWAttrib | ( | const GB_FloatOffsets * | ptoffsets, | |
| const GB_FloatOffsets * | vtxoffsets, | |||
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| void SYS_DEPRECATED GEO_TriMesh::homogenizeWAttrib | ( | const GB_FloatOffsets & | foffsets, | |
| int | startcv = 0, |
|||
| int | endcv = -1 | |||
| ) |
| virtual int GEO_TriMesh::ifDetachPoint | ( | GB_Element * | ppt | ) | const [virtual] |
| virtual int GEO_TriMesh::insertVertex | ( | GEO_Point * | ppt, | |
| unsigned int | where = 0 | |||
| ) | [virtual] |
Reimplemented in GEO_PrimNURBCurve, and GEO_PrimRBezCurve.
| virtual int GEO_TriMesh::isDegenerate | ( | ) | const [virtual] |
Implements GB_Primitive.
Reimplemented in GEO_Curve, GEO_Face, GEO_PrimPoly, GEO_PrimTriFan, and GEO_PrimTriStrip.
| virtual int GEO_TriMesh::isPointGroupUsed | ( | const GB_PointGroup & | grp | ) | const [virtual] |
Implements GB_Primitive.
| virtual int GEO_TriMesh::isPointUsed | ( | GB_Element * | pt | ) | const [virtual] |
Implements GB_Primitive.
| virtual bool GEO_TriMesh::load | ( | UT_IStream & | is | ) | [virtual] |
| virtual bool GEO_TriMesh::loadPrivate | ( | UT_IStream & | is | ) | [protected, pure virtual] |
Implemented in GEO_Curve, GEO_Face, GEO_PrimPoly, GEO_PrimTriFan, and GEO_PrimTriStrip.
| int GEO_TriMesh::multipleInsert | ( | unsigned int | where, | |
| unsigned int | count, | |||
| unsigned int | appendPoints = 1 | |||
| ) | [protected] |
| GEO_Vertex& GEO_TriMesh::operator() | ( | unsigned | i | ) | [inline] |
Definition at line 96 of file GEO_TriMesh.h.
| const GEO_Vertex& GEO_TriMesh::operator() | ( | unsigned | i | ) | const [inline] |
Definition at line 95 of file GEO_TriMesh.h.
| GEO_Vertex& GEO_TriMesh::operator[] | ( | unsigned | i | ) | [inline] |
Definition at line 102 of file GEO_TriMesh.h.
| const GEO_Vertex& GEO_TriMesh::operator[] | ( | unsigned | i | ) | const [inline] |
Definition at line 97 of file GEO_TriMesh.h.
| virtual int GEO_TriMesh::pointCanDelete | ( | GB_Element * | ) | const [protected, virtual] |
| virtual void GEO_TriMesh::pointDeleted | ( | GB_Element * | pt | ) | [protected, virtual] |
| virtual int GEO_TriMesh::save | ( | ostream & | os, | |
| int | binary | |||
| ) | const [virtual] |
| virtual int GEO_TriMesh::savePrivate | ( | ostream & | os, | |
| int | binary | |||
| ) | const [protected, pure virtual] |
Implemented in GEO_Curve, GEO_Face, GEO_PrimPoly, GEO_PrimTriFan, and GEO_PrimTriStrip.
| void GEO_TriMesh::setSize | ( | unsigned int | sz | ) |
| void GEO_TriMesh::setSizeFast | ( | int | new_entries, | |
| const GB_AttributeDict & | vertex_dict | |||
| ) | [protected] |
| void GEO_TriMesh::setVertex | ( | unsigned int | i, | |
| GEO_Point * | pt | |||
| ) | [inline] |
Definition at line 109 of file GEO_TriMesh.h.
| virtual void GEO_TriMesh::unitLengthToUnitPair | ( | float | ulength, | |
| float | vlength, | |||
| float & | uparm, | |||
| float & | vparm | |||
| ) | const [virtual] |
| virtual void GEO_TriMesh::unitToUnitLengthPair | ( | float | uparm, | |
| float | vparm, | |||
| float & | ulength, | |||
| float & | vlength | |||
| ) | const [virtual] |
| virtual bool GEO_TriMesh::validate | ( | void | ) | const [protected, virtual] |
| virtual int GEO_TriMesh::vertexApply | ( | int(*)(const GB_Vertex &vtx, void *) | apply, | |
| void * | data = 0 | |||
| ) | const [virtual] |
Implements GB_Primitive.
| virtual int GEO_TriMesh::vertexApply | ( | int(*)(GB_Vertex &vtx, void *) | apply, | |
| void * | data = 0 | |||
| ) | [virtual] |
Implements GB_Primitive.
| ostream& operator<< | ( | ostream & | os, | |
| const GEO_TriMesh & | d | |||
| ) | [friend] |
Definition at line 188 of file GEO_TriMesh.h.
UT_RefArray<GEO_Vertex> GEO_TriMesh::vtxList [protected] |
Definition at line 174 of file GEO_TriMesh.h.
1.5.9