GU_Group Class Reference

#include <GU_Group.h>

Inheritance diagram for GU_Group:

GU_PointGroup GU_PrimGroup

List of all members.

Public Member Functions

 GU_Group (GU_Detail *gdp, unsigned mask=0xffffffff)
virtual ~GU_Group ()
virtual GB_GroupnewGroup (const char *)=0
virtual GB_Groupfind (const char *) const =0
virtual void destroy (void)=0
virtual bool boolean (GU_GroupBoolOp boolop, const UT_String &group1, bool negate1, const UT_String &group2, bool negate2) const
virtual bool boolean (GU_GroupBoolOp boolop, GB_Group *group1, bool negate1, GB_Group *group2, bool negate2) const
GB_Groupgroup () const

Protected Member Functions

virtual void generateGroup (const GU_GroupParms &parms)=0
virtual void range (int, int, int, int, int, int) const =0
void getRangeValues (int, int &, int &, int &, int &) const
virtual void pattern (char *pattern, int nelements, int order) const =0
virtual int boundingBox (float, float, float, float, float, float, float, float, float)
virtual void boundingSphere (float, float, float, float, float, float) const =0
virtual void normal (UT_Vector3 &nml, float angle) const =0
virtual void degenerate (bool degenerate, bool zaf, bool doOpen, float tol) const =0
int isBackface (const UT_Vector4 &pos, const UT_Vector3 &nml, const UT_Vector3 &eye) const
int pointInsideSphere (const GEO_Point *ppt, float a, float b, float c, float tx, float ty, float tz) const
GU_Detailgdp () const
unsigned mask () const
UT_BoundingBoxgetBBox () const
void setGroup (GB_Group *grp)
void deleteBBox ()


Detailed Description

Definition at line 122 of file GU_Group.h.


Constructor & Destructor Documentation

GU_Group::GU_Group ( GU_Detail gdp,
unsigned  mask = 0xffffffff 
)

virtual GU_Group::~GU_Group (  )  [virtual]


Member Function Documentation

virtual bool GU_Group::boolean ( GU_GroupBoolOp  boolop,
GB_Group group1,
bool  negate1,
GB_Group group2,
bool  negate2 
) const [virtual]

virtual bool GU_Group::boolean ( GU_GroupBoolOp  boolop,
const UT_String group1,
bool  negate1,
const UT_String group2,
bool  negate2 
) const [virtual]

virtual int GU_Group::boundingBox ( float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float   
) [protected, virtual]

Reimplemented in GU_PointGroup, and GU_PrimGroup.

virtual void GU_Group::boundingSphere ( float  ,
float  ,
float  ,
float  ,
float  ,
float   
) const [protected, pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

virtual void GU_Group::degenerate ( bool  degenerate,
bool  zaf,
bool  doOpen,
float  tol 
) const [protected, pure virtual]

Select just those items that are degenerate, or are zero area faces. Set degenerate flag to select degenerates. Set the zaf flag to select zero area faces. Set the doOpen flag to treat open faces as closed. Set tol for a tolerance used in detecting degeneracies.

Implemented in GU_PointGroup, and GU_PrimGroup.

void GU_Group::deleteBBox (  )  [protected]

virtual void GU_Group::destroy ( void   )  [pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

virtual GB_Group* GU_Group::find ( const char *   )  const [pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

GU_Detail* GU_Group::gdp (  )  const [inline, protected]

Definition at line 197 of file GU_Group.h.

virtual void GU_Group::generateGroup ( const GU_GroupParms parms  )  [protected, pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

UT_BoundingBox* GU_Group::getBBox (  )  const [inline, protected]

Definition at line 199 of file GU_Group.h.

void GU_Group::getRangeValues ( int  ,
int &  ,
int &  ,
int &  ,
int &   
) const [protected]

GB_Group* GU_Group::group (  )  const [inline]

Definition at line 142 of file GU_Group.h.

int GU_Group::isBackface ( const UT_Vector4 pos,
const UT_Vector3 nml,
const UT_Vector3 eye 
) const [protected]

unsigned GU_Group::mask (  )  const [inline, protected]

Definition at line 198 of file GU_Group.h.

virtual GB_Group* GU_Group::newGroup ( const char *   )  [pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

virtual void GU_Group::normal ( UT_Vector3 nml,
float  angle 
) const [protected, pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

virtual void GU_Group::pattern ( char *  pattern,
int  nelements,
int  order 
) const [protected, pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

int GU_Group::pointInsideSphere ( const GEO_Point ppt,
float  a,
float  b,
float  c,
float  tx,
float  ty,
float  tz 
) const [protected]

virtual void GU_Group::range ( int  ,
int  ,
int  ,
int  ,
int  ,
int   
) const [protected, pure virtual]

Implemented in GU_PointGroup, and GU_PrimGroup.

void GU_Group::setGroup ( GB_Group grp  )  [inline, protected]

Definition at line 202 of file GU_Group.h.


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

Generated on Fri May 25 00:10:28 2012 for HDK by  doxygen 1.5.9