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 BuilderSetClippingPlanes (const HdVec4dArrayDataSourceHandle &clippingPlanes)
 
HD_API BuilderSetFStop (const HdFloatDataSourceHandle &fStop)
 
HD_API BuilderSetFocusDistance (const HdFloatDataSourceHandle &focusDistance)
 
HD_API BuilderSetShutterOpen (const HdDoubleDataSourceHandle &shutterOpen)
 
HD_API BuilderSetShutterClose (const HdDoubleDataSourceHandle &shutterClose)
 
HD_API BuilderSetExposure (const HdFloatDataSourceHandle &exposure)
 
HD_API BuilderSetFocusOn (const HdBoolDataSourceHandle &focusOn)
 
HD_API BuilderSetDofAspect (const HdFloatDataSourceHandle &dofAspect)
 
HD_API BuilderSetSplitDiopter (const HdContainerDataSourceHandle &splitDiopter)
 
HD_API BuilderSetLensDistortion (const HdContainerDataSourceHandle &lensDistortion)
 
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 232 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::SetClippingPlanes ( const HdVec4dArrayDataSourceHandle clippingPlanes)
HD_API Builder& HdCameraSchema::Builder::SetClippingRange ( const HdVec2fDataSourceHandle clippingRange)
HD_API Builder& HdCameraSchema::Builder::SetDofAspect ( const HdFloatDataSourceHandle dofAspect)
HD_API Builder& HdCameraSchema::Builder::SetExposure ( const HdFloatDataSourceHandle exposure)
HD_API Builder& HdCameraSchema::Builder::SetFocalLength ( const HdFloatDataSourceHandle focalLength)
HD_API Builder& HdCameraSchema::Builder::SetFocusDistance ( const HdFloatDataSourceHandle focusDistance)
HD_API Builder& HdCameraSchema::Builder::SetFocusOn ( const HdBoolDataSourceHandle focusOn)
HD_API Builder& HdCameraSchema::Builder::SetFStop ( const HdFloatDataSourceHandle fStop)
HD_API Builder& HdCameraSchema::Builder::SetHorizontalAperture ( const HdFloatDataSourceHandle horizontalAperture)
HD_API Builder& HdCameraSchema::Builder::SetHorizontalApertureOffset ( const HdFloatDataSourceHandle horizontalApertureOffset)
HD_API Builder& HdCameraSchema::Builder::SetLensDistortion ( const HdContainerDataSourceHandle &  lensDistortion)
HD_API Builder& HdCameraSchema::Builder::SetProjection ( const HdTokenDataSourceHandle projection)
HD_API Builder& HdCameraSchema::Builder::SetShutterClose ( const HdDoubleDataSourceHandle shutterClose)
HD_API Builder& HdCameraSchema::Builder::SetShutterOpen ( const HdDoubleDataSourceHandle shutterOpen)
HD_API Builder& HdCameraSchema::Builder::SetSplitDiopter ( const HdContainerDataSourceHandle &  splitDiopter)
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: