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

#include <GU_ElementGroup.h>

+ Inheritance diagram for GU_ElementGroup:

Public Member Functions

 GU_ElementGroup (GU_Detail *gdp)
 
 ~GU_ElementGroup () override
 
bool boolean (GU_GroupBoolOp boolop, const UT_String &group1, bool negate1, const UT_String &group2, bool negate2) const override
 
bool boolean (GU_GroupBoolOp boolop, GA_Group *group1, bool negate1, GA_Group *group2, bool negate2) const override
 
GA_ElementGroupelementGroup () const
 
- Public Member Functions inherited from GU_Group
 GU_Group (GU_Detail *gdp)
 
virtual ~GU_Group ()
 
virtual GA_GroupnewGroup (const char *)=0
 
virtual GA_Groupfind (const char *) const =0
 
virtual void destroy ()=0
 
GA_Groupgroup () const
 

Static Protected Member Functions

static bool enableThreadedWrites (GA_ElementGroup &grp, exint range_entries)
 
- Static Protected Member Functions inherited from GU_Group
static int isBackface (UT_Vector3 pos, UT_Vector3 nml, UT_Vector3 eye)
 

Additional Inherited Members

- Protected Member Functions inherited from GU_Group
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, bool include_opposite) const =0
 
virtual void degenerate (bool degenerate, bool zaf, bool doOpen, float tol) const =0
 
virtual void randomChance (float seed, float frac, bool use_attrib, const char *attrib_name) const =0
 
bool pointInsideSphere (const GU_Detail *gdp, GA_Offset ptoff, float a, float b, float c, float tx, float ty, float tz) const
 
bool shouldKeepRandom (exint num, float globalseed, float frac) const
 
GU_Detailgdp () const
 
UT_BoundingBoxgetBBox () const
 
void setGroup (GA_Group *grp)
 
void deleteBBox ()
 

Detailed Description

Definition at line 21 of file GU_ElementGroup.h.

Constructor & Destructor Documentation

GU_ElementGroup::GU_ElementGroup ( GU_Detail gdp)
GU_ElementGroup::~GU_ElementGroup ( )
override

Member Function Documentation

bool GU_ElementGroup::boolean ( GU_GroupBoolOp  boolop,
const UT_String group1,
bool  negate1,
const UT_String group2,
bool  negate2 
) const
overridevirtual

Reimplemented from GU_Group.

bool GU_ElementGroup::boolean ( GU_GroupBoolOp  boolop,
GA_Group group1,
bool  negate1,
GA_Group group2,
bool  negate2 
) const
overridevirtual

Reimplemented from GU_Group.

GA_ElementGroup* GU_ElementGroup::elementGroup ( ) const
static bool GU_ElementGroup::enableThreadedWrites ( GA_ElementGroup grp,
exint  range_entries 
)
staticprotected

Determines whether threading should be enabled, based on the size of the range being processed and whether the group is unordered. If threading is enabled, calls grp.invalidateGroupEntries() since elements will be toggled in parallel.


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