All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
meshUtil.h File Reference
+ Include dependency graph for meshUtil.h:

Go to the source code of this file.

Namespaces

 UsdMayaMeshUtil
 Utilities for dealing with USD and RenderMan for Maya mesh/subdiv tags.
 

Macros

#define PXRUSDMAYA_MESH_COLOR_SET_TOKENS
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (UsdMayaMeshColorSetTokens, PXRUSDMAYA_API, PXRUSDMAYA_MESH_COLOR_SET_TOKENS)
 
PXRUSDMAYA_API bool GetEmitNormalsTag (const MFnMesh &mesh, bool *value)
 Gets the internal emit-normals tag on the Maya mesh, placing it in value. More...
 
PXRUSDMAYA_API void SetEmitNormalsTag (MFnMesh &meshFn, const bool emitNormals)
 Sets the internal emit-normals tag on the Maya mesh. More...
 
PXRUSDMAYA_API bool GetMeshNormals (const MObject &mesh, VtArray< GfVec3f > *normalsArray, TfToken *interpolation)
 Helper method for getting Maya mesh normals as a VtVec3fArray. More...
 
PXRUSDMAYA_API TfToken GetSubdivScheme (const MFnMesh &mesh)
 Gets the subdivision scheme tagged for the Maya mesh by consulting the adaptor for UsdGeomMesh.subdivisionSurface, and then falling back to the RenderMan for Maya attribute. More...
 
PXRUSDMAYA_API TfToken GetSubdivInterpBoundary (const MFnMesh &mesh)
 Gets the subdivision interpolate boundary tagged for the Maya mesh by consulting the adaptor for UsdGeomMesh.interpolateBoundary, and then falling back to the RenderMan for Maya attribute. More...
 
PXRUSDMAYA_API TfToken GetSubdivFVLinearInterpolation (const MFnMesh &mesh)
 Gets the subdivision face-varying linear interpolation tagged for the Maya mesh by consulting the adaptor for UsdGeomMesh.faceVaryingLinearInterpolation, and then falling back to the OpenSubdiv2-style tagging. More...
 

Macro Definition Documentation

#define PXRUSDMAYA_MESH_COLOR_SET_TOKENS
Value:
((DisplayColorColorSetName, "displayColor")) \
((DisplayOpacityColorSetName, "displayOpacity"))

Definition at line 45 of file meshUtil.h.