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

#include <GU_PolyBevel.h>

Classes

struct  ElementIndex
 
struct  Mesh
 
struct  Patch
 

Public Types

enum  FilletShape {
  NONE = 0, SOLID, CREASE, CHAMFER,
  ROUND, PROFILE
}
 
enum  OffsetMode { FIXED_DISTANCE = 0, FIXED_WIDTH, RELATIVE_DISTANCE }
 
enum  ProfileSampling { UNIFORM = 0, CURVATURE_SENSITVE, CONTROL_POINTS }
 

Public Member Functions

 GU_PolyBevel (GU_Detail *gdp, const GU_Detail *rest_gdp=nullptr, const GEO_DetachedHedgeInterface *h=nullptr)
 
 ~GU_PolyBevel ()
 
void bevelEdges (fpreal offset, const GA_EdgeGroup *edges, OffsetMode mode, FilletShape shape, int divs, const GU_PolyBevelParms *parms)
 
void bevelPoints (fpreal offset, const GA_PointGroup *points, FilletShape shape, int divs, const GU_PolyBevelParms *parms)
 
void saveMeshBoundaryEdgesToDetailArray (const char *name)
 
void saveBevelPointsToDetailArray (const char *name)
 
void saveMeshInteriorEdgesToDetailArray (const char *name)
 
void saveLimitPtCoordsToDetailArray (const char *attrib_name)
 
const UT_Fpreal32ArraygetLimitPtCoords ()
 
const std::string getWarningMessage ()
 

Detailed Description

Definition at line 51 of file GU_PolyBevel.h.

Member Enumeration Documentation

Enumerator
NONE 
SOLID 
CREASE 
CHAMFER 
ROUND 
PROFILE 

Definition at line 54 of file GU_PolyBevel.h.

Enumerator
FIXED_DISTANCE 
FIXED_WIDTH 
RELATIVE_DISTANCE 

Definition at line 64 of file GU_PolyBevel.h.

Enumerator
UNIFORM 
CURVATURE_SENSITVE 
CONTROL_POINTS 

Definition at line 71 of file GU_PolyBevel.h.

Constructor & Destructor Documentation

GU_PolyBevel::GU_PolyBevel ( GU_Detail gdp,
const GU_Detail rest_gdp = nullptr,
const GEO_DetachedHedgeInterface h = nullptr 
)
GU_PolyBevel::~GU_PolyBevel ( )

Member Function Documentation

void GU_PolyBevel::bevelEdges ( fpreal  offset,
const GA_EdgeGroup edges,
OffsetMode  mode,
FilletShape  shape,
int  divs,
const GU_PolyBevelParms parms 
)
void GU_PolyBevel::bevelPoints ( fpreal  offset,
const GA_PointGroup points,
FilletShape  shape,
int  divs,
const GU_PolyBevelParms parms 
)
const UT_Fpreal32Array& GU_PolyBevel::getLimitPtCoords ( )
inline

Definition at line 103 of file GU_PolyBevel.h.

const std::string GU_PolyBevel::getWarningMessage ( )
inline

Definition at line 105 of file GU_PolyBevel.h.

void GU_PolyBevel::saveBevelPointsToDetailArray ( const char *  name)
void GU_PolyBevel::saveLimitPtCoordsToDetailArray ( const char *  attrib_name)
void GU_PolyBevel::saveMeshBoundaryEdgesToDetailArray ( const char *  name)
void GU_PolyBevel::saveMeshInteriorEdgesToDetailArray ( const char *  name)

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