SmApiUsdTessellatedBrep#
Defined in SM_API_USD/inc/SmApiUsdTessellate.h
-
struct SmApiUsdTessellatedBrep#
FILE NAME — SmApiUsdTessellate.h PURPOSE: Tessellate a loaded BrepArray prim into UsdGeomMesh-ready arrays.
Unlike the file-based SmApiUsd.h, this uses pxr types. Mesh data for one Brep of a BrepArray. A negative packed index marks a whole-prim failure. Boundaries are kept even if the surface fails.
Public Members
-
std::int64_t m_iPackedBrepIndex = -1#
-
SmStatus m_sStatus = SM_ERR#
SM_SUCCESS when the mesh arrays are valid.
-
std::string m_sMessage#
why m_sStatus is not SM_SUCCESS
-
pxr::VtIntArray m_sFailedFaces#
GetFaces() indices of faces that failed.
-
SmStatus m_sBoundaryStatus = SM_SUCCESS#
GetBoundaryData status.
-
pxr::VtArray<pxr::GfVec3f> m_sBoundaryPoints#
see GetBoundaryData
-
pxr::VtIntArray m_sBoundaryVertexCounts#
-
pxr::VtArray<pxr::GfVec3f> m_sExtent#
this and below: see GetTessellatedMeshData
-
pxr::VtArray<pxr::GfVec3f> m_sPoints#
-
pxr::VtIntArray m_sFaceVertexCounts#
-
pxr::VtIntArray m_sFaceVertexIndices#
-
pxr::VtArray<pxr::GfVec3f> m_sNormals#
-
pxr::VtIntArray m_sNormalsIndices#
-
pxr::TfToken m_sNormalsInterpolation#
-
pxr::TfToken m_sSubdivisionScheme#
-
pxr::VtArray<pxr::VtIntArray> m_sSubsetIndices#
-
pxr::VtArray<pxr::SdfPath> m_sSubsetMaterialPaths#
-
pxr::SdfPath m_sMaterialPath#
bound by a “brep” GeomSubset; empty if the BrepArray’s binding applies
-
std::int64_t m_iPackedBrepIndex = -1#