18#ifndef PXR_IMAGING_HD_SELECTION_SCHEMA_H
19#define PXR_IMAGING_HD_SELECTION_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
24#include "pxr/imaging/hd/schemaTypeDefs.h"
26#include "pxr/imaging/hd/schema.h"
31PXR_NAMESPACE_OPEN_SCOPE
36#define HD_SELECTION_SCHEMA_TOKENS \
38 (nestedInstanceIndices) \
41 HD_SELECTION_SCHEMA_TOKENS);
46class HdSelectionSchema :
public HdSchema
52 HdSelectionSchema(HdContainerDataSourceHandle container)
64 HdBoolDataSourceHandle GetFullySelected()
const;
84 static HdContainerDataSourceHandle
86 const HdBoolDataSourceHandle &fullySelected,
87 const HdVectorDataSourceHandle &nestedInstanceIndices
101 const HdBoolDataSourceHandle &fullySelected);
103 Builder &SetNestedInstanceIndices(
104 const HdVectorDataSourceHandle &nestedInstanceIndices);
108 HdContainerDataSourceHandle
Build();
111 HdBoolDataSourceHandle _fullySelected;
112 HdVectorDataSourceHandle _nestedInstanceIndices;
119PXR_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.