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

#include <GU_EdgeGroup.h>

+ Inheritance diagram for GU_EdgeGroup:

Public Member Functions

 GU_EdgeGroup (const GU_Detail *gdp, const GA_PrimitiveTypeId &id)
 Create a detached group that we own. More...
 
 GU_EdgeGroup (const char *n, GU_Detail *gdp, const GA_PrimitiveTypeId &id)
 
 GU_EdgeGroup (GU_Detail *gdp, GA_EdgeGroup *ptgroup)
 
virtual ~GU_EdgeGroup ()
 
virtual GA_GroupnewGroup (const char *name)
 
virtual GA_Groupfind (const char *name) const
 
virtual void destroy (void)
 
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_EdgeGroupedgeGroup () const
 
void generateGroup (const GU_GroupParms &parms)
 
void range (int, int, int, int, int, int) const
 
void pattern (const char *pattern, int nelements, int order) const
 
void patternGroup (const char *pattern, bool order) const
 
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 degenerate (bool degenerate, bool zaf, bool doOpen, float tol) const
 
int boundingBox (float tx, float ty, float tz, float halfx, float halfy, float halfz, float rx, float ry, float rz, bool includeNotWhollyContained)
 
void backface (const UT_Vector3 &eye) const
 
bool isEdgeInsideBBox (const GA_Edge &edge, bool includeNotWhollyContained) const
 
bool isEdgeInsideSphere (const GA_Edge &edge, float rx2, float ry2, float rz2, float tx, float ty, float tz, bool includeNotWhollyContained) 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 26 of file GU_EdgeGroup.h.

Constructor & Destructor Documentation

GU_EdgeGroup::GU_EdgeGroup ( const GU_Detail gdp,
const GA_PrimitiveTypeId id 
)

Create a detached group that we own.

GU_EdgeGroup::GU_EdgeGroup ( const char *  n,
GU_Detail gdp,
const GA_PrimitiveTypeId id 
)
GU_EdgeGroup::GU_EdgeGroup ( GU_Detail gdp,
GA_EdgeGroup ptgroup 
)
virtual GU_EdgeGroup::~GU_EdgeGroup ( )
virtual

Member Function Documentation

void GU_EdgeGroup::backface ( const UT_Vector3 eye) const
virtual bool GU_EdgeGroup::boolean ( GU_GroupBoolOp  boolop,
const UT_String group1,
bool  negate1,
const UT_String group2,
bool  negate2 
) const
virtual

Reimplemented from GU_Group.

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

Reimplemented from GU_Group.

int GU_EdgeGroup::boundingBox ( float  tx,
float  ty,
float  tz,
float  halfx,
float  halfy,
float  halfz,
float  rx,
float  ry,
float  rz,
bool  includeNotWhollyContained 
)
virtual

Reimplemented from GU_Group.

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

Implements GU_Group.

void GU_EdgeGroup::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_EdgeGroup::destroy ( void  )
virtual

Implements GU_Group.

GA_EdgeGroup* GU_EdgeGroup::edgeGroup ( ) const
virtual GA_Group* GU_EdgeGroup::find ( const char *  name) const
virtual

Implements GU_Group.

void GU_EdgeGroup::generateGroup ( const GU_GroupParms parms)
virtual

Implements GU_Group.

bool GU_EdgeGroup::isEdgeInsideBBox ( const GA_Edge edge,
bool  includeNotWhollyContained 
) const
bool GU_EdgeGroup::isEdgeInsideSphere ( const GA_Edge edge,
float  rx2,
float  ry2,
float  rz2,
float  tx,
float  ty,
float  tz,
bool  includeNotWhollyContained 
) const
virtual GA_Group* GU_EdgeGroup::newGroup ( const char *  name)
virtual

Implements GU_Group.

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

Implements GU_Group.

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

Implements GU_Group.

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

Implements GU_Group.

void GU_EdgeGroup::range ( int  ,
int  ,
int  ,
int  ,
int  ,
int   
) const
virtual

Implements GU_Group.


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