35 #ifndef PXR_IMAGING_HD_CAMERA_SCHEMA_H
36 #define PXR_IMAGING_HD_CAMERA_SCHEMA_H
54 #define HD_CAMERA_SCHEMA_TOKENS \
57 (horizontalAperture) \
59 (horizontalApertureOffset) \
60 (verticalApertureOffset) \
98 const HdContainerDataSourceHandle &fromParentContainer);
205 static HdContainerDataSourceHandle
222 const HdContainerDataSourceHandle &splitDiopter,
223 const HdContainerDataSourceHandle &lensDistortion
282 const HdContainerDataSourceHandle &splitDiopter);
285 const HdContainerDataSourceHandle &lensDistortion);
289 HdContainerDataSourceHandle
Build();
307 HdContainerDataSourceHandle _splitDiopter;
308 HdContainerDataSourceHandle _lensDistortion;
HD_API HdFloatDataSourceHandle GetHorizontalAperture()
HD_API Builder & SetFocusOn(const HdBoolDataSourceHandle &focusOn)
HdDoubleDataSource::Handle HdDoubleDataSourceHandle
HD_API HdDoubleDataSourceHandle GetShutterClose()
HD_API HdFloatDataSourceHandle GetFocusDistance()
HdFloatDataSource::Handle HdFloatDataSourceHandle
HD_API HdBoolDataSourceHandle GetFocusOn()
HD_API HdLensDistortionSchema GetLensDistortion()
static HD_API HdTokenDataSourceHandle BuildProjectionDataSource(const TfToken &projection)
HD_API HdVec4dArrayDataSourceHandle GetClippingPlanes()
HD_API Builder & SetExposure(const HdFloatDataSourceHandle &exposure)
static HD_API const HdDataSourceLocator & GetShutterCloseLocator()
Prim-level relative data source locator to locate shutterClose.
HD_API Builder & SetShutterOpen(const HdDoubleDataSourceHandle &shutterOpen)
HD_API HdFloatDataSourceHandle GetExposure()
HD_API HdVec2fDataSourceHandle GetClippingRange()
HD_API HdFloatDataSourceHandle GetVerticalApertureOffset()
#define HD_CAMERA_SCHEMA_TOKENS
HD_API Builder & SetLensDistortion(const HdContainerDataSourceHandle &lensDistortion)
HD_API Builder & SetSplitDiopter(const HdContainerDataSourceHandle &splitDiopter)
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API Builder & SetProjection(const HdTokenDataSourceHandle &projection)
HD_API Builder & SetFStop(const HdFloatDataSourceHandle &fStop)
HD_API Builder & SetShutterClose(const HdDoubleDataSourceHandle &shutterClose)
HD_API HdFloatDataSourceHandle GetDofAspect()
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API Builder & SetFocalLength(const HdFloatDataSourceHandle &focalLength)
HdVec2fDataSource::Handle HdVec2fDataSourceHandle
static HD_API const TfToken & GetSchemaToken()
HdCameraSchema(HdContainerDataSourceHandle container)
HD_API HdDoubleDataSourceHandle GetShutterOpen()
static HD_API const HdDataSourceLocator & GetShutterOpenLocator()
Prim-level relative data source locator to locate shutterOpen.
HD_API Builder & SetDofAspect(const HdFloatDataSourceHandle &dofAspect)
TF_DECLARE_PUBLIC_TOKENS(HdCameraSchemaTokens, HD_API, HD_CAMERA_SCHEMA_TOKENS)
static HD_API HdCameraSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API Builder & SetClippingRange(const HdVec2fDataSourceHandle &clippingRange)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API Builder & SetVerticalApertureOffset(const HdFloatDataSourceHandle &verticalApertureOffset)
HD_API Builder & SetFocusDistance(const HdFloatDataSourceHandle &focusDistance)
HD_API HdSplitDiopterSchema GetSplitDiopter()
HD_API HdTokenDataSourceHandle GetProjection()
HD_API HdFloatDataSourceHandle GetVerticalAperture()
#define PXR_NAMESPACE_CLOSE_SCOPE
HdVec4dArrayDataSource::Handle HdVec4dArrayDataSourceHandle
static HD_API HdContainerDataSourceHandle BuildRetained(const HdTokenDataSourceHandle &projection, const HdFloatDataSourceHandle &horizontalAperture, const HdFloatDataSourceHandle &verticalAperture, const HdFloatDataSourceHandle &horizontalApertureOffset, const HdFloatDataSourceHandle &verticalApertureOffset, const HdFloatDataSourceHandle &focalLength, const HdVec2fDataSourceHandle &clippingRange, const HdVec4dArrayDataSourceHandle &clippingPlanes, const HdFloatDataSourceHandle &fStop, const HdFloatDataSourceHandle &focusDistance, const HdDoubleDataSourceHandle &shutterOpen, const HdDoubleDataSourceHandle &shutterClose, const HdFloatDataSourceHandle &exposure, const HdBoolDataSourceHandle &focusOn, const HdFloatDataSourceHandle &dofAspect, const HdContainerDataSourceHandle &splitDiopter, const HdContainerDataSourceHandle &lensDistortion)
HD_API HdFloatDataSourceHandle GetFocalLength()
HD_API Builder & SetVerticalAperture(const HdFloatDataSourceHandle &verticalAperture)
HdTokenDataSource::Handle HdTokenDataSourceHandle
HD_API Builder & SetHorizontalApertureOffset(const HdFloatDataSourceHandle &horizontalApertureOffset)
HD_API Builder & SetClippingPlanes(const HdVec4dArrayDataSourceHandle &clippingPlanes)
HD_API Builder & SetHorizontalAperture(const HdFloatDataSourceHandle &horizontalAperture)
HD_API HdFloatDataSourceHandle GetFStop()
HD_API HdFloatDataSourceHandle GetHorizontalApertureOffset()