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

#include <capsuleSchema.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 capsuleSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdCapsuleSchema::Builder::Build ( )

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

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

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