GEO_PrimSphere Class Reference

#include <GEO_PrimSphere.h>

Inheritance diagram for GEO_PrimSphere:

GEO_Quadric GEO_Primitive GB_Primitive GB_AttributeElem GB_Element GEO_PrimMetaBall GEO_PrimMetaSQuad GU_PrimSphere GU_PrimMetaBall GU_PrimMetaSQuad

List of all members.

Public Member Functions

 GEO_PrimSphere (GEO_Detail *d)
virtual ~GEO_PrimSphere ()
virtual unsigned getPrimitiveId () const
virtual bool evaluatePoint (GEO_Vertex &result, GEO_AttributeHandleList &hlist, fpreal u, fpreal v, unsigned du, unsigned 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
virtual int evaluateNormalVector (UT_Vector3 &nml, float u, float v=0) const
virtual int getBBox (UT_BoundingBox *bbox) const
virtual void addToBSphere (UT_BoundingSphere *bsphere) const
virtual int hasGuideEdge (int edgeid, UT_Vector4 &a, UT_Vector4 &b) const
virtual int hasXsectPoint (int pointid, UT_Vector4 &p) const
virtual float calcVolume (UT_Vector3 &refpt) const
virtual float calcArea () const
virtual float calcPerimeter () const

Friends

ostream & operator<< (ostream &os, const GEO_PrimSphere &d)


Detailed Description

Definition at line 39 of file GEO_PrimSphere.h.


Constructor & Destructor Documentation

GEO_PrimSphere::GEO_PrimSphere ( GEO_Detail d  ) 

virtual GEO_PrimSphere::~GEO_PrimSphere (  )  [virtual]


Member Function Documentation

virtual void GEO_PrimSphere::addToBSphere ( UT_BoundingSphere bsphere  )  const [virtual]

Implements GB_Primitive.

virtual float GEO_PrimSphere::calcArea (  )  const [virtual]

Reimplemented from GEO_Primitive.

virtual float GEO_PrimSphere::calcPerimeter (  )  const [virtual]

Reimplemented from GEO_Primitive.

virtual float GEO_PrimSphere::calcVolume ( UT_Vector3 refpt  )  const [virtual]

Reimplemented from GEO_Primitive.

virtual int GEO_PrimSphere::evaluateNormalVector ( UT_Vector3 nml,
float  u,
float  v = 0 
) const [virtual]

Reimplemented from GEO_Primitive.

virtual int GEO_PrimSphere::evaluatePoint ( UT_Vector4 pos,
float  u,
float  v = 0,
unsigned  du = 0,
unsigned  dv = 0 
) const [virtual]

Reimplemented from GEO_Primitive.

virtual bool GEO_PrimSphere::evaluatePoint ( GEO_Vertex result,
GEO_AttributeHandleList hlist,
fpreal  u,
fpreal  v,
unsigned  du,
unsigned  dv 
) const [virtual]

virtual int SYS_DEPRECATED GEO_PrimSphere::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_PrimSphere::getBBox ( UT_BoundingBox bbox  )  const [virtual]

Implements GEO_Quadric.

virtual unsigned GEO_PrimSphere::getPrimitiveId (  )  const [virtual]

Implements GEO_Quadric.

Reimplemented in GEO_PrimMetaBall, and GEO_PrimMetaSQuad.

virtual int GEO_PrimSphere::hasGuideEdge ( int  edgeid,
UT_Vector4 a,
UT_Vector4 b 
) const [virtual]

Reimplemented from GEO_Primitive.

virtual int GEO_PrimSphere::hasXsectPoint ( int  pointid,
UT_Vector4 p 
) const [virtual]

Reimplemented from GEO_Primitive.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const GEO_PrimSphere d 
) [friend]

Definition at line 78 of file GEO_PrimSphere.h.


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:29:26 2013 for HDK by  doxygen 1.5.9