7#ifndef PXR_IMAGING_HDSI_TET_MESH_CONVERSION_SCENE_INDEX_H
8#define PXR_IMAGING_HDSI_TET_MESH_CONVERSION_SCENE_INDEX_H
11#include "pxr/imaging/hdsi/api.h"
12#include "pxr/imaging/hd/filteringSceneIndex.h"
17PXR_NAMESPACE_OPEN_SCOPE
31 static HdsiTetMeshConversionSceneIndexRefPtr
32 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex);
42 const HdSceneIndexBaseRefPtr &inputSceneIndex);
58 static void _ComputeSurfaceFaces(
59 const VtVec4iArray& tetVertexIndices,
60 VtVec3iArray *surfaceFaceIndices);
64PXR_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).
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.