18#ifndef PXR_IMAGING_HD_PLANE_SCHEMA_H
19#define PXR_IMAGING_HD_PLANE_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_PLANE_SCHEMA_TOKENS \
46 HD_PLANE_SCHEMA_TOKENS);
57 HdPlaneSchema(HdContainerDataSourceHandle container)
66 static HdPlaneSchema GetFromParent(
67 const HdContainerDataSourceHandle &fromParentContainer);
78 HdBoolDataSourceHandle GetDoubleSided()
const;
81 HdTokenDataSourceHandle GetAxis()
const;
84 HdDoubleDataSourceHandle GetLength()
const;
87 HdDoubleDataSourceHandle GetWidth()
const;
97 static const TfToken &GetSchemaToken();
117 static HdContainerDataSourceHandle
119 const HdBoolDataSourceHandle &doubleSided,
120 const HdTokenDataSourceHandle &axis,
121 const HdDoubleDataSourceHandle &length,
122 const HdDoubleDataSourceHandle &width
136 const HdBoolDataSourceHandle &doubleSided);
139 const HdTokenDataSourceHandle &axis);
142 const HdDoubleDataSourceHandle &length);
145 const HdDoubleDataSourceHandle &width);
149 HdContainerDataSourceHandle
Build();
152 HdBoolDataSourceHandle _doubleSided;
153 HdTokenDataSourceHandle _axis;
154 HdDoubleDataSourceHandle _length;
155 HdDoubleDataSourceHandle _width;
167 static HdTokenDataSourceHandle BuildAxisDataSource(
173PXR_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.