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

#include <cylinderSchema.h>

Public Member Functions

HD_API BuilderSetHeight (const HdDoubleDataSourceHandle &height)
 
HD_API BuilderSetRadius (const HdDoubleDataSourceHandle &radius)
 
HD_API BuilderSetRadiusTop (const HdDoubleDataSourceHandle &radiusTop)
 
HD_API BuilderSetRadiusBottom (const HdDoubleDataSourceHandle &radiusBottom)
 
HD_API BuilderSetAxis (const HdTokenDataSourceHandle &axis)
 
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 119 of file cylinderSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdCylinderSchema::Builder::Build ( )

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

HD_API Builder& HdCylinderSchema::Builder::SetAxis ( const HdTokenDataSourceHandle axis)
HD_API Builder& HdCylinderSchema::Builder::SetHeight ( const HdDoubleDataSourceHandle height)
HD_API Builder& HdCylinderSchema::Builder::SetRadius ( const HdDoubleDataSourceHandle radius)
HD_API Builder& HdCylinderSchema::Builder::SetRadiusBottom ( const HdDoubleDataSourceHandle radiusBottom)
HD_API Builder& HdCylinderSchema::Builder::SetRadiusTop ( const HdDoubleDataSourceHandle radiusTop)

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