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

#include <GU_PointGroup.h>

+ Inheritance diagram for GU_PointGroup:

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)
 
virtual ~GU_PointGroup ()
 
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, int, int, int, int, int) const
 
void pattern (const char *pattern, int nelements, int order) const
 
void patternGroup (const char *pattern, bool order) const
 
int boundingBox (float tx, float ty, float tz, float halfx, float halfy, float halfz, float rx, float ry, float rz, bool includeNotWhollyContained)
 
void boundingSphere (float tx, float ty, float tz, float radx, float rady, float radz, bool includeNotWhollyContained) const
 
void boundingObject (const GU_RayIntersect *rayTree) const
 
void boundingVolume (const GU_Detail *vgdp, fpreal iso, bool invert) 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 edgeDist (const GA_PointGroup *ptgroup, int depth) 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
 

Protected Member Functions

 THREADED_METHOD_CONST (GU_PointGroup, gdp() ->getNumPoints() > 5000, unorderedBoundingBox) void unorderedBoundingBoxPartial(const UT_JobInfo &info) const
 
 THREADED_METHOD6_CONST (GU_PointGroup, gdp() ->getNumPoints() > 5000, unorderedBoundingSphere, float, a, float, b, float, c, float, tx, float, ty, float, tz) void unorderedBoundingSpherePartial(float a
 
 THREADED_METHOD1_CONST (GU_PointGroup, gdp() ->getNumPoints() > 5000, unorderedBoundingObject, const GU_RayIntersect *, rayTree) void unorderedBoundingObjectPartial(const GU_RayIntersect *rayTree
 
 THREADED_METHOD3_CONST (GU_PointGroup, gdp() ->getNumPoints() > 5000, unorderedBoundVolume, const UT_ValArray< const GEO_Primitive * > &, vlist, float, iso, bool, invert) void unorderedBoundVolumePartial(const UT_ValArray< const GEO_Primitive * > &vlist
 
- 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 ()
 

Protected Attributes

float b
 
float float c
 
float float float tx
 
float float float float ty
 
float float float float float tz
 
float float float float float
const UT_JobInfo &info 
const
 
const UT_JobInfo &info const
 
float iso
 
float bool invert
 
float bool const UT_JobInfo &info const
 

Additional Inherited Members

- 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_PointGroup.h.

Constructor & Destructor Documentation

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 
)
virtual GU_PointGroup::~GU_PointGroup ( )
virtual

Member Function Documentation

void GU_PointGroup::backface ( const UT_Vector3 eye) const
int GU_PointGroup::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_PointGroup::boundingObject ( const GU_RayIntersect rayTree) const
void GU_PointGroup::boundingSphere ( float  tx,
float  ty,
float  tz,
float  radx,
float  rady,
float  radz,
bool  includeNotWhollyContained 
) const
virtual

Implements GU_Group.

void GU_PointGroup::boundingVolume ( const GU_Detail vgdp,
fpreal  iso,
bool  invert 
) const
void GU_PointGroup::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_PointGroup::destroy ( void  )
virtual

Implements GU_Group.

void GU_PointGroup::edgeDist ( const GA_PointGroup ptgroup,
int  depth 
) const
virtual GA_ElementGroup* GU_PointGroup::find ( const char *  name) const
virtual

Implements GU_Group.

void GU_PointGroup::generateGroup ( const GU_GroupParms parms)
virtual

Implements GU_Group.

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

Implements GU_Group.

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

Implements GU_Group.

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

Implements GU_Group.

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

Implements GU_Group.

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

Implements GU_Group.

GU_PointGroup::THREADED_METHOD1_CONST ( GU_PointGroup  ,
gdp() ->getNumPoints()  ,
5000  ,
unorderedBoundingObject  ,
const GU_RayIntersect ,
rayTree   
) const
protected
GU_PointGroup::THREADED_METHOD3_CONST ( GU_PointGroup  ,
gdp() ->getNumPoints()  ,
5000  ,
unorderedBoundVolume  ,
const UT_ValArray< const GEO_Primitive * > &  ,
vlist  ,
float  ,
iso  ,
bool  ,
invert   
) const
protected
GU_PointGroup::THREADED_METHOD6_CONST ( GU_PointGroup  ,
gdp() ->getNumPoints()  ,
5000  ,
unorderedBoundingSphere  ,
float  ,
a  ,
float  ,
b  ,
float  ,
c  ,
float  ,
tx  ,
float  ,
ty  ,
float  ,
tz   
)
protected
GU_PointGroup::THREADED_METHOD_CONST ( GU_PointGroup  ,
gdp() ->getNumPoints()  ,
5000  ,
unorderedBoundingBox   
) const
protected

Member Data Documentation

float GU_PointGroup::b
protected

Definition at line 88 of file GU_PointGroup.h.

float float GU_PointGroup::c
protected

Definition at line 88 of file GU_PointGroup.h.

float float float float float const UT_JobInfo& info GU_PointGroup::const
protected

Definition at line 88 of file GU_PointGroup.h.

const UT_JobInfo& info GU_PointGroup::const
protected

Definition at line 100 of file GU_PointGroup.h.

float bool const UT_JobInfo& info GU_PointGroup::const
protected

Definition at line 109 of file GU_PointGroup.h.

float bool GU_PointGroup::invert
protected

Definition at line 109 of file GU_PointGroup.h.

float GU_PointGroup::iso
protected

Definition at line 109 of file GU_PointGroup.h.

float float float GU_PointGroup::tx
protected

Definition at line 88 of file GU_PointGroup.h.

float float float float GU_PointGroup::ty
protected

Definition at line 88 of file GU_PointGroup.h.

float float float float float GU_PointGroup::tz
protected

Definition at line 88 of file GU_PointGroup.h.


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