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

#include <cameraSchema.h>

Public Member Functions

HD_API BuilderSetProjection (const HdTokenDataSourceHandle &projection)
 
HD_API BuilderSetHorizontalAperture (const HdFloatDataSourceHandle &horizontalAperture)
 
HD_API BuilderSetVerticalAperture (const HdFloatDataSourceHandle &verticalAperture)
 
HD_API BuilderSetHorizontalApertureOffset (const HdFloatDataSourceHandle &horizontalApertureOffset)
 
HD_API BuilderSetVerticalApertureOffset (const HdFloatDataSourceHandle &verticalApertureOffset)
 
HD_API BuilderSetFocalLength (const HdFloatDataSourceHandle &focalLength)
 
HD_API BuilderSetClippingRange (const HdVec2fDataSourceHandle &clippingRange)
 
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 104 of file cameraSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdCameraSchema::Builder::Build ( )

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

HD_API Builder& HdCameraSchema::Builder::SetClippingRange ( const HdVec2fDataSourceHandle clippingRange)
HD_API Builder& HdCameraSchema::Builder::SetFocalLength ( const HdFloatDataSourceHandle focalLength)
HD_API Builder& HdCameraSchema::Builder::SetHorizontalAperture ( const HdFloatDataSourceHandle horizontalAperture)
HD_API Builder& HdCameraSchema::Builder::SetHorizontalApertureOffset ( const HdFloatDataSourceHandle horizontalApertureOffset)
HD_API Builder& HdCameraSchema::Builder::SetProjection ( const HdTokenDataSourceHandle projection)
HD_API Builder& HdCameraSchema::Builder::SetVerticalAperture ( const HdFloatDataSourceHandle verticalAperture)
HD_API Builder& HdCameraSchema::Builder::SetVerticalApertureOffset ( const HdFloatDataSourceHandle verticalApertureOffset)

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