|
static void | makeGEO (UT_Array< GU_Detail * > &result, const GT_PrimitiveHandle &prim, const GT_RefineParms *rparms=NULL, int segment=0) |
|
static void | makeGEO (UT_Array< GU_Detail * > &result, const GT_Primitive &prim, const GT_RefineParms *rparms=NULL, int segment=0) |
|
static void | makeGEO (UT_Array< GU_DetailHandle > &result, const GT_PrimitiveHandle &prim, const GT_RefineParms *parms=NULL, int segment=0) |
|
static void | makeGEO (UT_Array< GU_DetailHandle > &result, const GT_Primitive &prim, const GT_RefineParms *rparms=NULL, int segment=0) |
|
static bool | isSimpleGEO (const GT_Primitive &prim, const GT_RefineParms *rparms=NULL) |
| Test whether a primitive is atomic (i.e. converts to a single gdp) More...
|
|
static void | makeGD (GD_Detail &gdp, const GT_TrimNuCurves &curves) |
| Convert a GT_TrimNuCurves primitive to a GD_Detail for trim curves. More...
|
|
static GT_Type | getType (GA_TypeInfo type) |
| Map from GA_Type info to a GT_Type info. More...
|
|
static GA_TypeInfo | getGAType (GT_Type type) |
| Map from GT_Type to GA_TypeInfo. More...
|
|
static GT_Storage | getStorage (GA_Storage storage) |
| Map from GA_Storage to GT_Storage. More...
|
|
static GA_Storage | getGAStorage (GT_Storage storage) |
| Map from GT_Storage to GA_Storage. More...
|
|
static GT_DataArrayHandle | extractAttribute (const GA_Attribute &attrib, const GA_Range &range) |
| Extract a data array from a GA attribute. More...
|
|
static void | copyAttributeListToDetail (GU_Detail *gdp, GA_AttributeOwner owner, const GT_RefineParms *parms, const GT_AttributeListHandle &alist, int segment) |
| Copies attributes from an attribute list to a detail. More...
|
|
static bool | computeSubdivisionCreases (const GU_Detail &gdp, const GT_PrimPolygonMesh &polymesh, GT_DataArrayHandle &edge_indices, GT_DataArrayHandle &edge_sharpnesses, GT_DataArrayHandle &corner_indices, GT_DataArrayHandle &corner_sharpnesses, GT_DataArrayHandle &hole_indices) |
|
static bool | computeSubdivisionCreases (const GT_PrimPolygonMesh &polymesh, GT_DataArrayHandle &edge_indices, GT_DataArrayHandle &edge_sharpnesses, GT_DataArrayHandle &corner_indices, GT_DataArrayHandle &corner_sharpnesses, GT_DataArrayHandle &hole_indices) |
|
static void | addStandardSubdTagsFromAttribs (GT_PrimSubdivisionMesh &subd_mesh, bool allow_uniform_parms=false, const GU_Detail *gdp=nullptr) |
|
static GT_DataArrayHandle | getPointIndex (const GT_Primitive &prim, const GU_Detail &parent_detail, int npoints) |
| Return an array of the point IDs of the primitives (in GA_Index's). More...
|
|
static GT_DataArrayHandle | getPointIndex (const GT_Primitive &prim, const GU_ConstDetailHandle &geo, int npoints) |
|
static GT_DataArrayHandle | getPointOffset (const GT_Primitive &prim, const GU_Detail &parent_detail, int npoints) |
|
static GT_DataArrayHandle | getPointOffset (const GT_Primitive &prim, const GU_ConstDetailHandle &geo, int npoints) |
|
static GT_DataArrayHandle | getPrimitiveIndex (const GT_Primitive &prim, const GU_Detail &parent_dtl, bool use_nested=false) |
|
static GT_DataArrayHandle | getPrimitiveIndex (const GT_Primitive &prim, const GU_ConstDetailHandle &pdtl, bool use_nested=false) |
|
static GT_DataArrayHandle | getPrimitiveOffset (const GT_Primitive &prim, const GU_Detail &parent_dtl, bool use_nested=false) |
|
static GT_DataArrayHandle | getPrimitiveOffset (const GT_Primitive &prim, const GU_ConstDetailHandle &pdtl, bool use_nested=false) |
|
template<typename T > |
static GT_DataArrayHandle | buildPointIndirect (GT_Size *points, GT_Size npoints, GT_Size newpoints) |
|
template<typename T > |
static GT_DataArrayHandle | buildVertexIndirect (const GT_Size *points, const GT_DataArrayHandle &vtx) |
|
static GT_PrimitiveHandle | optimizePolyMeshForGL (const GT_PrimitiveHandle &mesh, const GU_ConstDetailHandle &parent_dtl, const UT_Array< int > *bone_index_remap=nullptr) |
|
static GT_PrimitiveHandle | optimizeCurveMeshForGL (const GT_PrimitiveHandle &mesh, const UT_Array< int > *bone_index_remap=nullptr) |
|
static void | addViewportLODAttribs (const UT_Array< GEO_ViewportLOD > &lods, GT_AttributeListHandle &uniform, GT_AttributeListHandle &detail) |
|
static void | addBBoxAttrib (const UT_BoundingBox &bbox, GT_AttributeListHandle &detail) |
|
Definition at line 33 of file GT_Util.h.