#include <GB_Primitive.h>

Public Member Functions | |
| GB_Primitive (GB_Detail *d) | |
| virtual | ~GB_Primitive () |
| virtual unsigned | getPrimitiveId () const =0 |
| virtual int | isDegenerate () const =0 |
| virtual int | save (ostream &os, int binary) const =0 |
| virtual bool | load (UT_IStream &is)=0 |
| virtual int | getBBox (UT_BoundingBox *bbox) const =0 |
| virtual void | addToBSphere (UT_BoundingSphere *bsphere) const =0 |
| virtual UT_Vector3 | baryCenter () const =0 |
| virtual UT_Vector3 | computeNormal () const =0 |
| virtual void | reverse ()=0 |
| virtual void | addPointRefToGroup (GB_PointGroup &grp) const =0 |
| virtual void | changePointRef (GB_Element *from, GB_Element *to)=0 |
| virtual void | untransform (void) |
| virtual void | isolate (void) |
| virtual int | ifDetachPoint (GB_Element *ppt) const |
| virtual int | detachPoint (GB_Element *ppt, int allVertices=1) |
| virtual int | detachPoints (GB_PointGroup &grp)=0 |
| GB_Detail * | getBaseParent () const |
| virtual int | isPointUsed (GB_Element *pt) const =0 |
| virtual int | isPointGroupUsed (const GB_PointGroup &grp) const =0 |
| virtual unsigned | getVertexCount () const =0 |
| virtual int | vertexApply (int(*apply)(GB_Vertex &vtx, void *), void *data=0)=0 |
| virtual int | vertexApply (int(*apply)(const GB_Vertex &vtx, void *), void *data=0) const =0 |
| int | memberOfAnyGroup (void) |
Protected Member Functions | |
| virtual void | pointDeleted (GB_Element *)=0 |
| virtual int | pointCanDelete (GB_Element *) const =0 |
Protected Attributes | |
| GB_Detail * | parent |
Friends | |
| class | GB_Detail |
| ostream & | operator<< (ostream &os, const GB_Primitive &d) |
Definition at line 35 of file GB_Primitive.h.
| GB_Primitive::GB_Primitive | ( | GB_Detail * | d | ) |
| virtual GB_Primitive::~GB_Primitive | ( | ) | [virtual] |
| virtual void GB_Primitive::addPointRefToGroup | ( | GB_PointGroup & | grp | ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual void GB_Primitive::addToBSphere | ( | UT_BoundingSphere * | bsphere | ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimCircle, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimSphere, GEO_PrimTriBezier, GEO_PrimTube, GEO_PrimVolume, and GEO_TriMesh.
| virtual UT_Vector3 GB_Primitive::baryCenter | ( | ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimCircle, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual void GB_Primitive::changePointRef | ( | GB_Element * | from, | |
| GB_Element * | to | |||
| ) | [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Curve, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, GEO_TPSurf, and GEO_TriMesh.
| virtual UT_Vector3 GB_Primitive::computeNormal | ( | ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Face, GEO_Hull, GEO_PrimCircle, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimTriFan, GEO_PrimTriStrip, GEO_PrimVolume, and GEO_Quadric.
| virtual int GB_Primitive::detachPoint | ( | GB_Element * | ppt, | |
| int | allVertices = 1 | |||
| ) | [virtual] |
Reimplemented in GD_Face, GEO_PrimTriBezier, and GEO_TriMesh.
| virtual int GB_Primitive::detachPoints | ( | GB_PointGroup & | grp | ) | [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| GB_Detail* GB_Primitive::getBaseParent | ( | ) | const [inline] |
Definition at line 78 of file GB_Primitive.h.
| virtual int GB_Primitive::getBBox | ( | UT_BoundingBox * | bbox | ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimCircle, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimSphere, GEO_PrimTriBezier, GEO_PrimTube, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual unsigned GB_Primitive::getPrimitiveId | ( | ) | const [pure virtual] |
Implemented in GD_PrimNURBCurve, GD_PrimPoly, GD_PrimRBezCurve, GEO_Face, GEO_Hull, GEO_PrimCircle, GEO_PrimMesh, GEO_PrimMetaBall, GEO_PrimMetaSQuad, GEO_PrimNURBCurve, GEO_PrimNURBSurf, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimPoly, GEO_PrimRBezCurve, GEO_PrimRBezSurf, GEO_PrimSphere, GEO_PrimTriBezier, GEO_PrimTriFan, GEO_PrimTriStrip, GEO_PrimTube, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual unsigned GB_Primitive::getVertexCount | ( | ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual int GB_Primitive::ifDetachPoint | ( | GB_Element * | ppt | ) | const [virtual] |
Reimplemented in GD_Face, GD_PrimNURBCurve, GD_PrimRBezCurve, GEO_Hull, GEO_PrimNURBCurve, GEO_PrimRBezCurve, GEO_PrimTriBezier, and GEO_TriMesh.
| virtual int GB_Primitive::isDegenerate | ( | ) | const [pure virtual] |
| virtual void GB_Primitive::isolate | ( | void | ) | [virtual] |
Reimplemented in GEO_PrimPasteDAG, and GEO_TPSurf.
| virtual int GB_Primitive::isPointGroupUsed | ( | const GB_PointGroup & | grp | ) | const [pure virtual] |
Implemented in GD_Primitive, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual int GB_Primitive::isPointUsed | ( | GB_Element * | pt | ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual bool GB_Primitive::load | ( | UT_IStream & | is | ) | [pure virtual] |
Implemented in GD_Face, GEO_Face, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| int GB_Primitive::memberOfAnyGroup | ( | void | ) |
| virtual int GB_Primitive::pointCanDelete | ( | GB_Element * | ) | const [protected, pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Face, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual void GB_Primitive::pointDeleted | ( | GB_Element * | ) | [protected, pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Face, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual void GB_Primitive::reverse | ( | ) | [pure virtual] |
| virtual int GB_Primitive::save | ( | ostream & | os, | |
| int | binary | |||
| ) | const [pure virtual] |
Implemented in GD_Face, GEO_Face, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, GEO_PrimVolume, GEO_Quadric, and GEO_TriMesh.
| virtual void GB_Primitive::untransform | ( | void | ) | [virtual] |
Reimplemented in GEO_PrimVolume, and GEO_Quadric.
| virtual int GB_Primitive::vertexApply | ( | int(*)(const GB_Vertex &vtx, void *) | apply, | |
| void * | data = 0 | |||
| ) | const [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, and GEO_TriMesh.
| virtual int GB_Primitive::vertexApply | ( | int(*)(GB_Vertex &vtx, void *) | apply, | |
| void * | data = 0 | |||
| ) | [pure virtual] |
Implemented in GD_Face, GD_Primitive, GEO_Hull, GEO_PrimParticle, GEO_PrimPasteDAG, GEO_PrimTriBezier, and GEO_TriMesh.
friend class GB_Detail [friend] |
| ostream& operator<< | ( | ostream & | os, | |
| const GB_Primitive & | d | |||
| ) | [friend] |
Definition at line 107 of file GB_Primitive.h.
GB_Detail* GB_Primitive::parent [protected] |
Definition at line 97 of file GB_Primitive.h.
1.5.9