28 #ifndef PXR_IMAGING_HD_EXTENT_SCHEMA_H 29 #define PXR_IMAGING_HD_EXTENT_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDEXTENT_SCHEMA_TOKENS \ 45 HDEXTENT_SCHEMA_TOKENS);
49 class HdExtentSchema :
public HdSchema 52 HdExtentSchema(HdContainerDataSourceHandle container)
58 HdVec3dDataSourceHandle GetMin();
60 HdVec3dDataSourceHandle GetMax();
70 static HdContainerDataSourceHandle
72 const HdVec3dDataSourceHandle &min,
73 const HdVec3dDataSourceHandle &max
87 const HdVec3dDataSourceHandle &min);
90 const HdVec3dDataSourceHandle &max);
94 HdContainerDataSourceHandle
Build();
97 HdVec3dDataSourceHandle _min;
98 HdVec3dDataSourceHandle _max;
107 static HdExtentSchema GetFromParent(
108 const HdContainerDataSourceHandle &fromParentContainer);
117 PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Represents an object that can identify the location of a data source.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
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...