HDK
|
#include <lensDistortionSchema.h>
Public Member Functions | |
HD_API Builder & | SetType (const HdTokenDataSourceHandle &type) |
HD_API Builder & | SetK1 (const HdFloatDataSourceHandle &k1) |
HD_API Builder & | SetK2 (const HdFloatDataSourceHandle &k2) |
HD_API Builder & | SetCenter (const HdVec2fDataSourceHandle ¢er) |
HD_API Builder & | SetAnaSq (const HdFloatDataSourceHandle &anaSq) |
HD_API Builder & | SetAsym (const HdVec2fDataSourceHandle &asym) |
HD_API Builder & | SetScale (const HdFloatDataSourceHandle &scale) |
HD_API Builder & | SetIor (const HdFloatDataSourceHandle &ior) |
HD_API HdContainerDataSourceHandle | Build () |
Returns a container data source containing the members set thus far. More... | |
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.
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 | ) |