GU_Measure Class Reference

#include <GU_Measure.h>

List of all members.

Static Public Member Functions

static void computePerimeter (GU_Detail &gdp, GEO_AttributeHandle &perimeter, const GB_PrimitiveGroup *group)
static void computeArea (GU_Detail &gdp, GEO_AttributeHandle &area, const GB_PrimitiveGroup *group)
static void computeCurvature (GU_Detail &gdp, GEO_AttributeHandle &curvature, GEO_AttributeHandle &normal, const GB_PointGroup *pgroup, fpreal min, fpreal max)
static void computeVolume (GU_Detail &gdp, UT_Vector3 &refpt, GEO_AttributeHandle &volume, const GB_PrimitiveGroup *group)


Detailed Description

Definition at line 31 of file GU_Measure.h.


Member Function Documentation

static void GU_Measure::computeArea ( GU_Detail gdp,
GEO_AttributeHandle area,
const GB_PrimitiveGroup group 
) [static]

Measure the area of primitives The area of each primitive will be computed and stored in the attribute handle passed in. The attribute handle MUST point to a primitive attribute.

static void GU_Measure::computeCurvature ( GU_Detail gdp,
GEO_AttributeHandle curvature,
GEO_AttributeHandle normal,
const GB_PointGroup pgroup,
fpreal  min,
fpreal  max 
) [static]

Measure the curvature of points The curvature of each point will be computed and stored in the attribute handle passed in. The normal attribute handle should point to an attribute containing the normal for each point (which does not have to be normalized). This is used in the curvature computations. The curvature computed is an approximation which is more accurate for polygon meshes. No special code is used to compute curvature on higher order surfaces.

static void GU_Measure::computePerimeter ( GU_Detail gdp,
GEO_AttributeHandle perimeter,
const GB_PrimitiveGroup group 
) [static]

Measure the perimeter of primitives The perimeter of each primitive will be computed and stored in the attribute handle passed in. The attribute handle MUST point to a primitive attribute.

static void GU_Measure::computeVolume ( GU_Detail gdp,
UT_Vector3 refpt,
GEO_AttributeHandle volume,
const GB_PrimitiveGroup group 
) [static]


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

Generated on Fri May 25 00:10:28 2012 for HDK by  doxygen 1.5.9