35#ifndef PXR_IMAGING_HD_TET_MESH_TOPOLOGY_SCHEMA_H
36#define PXR_IMAGING_HD_TET_MESH_TOPOLOGY_SCHEMA_H
40#include "pxr/imaging/hd/api.h"
42#include "pxr/imaging/hd/schema.h"
47PXR_NAMESPACE_OPEN_SCOPE
52#define HD_TET_MESH_TOPOLOGY_SCHEMA_TOKENS \
60 HD_TET_MESH_TOPOLOGY_SCHEMA_TOKENS);
65class HdTetMeshTopologySchema :
public HdSchema
71 HdTetMeshTopologySchema(HdContainerDataSourceHandle container)
80 static HdTetMeshTopologySchema GetFromParent(
81 const HdContainerDataSourceHandle &fromParentContainer);
92 HdVec4iArrayDataSourceHandle GetTetVertexIndices()
const;
95 HdTokenDataSourceHandle GetOrientation()
const;
105 static const TfToken &GetSchemaToken();
139 static HdContainerDataSourceHandle
141 const HdVec4iArrayDataSourceHandle &tetVertexIndices,
142 const HdTokenDataSourceHandle &orientation
156 const HdVec4iArrayDataSourceHandle &tetVertexIndices);
159 const HdTokenDataSourceHandle &orientation);
163 HdContainerDataSourceHandle
Build();
166 HdVec4iArrayDataSourceHandle _tetVertexIndices;
167 HdTokenDataSourceHandle _orientation;
178 static HdTokenDataSourceHandle BuildOrientationDataSource(
184PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.