HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_PrimGroup Class Reference

#include <GU_PrimGroup.h>

+ Inheritance diagram for GU_PrimGroup:

Public Member Functions

 GU_PrimGroup (const GU_Detail *gdp, const GA_PrimitiveTypeId &id)
 Create a detached group that we own. More...
 
 GU_PrimGroup (const char *n, GU_Detail *gdp, const GA_PrimitiveTypeId &id)
 
 GU_PrimGroup (GU_Detail *gdp, GA_PrimitiveGroup *primGroup)
 
virtual ~GU_PrimGroup ()
 
GA_PrimitiveGroupprimGroup () const
 
virtual GA_ElementGroupnewGroup (const char *name)
 
virtual GA_ElementGroupfind (const char *name) const
 
virtual void destroy (void)
 
void generateGroup (const GU_GroupParms &parms)
 
void range (int num, int, int, int, int, int) const
 
void pattern (const char *pattern, int nelements, int) const
 
void patternGroup (const char *pattern, bool order) const
 
int boundingBox (float, float, float, float, float, float, float, float, float, bool)
 
void boundingSphere (float tx, float ty, float tz, float radx, float rady, float radz, bool includeNotWhollyContained) const
 
void normal (UT_Vector3 &nml, float angle) const
 
void backface (const UT_Vector3 &eye) const
 
void degenerate (bool degenerate, bool zaf, bool doOpen, float tol) const
 
void nonplanar (float tol) const
 
- Public Member Functions inherited from GU_ElementGroup
 GU_ElementGroup (GU_Detail *gdp)
 
virtual ~GU_ElementGroup ()
 
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, GA_Group *group1, bool negate1, GA_Group *group2, bool negate2) const
 
GA_ElementGroupelementGroup () const
 
- Public Member Functions inherited from GU_Group
 GU_Group (GU_Detail *gdp)
 
virtual ~GU_Group ()
 
GA_Groupgroup () const
 

Additional Inherited Members

- Protected Member Functions inherited from GU_Group
void getRangeValues (int, int &, int &, int &, int &) const
 
bool pointInsideSphere (const GU_Detail *gdp, GA_Offset ptoff, float a, float b, float c, float tx, float ty, float tz) const
 
GU_Detailgdp () const
 
UT_BoundingBoxgetBBox () const
 
void setGroup (GA_Group *grp)
 
void deleteBBox ()
 
- Static Protected Member Functions inherited from GU_Group
static int isBackface (UT_Vector3 pos, UT_Vector3 nml, UT_Vector3 eye)
 

Detailed Description

Definition at line 28 of file GU_PrimGroup.h.

Constructor & Destructor Documentation

GU_PrimGroup::GU_PrimGroup ( const GU_Detail gdp,
const GA_PrimitiveTypeId id 
)
inline

Create a detached group that we own.

Definition at line 32 of file GU_PrimGroup.h.

GU_PrimGroup::GU_PrimGroup ( const char *  n,
GU_Detail gdp,
const GA_PrimitiveTypeId id 
)
inline

Definition at line 36 of file GU_PrimGroup.h.

GU_PrimGroup::GU_PrimGroup ( GU_Detail gdp,
GA_PrimitiveGroup primGroup 
)
inline

Definition at line 40 of file GU_PrimGroup.h.

virtual GU_PrimGroup::~GU_PrimGroup ( )
virtual

Member Function Documentation

void GU_PrimGroup::backface ( const UT_Vector3 eye) const
int GU_PrimGroup::boundingBox ( float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
bool   
)
virtual

Reimplemented from GU_Group.

void GU_PrimGroup::boundingSphere ( float  tx,
float  ty,
float  tz,
float  radx,
float  rady,
float  radz,
bool  includeNotWhollyContained 
) const
virtual

Implements GU_Group.

void GU_PrimGroup::degenerate ( bool  degenerate,
bool  zaf,
bool  doOpen,
float  tol 
) const
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.

Implements GU_Group.

virtual void GU_PrimGroup::destroy ( void  )
virtual

Implements GU_Group.

virtual GA_ElementGroup* GU_PrimGroup::find ( const char *  name) const
virtual

Implements GU_Group.

void GU_PrimGroup::generateGroup ( const GU_GroupParms parms)
virtual

Implements GU_Group.

virtual GA_ElementGroup* GU_PrimGroup::newGroup ( const char *  name)
virtual

Implements GU_Group.

void GU_PrimGroup::nonplanar ( float  tol) const
void GU_PrimGroup::normal ( UT_Vector3 nml,
float  angle 
) const
virtual

Implements GU_Group.

void GU_PrimGroup::pattern ( const char *  pattern,
int  nelements,
int   
) const
virtual

Implements GU_Group.

void GU_PrimGroup::patternGroup ( const char *  pattern,
bool  order 
) const
virtual

Implements GU_Group.

GA_PrimitiveGroup* GU_PrimGroup::primGroup ( ) const
void GU_PrimGroup::range ( int  num,
int  ,
int  ,
int  ,
int  ,
int   
) const
virtual

Implements GU_Group.


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