HDK
|
#include <GU_PointGroup.h>
Public Member Functions | |
GU_PointGroup (const GU_Detail *gdp, const GA_PrimitiveTypeId &id) | |
GU_PointGroup (const char *n, GU_Detail *gdp, const GA_PrimitiveTypeId &id) | |
GU_PointGroup (GU_Detail *gdp, GA_PointGroup *ptgroup) | |
~GU_PointGroup () override | |
GA_ElementGroup * | newGroup (const char *name) override |
GA_ElementGroup * | find (const char *name) const override |
void | destroy () override |
GA_PointGroup * | pointGroup () const |
void | generateGroup (const GU_GroupParms &parms) override |
void | range (int, int, int, int, int, int) const override |
void | pattern (const char *pattern, int nelements, int order) const override |
void | patternGroup (const char *pattern, bool order) const override |
int | boundingBox (float tx, float ty, float tz, float halfx, float halfy, float halfz, float rx, float ry, float rz, bool includeNotWhollyContained) override |
void | boundingSphere (float tx, float ty, float tz, float radx, float rady, float radz, bool includeNotWhollyContained) const override |
void | boundingObject (const GU_RayIntersect *rayTree) const |
void | boundingVolume (const GU_Detail *vgdp, fpreal iso, bool invert) const |
void | boundingConvexHull (const GU_Detail *vgdp, fpreal iso, bool invert, bool includeNotWhollyContained) const |
void | normal (UT_Vector3 &nml, float angle, bool include_opposite=false) const override |
void | backface (const UT_Vector3 &eye) const |
void | degenerate (bool degenerate, bool zaf, bool doOpen, float tol) const override |
void | edgeDist (const GA_PointGroup *ptgroup, int depth) const |
void | randomChance (float seed, float frac, bool use_attrib, const char *attrib_name) const override |
Public Member Functions inherited from GU_ElementGroup | |
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_ElementGroup * | elementGroup () const |
Public Member Functions inherited from GU_Group | |
GU_Group (GU_Detail *gdp) | |
virtual | ~GU_Group () |
GA_Group * | group () 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 |
bool | shouldKeepRandom (exint num, float globalseed, float frac) const |
GU_Detail * | gdp () const |
UT_BoundingBox * | getBBox () const |
void | setGroup (GA_Group *grp) |
void | deleteBBox () |
Static Protected Member Functions inherited from GU_ElementGroup | |
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) |
Definition at line 27 of file GU_PointGroup.h.
GU_PointGroup::GU_PointGroup | ( | const GU_Detail * | gdp, |
const GA_PrimitiveTypeId & | id | ||
) |
Constructor and Destructor allocate and free a ptRefArray if mask isn't GEOPRIMALL NOTE: The constructor without a name allocates a detached group that is destroyed by the destructor.
GU_PointGroup::GU_PointGroup | ( | const char * | n, |
GU_Detail * | gdp, | ||
const GA_PrimitiveTypeId & | id | ||
) |
GU_PointGroup::GU_PointGroup | ( | GU_Detail * | gdp, |
GA_PointGroup * | ptgroup | ||
) |
|
override |
void GU_PointGroup::backface | ( | const UT_Vector3 & | eye | ) | const |
|
overridevirtual |
Reimplemented from GU_Group.
void GU_PointGroup::boundingConvexHull | ( | const GU_Detail * | vgdp, |
fpreal | iso, | ||
bool | invert, | ||
bool | includeNotWhollyContained | ||
) | const |
void GU_PointGroup::boundingObject | ( | const GU_RayIntersect * | rayTree | ) | const |
|
overridevirtual |
Implements GU_Group.
|
overridevirtual |
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.
void GU_PointGroup::edgeDist | ( | const GA_PointGroup * | ptgroup, |
int | depth | ||
) | const |
|
overridevirtual |
Implements GU_Group.
|
overridevirtual |
Implements GU_Group.
|
overridevirtual |
Implements GU_Group.
|
overridevirtual |
Implements GU_Group.
|
overridevirtual |
Implements GU_Group.
|
overridevirtual |
Implements GU_Group.
GA_PointGroup* GU_PointGroup::pointGroup | ( | ) | const |
|
overridevirtual |
Implements GU_Group.
Implements GU_Group.