24#ifndef PXR_IMAGING_HDSI_TET_MESH_CONVERSION_SCENE_INDEX_H
25#define PXR_IMAGING_HDSI_TET_MESH_CONVERSION_SCENE_INDEX_H
28#include "pxr/imaging/hdsi/api.h"
29#include "pxr/imaging/hd/filteringSceneIndex.h"
34PXR_NAMESPACE_OPEN_SCOPE
48 static HdsiTetMeshConversionSceneIndexRefPtr
49 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex);
59 const HdSceneIndexBaseRefPtr &inputSceneIndex);
75 static void _ComputeSurfaceFaces(
76 const VtVec4iArray& tetVertexIndices,
77 VtVec3iArray *surfaceFaceIndices);
81PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
A scene index converting TetMeshes into standard triangle based Meshes.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource) for the object at primPath.
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.