18#ifndef PXR_IMAGING_HD_CONE_SCHEMA_H
19#define PXR_IMAGING_HD_CONE_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_CONE_SCHEMA_TOKENS \
45 HD_CONE_SCHEMA_TOKENS);
56 HdConeSchema(HdContainerDataSourceHandle container)
65 static HdConeSchema GetFromParent(
66 const HdContainerDataSourceHandle &fromParentContainer);
77 HdDoubleDataSourceHandle GetHeight()
const;
80 HdDoubleDataSourceHandle GetRadius()
const;
83 HdTokenDataSourceHandle GetAxis()
const;
93 static const TfToken &GetSchemaToken();
113 static HdContainerDataSourceHandle
115 const HdDoubleDataSourceHandle &height,
116 const HdDoubleDataSourceHandle &radius,
117 const HdTokenDataSourceHandle &axis
131 const HdDoubleDataSourceHandle &height);
134 const HdDoubleDataSourceHandle &radius);
137 const HdTokenDataSourceHandle &axis);
141 HdContainerDataSourceHandle
Build();
144 HdDoubleDataSourceHandle _height;
145 HdDoubleDataSourceHandle _radius;
146 HdTokenDataSourceHandle _axis;
158 static HdTokenDataSourceHandle BuildAxisDataSource(
164PXR_NAMESPACE_CLOSE_SCOPE
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.
Represents an object that can identify the location of a data source.
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.