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

#include <splitDiopterSchema.h>

Public Member Functions

HD_API BuilderSetCount (const HdIntDataSourceHandle &count)
 
HD_API BuilderSetAngle (const HdFloatDataSourceHandle &angle)
 
HD_API BuilderSetOffset1 (const HdFloatDataSourceHandle &offset1)
 
HD_API BuilderSetWidth1 (const HdFloatDataSourceHandle &width1)
 
HD_API BuilderSetFocusDistance1 (const HdFloatDataSourceHandle &focusDistance1)
 
HD_API BuilderSetOffset2 (const HdFloatDataSourceHandle &offset2)
 
HD_API BuilderSetWidth2 (const HdFloatDataSourceHandle &width2)
 
HD_API BuilderSetFocusDistance2 (const HdFloatDataSourceHandle &focusDistance2)
 
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 109 of file splitDiopterSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdSplitDiopterSchema::Builder::Build ( )

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

HD_API Builder& HdSplitDiopterSchema::Builder::SetAngle ( const HdFloatDataSourceHandle angle)
HD_API Builder& HdSplitDiopterSchema::Builder::SetCount ( const HdIntDataSourceHandle count)
HD_API Builder& HdSplitDiopterSchema::Builder::SetFocusDistance1 ( const HdFloatDataSourceHandle focusDistance1)
HD_API Builder& HdSplitDiopterSchema::Builder::SetFocusDistance2 ( const HdFloatDataSourceHandle focusDistance2)
HD_API Builder& HdSplitDiopterSchema::Builder::SetOffset1 ( const HdFloatDataSourceHandle offset1)
HD_API Builder& HdSplitDiopterSchema::Builder::SetOffset2 ( const HdFloatDataSourceHandle offset2)
HD_API Builder& HdSplitDiopterSchema::Builder::SetWidth1 ( const HdFloatDataSourceHandle width1)
HD_API Builder& HdSplitDiopterSchema::Builder::SetWidth2 ( const HdFloatDataSourceHandle width2)

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