HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Group Class Referenceabstract

#include <GU_Group.h>

+ Inheritance diagram for GU_Group:

Public Member Functions

 GU_Group (GU_Detail *gdp)
 
virtual ~GU_Group ()
 
virtual GA_GroupnewGroup (const char *)=0
 
virtual GA_Groupfind (const char *) const =0
 
virtual void destroy (void)=0
 
GA_Groupgroup () const
 
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
 

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 (const char *pattern, int nelements, int order) const =0
 
virtual void patternGroup (const char *pattern, bool order) const =0
 
virtual int boundingBox (float, float, float, float, float, float, float, float, float, bool)
 
virtual void boundingSphere (float, float, float, float, float, float, bool) 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
 
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

static int isBackface (UT_Vector3 pos, UT_Vector3 nml, UT_Vector3 eye)
 

Detailed Description

Definition at line 122 of file GU_Group.h.

Constructor & Destructor Documentation

GU_Group::GU_Group ( GU_Detail gdp)
virtual GU_Group::~GU_Group ( )
virtual

Member Function Documentation

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

Reimplemented in GU_EdgeGroup, and GU_ElementGroup.

virtual bool GU_Group::boolean ( GU_GroupBoolOp  boolop,
GA_Group group1,
bool  negate1,
GA_Group group2,
bool  negate2 
) const
virtual

Reimplemented in GU_EdgeGroup, and GU_ElementGroup.

virtual int GU_Group::boundingBox ( float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
bool   
)
protectedvirtual

Reimplemented in GU_EdgeGroup, GU_PrimGroup, and GU_PointGroup.

virtual void GU_Group::boundingSphere ( float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
bool   
) const
protectedpure virtual

Implemented in GU_PrimGroup, GU_EdgeGroup, and GU_PointGroup.

virtual void GU_Group::degenerate ( bool  degenerate,
bool  zaf,
bool  doOpen,
float  tol 
) const
protectedpure 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_PrimGroup, GU_EdgeGroup, and GU_PointGroup.

void GU_Group::deleteBBox ( )
protected
virtual void GU_Group::destroy ( void  )
pure virtual

Implemented in GU_PrimGroup, GU_PointGroup, and GU_EdgeGroup.

virtual GA_Group* GU_Group::find ( const char *  ) const
pure virtual

Implemented in GU_PrimGroup, GU_PointGroup, and GU_EdgeGroup.

GU_Detail* GU_Group::gdp ( ) const
inlineprotected

Definition at line 206 of file GU_Group.h.

virtual void GU_Group::generateGroup ( const GU_GroupParms parms)
protectedpure virtual

Implemented in GU_PrimGroup, GU_EdgeGroup, and GU_PointGroup.

UT_BoundingBox* GU_Group::getBBox ( ) const
inlineprotected

Definition at line 207 of file GU_Group.h.

void GU_Group::getRangeValues ( int  ,
int ,
int ,
int ,
int  
) const
protected
GA_Group* GU_Group::group ( ) const
inline

Definition at line 133 of file GU_Group.h.

static int GU_Group::isBackface ( UT_Vector3  pos,
UT_Vector3  nml,
UT_Vector3  eye 
)
staticprotected
virtual GA_Group* GU_Group::newGroup ( const char *  )
pure virtual

Implemented in GU_PrimGroup, GU_PointGroup, and GU_EdgeGroup.

virtual void GU_Group::normal ( UT_Vector3 nml,
float  angle 
) const
protectedpure virtual

Implemented in GU_PrimGroup, GU_EdgeGroup, and GU_PointGroup.

virtual void GU_Group::pattern ( const char *  pattern,
int  nelements,
int  order 
) const
protectedpure virtual

Implemented in GU_PrimGroup, GU_EdgeGroup, and GU_PointGroup.

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

Implemented in GU_PrimGroup, GU_EdgeGroup, and GU_PointGroup.

bool GU_Group::pointInsideSphere ( const GU_Detail gdp,
GA_Offset  ptoff,
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
protectedpure virtual

Implemented in GU_PrimGroup, GU_EdgeGroup, and GU_PointGroup.

void GU_Group::setGroup ( GA_Group grp)
inlineprotected

Definition at line 210 of file GU_Group.h.


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