#include <GEO_PrimTube.h>

Public Member Functions | |
| GEO_PrimTube (GEO_Detail *d) | |
| ~GEO_PrimTube () | |
| virtual unsigned | getPrimitiveId () const |
| 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 | evaluatePointWAttrib (UT_Vector4 &pos, GB_AttributeData &adata, const GB_FloatOffsets &foffsets, float u, float v=0, unsigned du=0, unsigned dv=0) const |
| virtual int | getBBox (UT_BoundingBox *bbox) const |
| virtual void | addToBSphere (UT_BoundingSphere *bsphere) const |
| virtual GEO_Primitive * | copy (int preserve_shared_pts=0) const |
| virtual void | copyPrimitive (const GEO_Primitive *src, GEO_Point **ptredirect) |
| virtual int | hasGuideEdge (int edgeid, UT_Vector4 &a, UT_Vector4 &b) const |
| virtual int | hasXsectPoint (int pointid, UT_Vector4 &p) const |
| unsigned | endcaps (void) const |
| void | setEndCaps (int onOff) |
| float | getTaper (void) const |
| void | setTaper (float t) |
| float | getCaptureRegionWeight (const UT_Vector3 &pos, int tubeCaptAtrOffset) const |
| virtual float | calcVolume (UT_Vector3 &refpt) const |
| virtual float | calcArea () const |
| virtual float | calcPerimeter () const |
Static Public Member Functions | |
| static float | computeCaptureRegionWeight (const UT_Vector3 &pos, float bcap, float tcap, float taperx, float taperz, float min_weight, float max_weight) |
Protected Member Functions | |
| virtual void | copyOffsetPrimitive (const GEO_Primitive *src, int basept) |
| virtual int | savePrivate (ostream &os, int binary) const |
| virtual bool | loadPrivate (UT_IStream &is) |
Friends | |
| ostream & | operator<< (ostream &os, const GEO_PrimTube &d) |
Definition at line 86 of file GEO_PrimTube.h.
| GEO_PrimTube::GEO_PrimTube | ( | GEO_Detail * | d | ) |
| GEO_PrimTube::~GEO_PrimTube | ( | ) |
| virtual void GEO_PrimTube::addToBSphere | ( | UT_BoundingSphere * | bsphere | ) | const [virtual] |
Implements GB_Primitive.
| virtual float GEO_PrimTube::calcArea | ( | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual float GEO_PrimTube::calcPerimeter | ( | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual float GEO_PrimTube::calcVolume | ( | UT_Vector3 & | refpt | ) | const [virtual] |
Reimplemented from GEO_Primitive.
| static float GEO_PrimTube::computeCaptureRegionWeight | ( | const UT_Vector3 & | pos, | |
| float | bcap, | |||
| float | tcap, | |||
| float | taperx, | |||
| float | taperz, | |||
| float | min_weight, | |||
| float | max_weight | |||
| ) | [static] |
| virtual GEO_Primitive* GEO_PrimTube::copy | ( | int | preserve_shared_pts = 0 |
) | const [virtual] |
Reimplemented from GEO_Quadric.
| virtual void GEO_PrimTube::copyOffsetPrimitive | ( | const GEO_Primitive * | src, | |
| int | basept | |||
| ) | [protected, virtual] |
Reimplemented from GEO_Quadric.
| virtual void GEO_PrimTube::copyPrimitive | ( | const GEO_Primitive * | src, | |
| GEO_Point ** | ptredirect | |||
| ) | [virtual] |
Reimplemented from GEO_Quadric.
| unsigned GEO_PrimTube::endcaps | ( | void | ) | const [inline] |
Definition at line 121 of file GEO_PrimTube.h.
| virtual int GEO_PrimTube::evaluatePoint | ( | UT_Vector4 & | pos, | |
| float | u, | |||
| float | v = 0, |
|||
| unsigned | du = 0, |
|||
| unsigned | dv = 0 | |||
| ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual bool GEO_PrimTube::evaluatePoint | ( | GEO_Vertex & | result, | |
| GEO_AttributeHandleList & | hlist, | |||
| fpreal | u, | |||
| fpreal | v, | |||
| uint | du, | |||
| uint | dv | |||
| ) | const [virtual] |
Implements GEO_Primitive.
| virtual int GEO_PrimTube::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.
| virtual int GEO_PrimTube::getBBox | ( | UT_BoundingBox * | bbox | ) | const [virtual] |
Implements GEO_Quadric.
| float GEO_PrimTube::getCaptureRegionWeight | ( | const UT_Vector3 & | pos, | |
| int | tubeCaptAtrOffset | |||
| ) | const |
| virtual unsigned GEO_PrimTube::getPrimitiveId | ( | ) | const [virtual] |
Implements GEO_Quadric.
| float GEO_PrimTube::getTaper | ( | void | ) | const [inline] |
Definition at line 123 of file GEO_PrimTube.h.
| virtual int GEO_PrimTube::hasGuideEdge | ( | int | edgeid, | |
| UT_Vector4 & | a, | |||
| UT_Vector4 & | b | |||
| ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual int GEO_PrimTube::hasXsectPoint | ( | int | pointid, | |
| UT_Vector4 & | p | |||
| ) | const [virtual] |
Reimplemented from GEO_Primitive.
| virtual bool GEO_PrimTube::loadPrivate | ( | UT_IStream & | is | ) | [protected, virtual] |
Reimplemented from GEO_Quadric.
| virtual int GEO_PrimTube::savePrivate | ( | ostream & | os, | |
| int | binary | |||
| ) | const [protected, virtual] |
Reimplemented from GEO_Quadric.
| void GEO_PrimTube::setEndCaps | ( | int | onOff | ) | [inline] |
Definition at line 122 of file GEO_PrimTube.h.
| void GEO_PrimTube::setTaper | ( | float | t | ) | [inline] |
Definition at line 124 of file GEO_PrimTube.h.
| ostream& operator<< | ( | ostream & | os, | |
| const GEO_PrimTube & | d | |||
| ) | [friend] |
Definition at line 160 of file GEO_PrimTube.h.
1.5.9