35#ifndef PXR_IMAGING_HD_SELECTION_SCHEMA_H
36#define PXR_IMAGING_HD_SELECTION_SCHEMA_H
40#include "pxr/imaging/hd/api.h"
41#include "pxr/imaging/hd/schemaTypeDefs.h"
43#include "pxr/imaging/hd/schema.h"
48PXR_NAMESPACE_OPEN_SCOPE
53#define HD_SELECTION_SCHEMA_TOKENS \
55 (nestedInstanceIndices) \
58 HD_SELECTION_SCHEMA_TOKENS);
63class HdSelectionSchema :
public HdSchema
69 HdSelectionSchema(HdContainerDataSourceHandle container)
81 HdBoolDataSourceHandle GetFullySelected()
const;
101 static HdContainerDataSourceHandle
103 const HdBoolDataSourceHandle &fullySelected,
104 const HdVectorDataSourceHandle &nestedInstanceIndices
118 const HdBoolDataSourceHandle &fullySelected);
120 Builder &SetNestedInstanceIndices(
121 const HdVectorDataSourceHandle &nestedInstanceIndices);
125 HdContainerDataSourceHandle
Build();
128 HdBoolDataSourceHandle _fullySelected;
129 HdVectorDataSourceHandle _nestedInstanceIndices;
136PXR_NAMESPACE_CLOSE_SCOPE
Template class wrapping a vector data source whose children are container data source conforming to a...
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.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.