HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdNurbsPatchSchema::Builder Class Reference

#include <nurbsPatchSchema.h>

Public Member Functions

HD_API BuilderSetUVertexCount (const HdIntDataSourceHandle &uVertexCount)
 
HD_API BuilderSetVVertexCount (const HdIntDataSourceHandle &vVertexCount)
 
HD_API BuilderSetUOrder (const HdIntDataSourceHandle &uOrder)
 
HD_API BuilderSetVOrder (const HdIntDataSourceHandle &vOrder)
 
HD_API BuilderSetUKnots (const HdDoubleArrayDataSourceHandle &uKnots)
 
HD_API BuilderSetVKnots (const HdDoubleArrayDataSourceHandle &vKnots)
 
HD_API BuilderSetUForm (const HdTokenDataSourceHandle &uForm)
 
HD_API BuilderSetVForm (const HdTokenDataSourceHandle &vForm)
 
HD_API BuilderSetURange (const HdVec2dDataSourceHandle &uRange)
 
HD_API BuilderSetVRange (const HdVec2dDataSourceHandle &vRange)
 
HD_API BuilderSetTrimCurve (const HdContainerDataSourceHandle &trimCurve)
 
HD_API BuilderSetOrientation (const HdTokenDataSourceHandle &orientation)
 
HD_API BuilderSetDoubleSided (const HdBoolDataSourceHandle &doubleSided)
 
HD_API HdContainerDataSourceHandle Build ()
 Returns a container data source containing the members set thus far. More...
 

Detailed Description

Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. Because all setter methods return a reference to the instance, this can be used in the "builder pattern" form.

Definition at line 162 of file nurbsPatchSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdNurbsPatchSchema::Builder::Build ( )

Returns a container data source containing the members set thus far.

HD_API Builder& HdNurbsPatchSchema::Builder::SetDoubleSided ( const HdBoolDataSourceHandle doubleSided)
HD_API Builder& HdNurbsPatchSchema::Builder::SetOrientation ( const HdTokenDataSourceHandle orientation)
HD_API Builder& HdNurbsPatchSchema::Builder::SetTrimCurve ( const HdContainerDataSourceHandle &  trimCurve)
HD_API Builder& HdNurbsPatchSchema::Builder::SetUForm ( const HdTokenDataSourceHandle uForm)
HD_API Builder& HdNurbsPatchSchema::Builder::SetUKnots ( const HdDoubleArrayDataSourceHandle uKnots)
HD_API Builder& HdNurbsPatchSchema::Builder::SetUOrder ( const HdIntDataSourceHandle uOrder)
HD_API Builder& HdNurbsPatchSchema::Builder::SetURange ( const HdVec2dDataSourceHandle uRange)
HD_API Builder& HdNurbsPatchSchema::Builder::SetUVertexCount ( const HdIntDataSourceHandle uVertexCount)
HD_API Builder& HdNurbsPatchSchema::Builder::SetVForm ( const HdTokenDataSourceHandle vForm)
HD_API Builder& HdNurbsPatchSchema::Builder::SetVKnots ( const HdDoubleArrayDataSourceHandle vKnots)
HD_API Builder& HdNurbsPatchSchema::Builder::SetVOrder ( const HdIntDataSourceHandle vOrder)
HD_API Builder& HdNurbsPatchSchema::Builder::SetVRange ( const HdVec2dDataSourceHandle vRange)
HD_API Builder& HdNurbsPatchSchema::Builder::SetVVertexCount ( const HdIntDataSourceHandle vVertexCount)

The documentation for this class was generated from the following file: