35 #ifndef PXR_IMAGING_HD_NURBS_PATCH_SCHEMA_H
36 #define PXR_IMAGING_HD_NURBS_PATCH_SCHEMA_H
55 #define HD_NURBS_PATCH_SCHEMA_TOKENS \
139 static HdContainerDataSourceHandle
151 const HdContainerDataSourceHandle &trimCurve,
197 const HdContainerDataSourceHandle &trimCurve);
207 HdContainerDataSourceHandle
Build();
220 HdContainerDataSourceHandle _trimCurve;
232 const HdContainerDataSourceHandle &fromParentContainer);
HD_API Builder & SetDoubleSided(const HdBoolDataSourceHandle &doubleSided)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API Builder & SetUVertexCount(const HdIntDataSourceHandle &uVertexCount)
HD_API HdDoubleArrayDataSourceHandle GetVKnots()
HD_API Builder & SetOrientation(const HdTokenDataSourceHandle &orientation)
HD_API HdTokenDataSourceHandle GetUForm()
HD_API Builder & SetUForm(const HdTokenDataSourceHandle &uForm)
#define HD_NURBS_PATCH_SCHEMA_TOKENS
HD_API Builder & SetVOrder(const HdIntDataSourceHandle &vOrder)
static HD_API HdTokenDataSourceHandle BuildFormDataSource(const TfToken &form)
HD_API Builder & SetVVertexCount(const HdIntDataSourceHandle &vVertexCount)
HD_API HdDoubleArrayDataSourceHandle GetUKnots()
HdDoubleArrayDataSource::Handle HdDoubleArrayDataSourceHandle
HD_API HdNurbsPatchTrimCurveSchema GetTrimCurve()
HD_API Builder & SetUKnots(const HdDoubleArrayDataSourceHandle &uKnots)
static HD_API HdTokenDataSourceHandle BuildOrientationDataSource(const TfToken &orientation)
HD_API Builder & SetURange(const HdVec2dDataSourceHandle &uRange)
HD_API Builder & SetVRange(const HdVec2dDataSourceHandle &vRange)
HD_API HdIntDataSourceHandle GetVVertexCount()
HD_API HdIntDataSourceHandle GetUVertexCount()
HD_API Builder & SetUOrder(const HdIntDataSourceHandle &uOrder)
HD_API HdIntDataSourceHandle GetVOrder()
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API HdVec2dDataSourceHandle GetVRange()
HD_API Builder & SetVKnots(const HdDoubleArrayDataSourceHandle &vKnots)
HD_API HdTokenDataSourceHandle GetVForm()
static HD_API HdNurbsPatchSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API HdVec2dDataSourceHandle GetURange()
HD_API Builder & SetVForm(const HdTokenDataSourceHandle &vForm)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static HD_API const TfToken & GetSchemaToken()
HD_API HdTokenDataSourceHandle GetOrientation()
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdBoolDataSourceHandle GetDoubleSided()
HD_API Builder & SetTrimCurve(const HdContainerDataSourceHandle &trimCurve)
HdIntDataSource::Handle HdIntDataSourceHandle
HD_API HdIntDataSourceHandle GetUOrder()
static HD_API HdContainerDataSourceHandle BuildRetained(const HdIntDataSourceHandle &uVertexCount, const HdIntDataSourceHandle &vVertexCount, const HdIntDataSourceHandle &uOrder, const HdIntDataSourceHandle &vOrder, const HdDoubleArrayDataSourceHandle &uKnots, const HdDoubleArrayDataSourceHandle &vKnots, const HdTokenDataSourceHandle &uForm, const HdTokenDataSourceHandle &vForm, const HdVec2dDataSourceHandle &uRange, const HdVec2dDataSourceHandle &vRange, const HdContainerDataSourceHandle &trimCurve, const HdTokenDataSourceHandle &orientation, const HdBoolDataSourceHandle &doubleSided)
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HdTokenDataSource::Handle HdTokenDataSourceHandle
TF_DECLARE_PUBLIC_TOKENS(HdNurbsPatchSchemaTokens, HD_API, HD_NURBS_PATCH_SCHEMA_TOKENS)
HdNurbsPatchSchema(HdContainerDataSourceHandle container)
HdVec2dDataSource::Handle HdVec2dDataSourceHandle