28 #ifndef PXR_IMAGING_HD_CONE_SCHEMA_H 29 #define PXR_IMAGING_HD_CONE_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDCONE_SCHEMA_TOKENS \ 49 HDCONE_SCHEMA_TOKENS);
56 HdConeSchema(HdContainerDataSourceHandle container)
62 HdDoubleDataSourceHandle GetHeight();
64 HdDoubleDataSourceHandle GetRadius();
66 HdTokenDataSourceHandle GetAxis();
76 static HdContainerDataSourceHandle
78 const HdDoubleDataSourceHandle &height,
79 const HdDoubleDataSourceHandle &radius,
80 const HdTokenDataSourceHandle &axis
94 const HdDoubleDataSourceHandle &height);
97 const HdDoubleDataSourceHandle &radius);
100 const HdTokenDataSourceHandle &axis);
104 HdContainerDataSourceHandle
Build();
107 HdDoubleDataSourceHandle _height;
108 HdDoubleDataSourceHandle _radius;
109 HdTokenDataSourceHandle _axis;
118 static HdConeSchema GetFromParent(
119 const HdContainerDataSourceHandle &fromParentContainer);
128 PXR_NAMESPACE_CLOSE_SCOPE
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
Represents an object that can identify the location of a data source.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
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...