HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Cusp.h File Reference
#include "GU_API.h"
#include <GA/GA_Handle.h>
#include <SYS/SYS_Types.h>
+ Include dependency graph for GU_Cusp.h:

Go to the source code of this file.

Enumerations

enum  GU_CuspFunction { GU_CUSP_ANY = 0, GU_CUSP_AVERAGE, GU_CUSP_MIN, GU_CUSP_MAX }
 
enum  GU_CuspMaskType { GU_CUSP_INCLUDE, GU_CUSP_EXCLUDE }
 

Functions

GU_API void GUcusp (GU_Detail *gdp, const GA_EdgeGroup &edges, bool cut_boundaries=false, const GA_PrimitiveGroup *prims=0)
 
GU_API void GUcusp (GU_Detail *gdp, const UT_Array< GEO_Hedge > &hedges, bool cut_boundaries=false, const GA_PrimitiveGroup *prims=0, const GEO_DetachedHedgeInterface *hip=0)
 
GU_API void GUcusp (GU_Detail *gdp, const GA_VertexGroup *vtxs, bool cut_boundaries=false, const GA_PrimitiveGroup *prims=0, const GEO_DetachedHedgeInterface *hip=0)
 
GU_API void GUcomputeVertexNormals (GU_Detail *gdp, GA_RWHandleV3 vnh, fpreal cusp_angle, GA_ROHandleV3 pnh=GA_ROHandleV3(nullptr), bool attrib_cusp=true, const GA_PrimitiveGroup *prims=nullptr, GA_VertexGroup *vtxs=nullptr, GA_EdgeGroup *always_cusp=nullptr, GA_EdgeGroup *never_cusp=nullptr, GEO_DetachedHedgeInterface *hip=nullptr, bool use_angle_weights=false)
 
template<class T >
GU_API UT_ClassifierGUclassifyVertices (const GU_Detail *gdp, const GEO_DetachedHedgeInterface *dhip, const GA_PointGroup *pts, T &hedge_selector, const GA_PrimitiveGroup *prims, GA_PointGroup *nontrivial_ptgrp, GA_VertexGroup *runover_vtxgrp)
 
GU_API void GUpointCusp (GU_Detail *gdp, const UT_Classifier *vtx_classes, const GA_PointGroup *pts=0, const GA_PrimitiveGroup *prims=0, const GA_VertexGroup *mask_classes=0, GU_CuspMaskType mask_type=GU_CUSP_INCLUDE)
 
GU_API void GUattributeCusp (GU_Detail *gdp, const UT_Classifier *vtx_classes, GA_Attribute *attrib, GA_ROHandleF &wth, GU_CuspFunction cusp_fn=GU_CUSP_ANY, const GA_PrimitiveGroup *prims=0, const GA_VertexGroup *mask_classes=0, GU_CuspMaskType mask_type=GU_CUSP_INCLUDE)
 
GU_API void GUattributeCusp (GU_Detail *gdp, const UT_Classifier *vtx_classes, GA_AttributeRefMap &refmap, GA_ROHandleF &wth, GU_CuspFunction cusp_fn=GU_CUSP_ANY, const GA_PrimitiveGroup *prims=0, const GA_VertexGroup *mask_classes=0, GU_CuspMaskType mask_type=GU_CUSP_INCLUDE)
 

Enumeration Type Documentation

Enumerator
GU_CUSP_ANY 
GU_CUSP_AVERAGE 
GU_CUSP_MIN 
GU_CUSP_MAX 

Definition at line 162 of file GU_Cusp.h.

Enumerator
GU_CUSP_INCLUDE 
GU_CUSP_EXCLUDE 

Definition at line 170 of file GU_Cusp.h.

Function Documentation

GU_API void GUattributeCusp ( GU_Detail gdp,
const UT_Classifier vtx_classes,
GA_Attribute attrib,
GA_ROHandleF wth,
GU_CuspFunction  cusp_fn = GU_CUSP_ANY,
const GA_PrimitiveGroup prims = 0,
const GA_VertexGroup mask_classes = 0,
GU_CuspMaskType  mask_type = GU_CUSP_INCLUDE 
)
GU_API void GUattributeCusp ( GU_Detail gdp,
const UT_Classifier vtx_classes,
GA_AttributeRefMap refmap,
GA_ROHandleF wth,
GU_CuspFunction  cusp_fn = GU_CUSP_ANY,
const GA_PrimitiveGroup prims = 0,
const GA_VertexGroup mask_classes = 0,
GU_CuspMaskType  mask_type = GU_CUSP_INCLUDE 
)
template<class T >
GU_API UT_Classifier* GUclassifyVertices ( const GU_Detail gdp,
const GEO_DetachedHedgeInterface dhip,
const GA_PointGroup pts,
T &  hedge_selector,
const GA_PrimitiveGroup prims,
GA_PointGroup nontrivial_ptgrp,
GA_VertexGroup runover_vtxgrp 
)
GU_API void GUcomputeVertexNormals ( GU_Detail gdp,
GA_RWHandleV3  vnh,
fpreal  cusp_angle,
GA_ROHandleV3  pnh = GA_ROHandleV3(nullptr),
bool  attrib_cusp = true,
const GA_PrimitiveGroup prims = nullptr,
GA_VertexGroup vtxs = nullptr,
GA_EdgeGroup always_cusp = nullptr,
GA_EdgeGroup never_cusp = nullptr,
GEO_DetachedHedgeInterface hip = nullptr,
bool  use_angle_weights = false 
)
GU_API void GUcusp ( GU_Detail gdp,
const GA_EdgeGroup edges,
bool  cut_boundaries = false,
const GA_PrimitiveGroup prims = 0 
)
GU_API void GUcusp ( GU_Detail gdp,
const UT_Array< GEO_Hedge > &  hedges,
bool  cut_boundaries = false,
const GA_PrimitiveGroup prims = 0,
const GEO_DetachedHedgeInterface hip = 0 
)
GU_API void GUcusp ( GU_Detail gdp,
const GA_VertexGroup vtxs,
bool  cut_boundaries = false,
const GA_PrimitiveGroup prims = 0,
const GEO_DetachedHedgeInterface hip = 0 
)
GU_API void GUpointCusp ( GU_Detail gdp,
const UT_Classifier vtx_classes,
const GA_PointGroup pts = 0,
const GA_PrimitiveGroup prims = 0,
const GA_VertexGroup mask_classes = 0,
GU_CuspMaskType  mask_type = GU_CUSP_INCLUDE 
)