18#ifndef PXR_IMAGING_HD_EXTENT_SCHEMA_H
19#define PXR_IMAGING_HD_EXTENT_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_EXTENT_SCHEMA_TOKENS \
41 HD_EXTENT_SCHEMA_TOKENS);
46class HdExtentSchema :
public HdSchema
52 HdExtentSchema(HdContainerDataSourceHandle container)
61 static HdExtentSchema GetFromParent(
62 const HdContainerDataSourceHandle &fromParentContainer);
73 HdVec3dDataSourceHandle GetMin()
const;
76 HdVec3dDataSourceHandle GetMax()
const;
86 static const TfToken &GetSchemaToken();
106 static HdContainerDataSourceHandle
108 const HdVec3dDataSourceHandle &min,
109 const HdVec3dDataSourceHandle &max
123 const HdVec3dDataSourceHandle &min);
126 const HdVec3dDataSourceHandle &max);
130 HdContainerDataSourceHandle
Build();
133 HdVec3dDataSourceHandle _min;
134 HdVec3dDataSourceHandle _max;
141PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
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.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.