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

#include <lensDistortionSchema.h>

Public Member Functions

HD_API BuilderSetType (const HdTokenDataSourceHandle &type)
 
HD_API BuilderSetK1 (const HdFloatDataSourceHandle &k1)
 
HD_API BuilderSetK2 (const HdFloatDataSourceHandle &k2)
 
HD_API BuilderSetCenter (const HdVec2fDataSourceHandle &center)
 
HD_API BuilderSetAnaSq (const HdFloatDataSourceHandle &anaSq)
 
HD_API BuilderSetAsym (const HdVec2fDataSourceHandle &asym)
 
HD_API BuilderSetScale (const HdFloatDataSourceHandle &scale)
 
HD_API BuilderSetIor (const HdFloatDataSourceHandle &ior)
 
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 111 of file lensDistortionSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdLensDistortionSchema::Builder::Build ( )

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

HD_API Builder& HdLensDistortionSchema::Builder::SetAnaSq ( const HdFloatDataSourceHandle anaSq)
HD_API Builder& HdLensDistortionSchema::Builder::SetAsym ( const HdVec2fDataSourceHandle asym)
HD_API Builder& HdLensDistortionSchema::Builder::SetCenter ( const HdVec2fDataSourceHandle center)
HD_API Builder& HdLensDistortionSchema::Builder::SetIor ( const HdFloatDataSourceHandle ior)
HD_API Builder& HdLensDistortionSchema::Builder::SetK1 ( const HdFloatDataSourceHandle k1)
HD_API Builder& HdLensDistortionSchema::Builder::SetK2 ( const HdFloatDataSourceHandle k2)
HD_API Builder& HdLensDistortionSchema::Builder::SetScale ( const HdFloatDataSourceHandle scale)
HD_API Builder& HdLensDistortionSchema::Builder::SetType ( const HdTokenDataSourceHandle type)

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