18 #ifndef PXR_IMAGING_HD_CAMERA_SCHEMA_H
19 #define PXR_IMAGING_HD_CAMERA_SCHEMA_H
38 #define HD_CAMERA_SCHEMA_TOKENS \
41 (horizontalAperture) \
43 (horizontalApertureOffset) \
44 (verticalApertureOffset) \
56 (exposureResponsivity) \
57 (linearExposureScale) \
62 (namespacedProperties) \
88 const HdContainerDataSourceHandle &fromParentContainer);
241 static HdContainerDataSourceHandle
263 const HdContainerDataSourceHandle &splitDiopter,
264 const HdContainerDataSourceHandle &lensDistortion,
265 const HdContainerDataSourceHandle &namespacedProperties
339 const HdContainerDataSourceHandle &splitDiopter);
342 const HdContainerDataSourceHandle &lensDistortion);
345 const HdContainerDataSourceHandle &namespacedProperties);
349 HdContainerDataSourceHandle
Build();
372 HdContainerDataSourceHandle _splitDiopter;
373 HdContainerDataSourceHandle _lensDistortion;
374 HdContainerDataSourceHandle _namespacedProperties;
static HD_API const HdDataSourceLocator & GetExposureResponsivityLocator()
Prim-level relative data source locator to locate exposureResponsivity.
HD_API Builder & SetFocusOn(const HdBoolDataSourceHandle &focusOn)
HdDoubleDataSource::Handle HdDoubleDataSourceHandle
HD_API HdSplitDiopterSchema GetSplitDiopter() const
HD_API HdFloatDataSourceHandle GetExposureResponsivity() const
HD_API HdVec4dArrayDataSourceHandle GetClippingPlanes() const
HdFloatDataSource::Handle HdFloatDataSourceHandle
HD_API HdFloatDataSourceHandle GetFocusDistance() const
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 HdFloatDataSourceHandle &exposureTime, const HdFloatDataSourceHandle &exposureIso, const HdFloatDataSourceHandle &exposureFStop, const HdFloatDataSourceHandle &exposureResponsivity, const HdFloatDataSourceHandle &linearExposureScale, const HdBoolDataSourceHandle &focusOn, const HdFloatDataSourceHandle &dofAspect, const HdContainerDataSourceHandle &splitDiopter, const HdContainerDataSourceHandle &lensDistortion, const HdContainerDataSourceHandle &namespacedProperties)
static HD_API HdTokenDataSourceHandle BuildProjectionDataSource(const TfToken &projection)
static HD_API const HdDataSourceLocator & GetExposureTimeLocator()
Prim-level relative data source locator to locate exposureTime.
HD_API HdFloatDataSourceHandle GetHorizontalAperture() const
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 HdDoubleDataSourceHandle GetShutterClose() const
HD_API HdFloatDataSourceHandle GetLinearExposureScale() const
static HD_API const HdDataSourceLocator & GetNamespacedPropertiesLocator()
Prim-level relative data source locator to locate namespacedProperties.
HD_API HdTokenDataSourceHandle GetProjection() const
HD_API HdFloatDataSourceHandle GetExposureFStop() const
HD_API HdFloatDataSourceHandle GetFocalLength() const
HD_API Builder & SetNamespacedProperties(const HdContainerDataSourceHandle &namespacedProperties)
#define HD_CAMERA_SCHEMA_TOKENS
HD_API HdVec2fDataSourceHandle GetClippingRange() const
HD_API Builder & SetLensDistortion(const HdContainerDataSourceHandle &lensDistortion)
HD_API Builder & SetSplitDiopter(const HdContainerDataSourceHandle &splitDiopter)
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HD_API HdFloatDataSourceHandle GetExposure() const
HD_API HdFloatDataSourceHandle GetVerticalApertureOffset() const
HD_API HdFloatDataSourceHandle GetDofAspect() const
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 GetExposureIso() const
HD_API HdFloatDataSourceHandle GetVerticalAperture() const
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API Builder & SetFocalLength(const HdFloatDataSourceHandle &focalLength)
HdVec2fDataSource::Handle HdVec2fDataSourceHandle
static HD_API const TfToken & GetSchemaToken()
HdCameraSchema(HdContainerDataSourceHandle container)
static HD_API const HdDataSourceLocator & GetShutterOpenLocator()
Prim-level relative data source locator to locate shutterOpen.
HD_API Builder & SetExposureTime(const HdFloatDataSourceHandle &exposureTime)
HD_API Builder & SetDofAspect(const HdFloatDataSourceHandle &dofAspect)
TF_DECLARE_PUBLIC_TOKENS(HdCameraSchemaTokens, HD_API, HD_CAMERA_SCHEMA_TOKENS)
HD_API Builder & SetExposureFStop(const HdFloatDataSourceHandle &exposureFStop)
static HD_API const HdDataSourceLocator & GetLinearExposureScaleLocator()
Prim-level relative data source locator to locate linearExposureScale.
static HD_API const HdDataSourceLocator & GetExposureFStopLocator()
Prim-level relative data source locator to locate exposureFStop.
HD_API HdFloatDataSourceHandle GetExposureTime() const
HD_API HdLensDistortionSchema GetLensDistortion() const
HD_API Builder & SetExposureIso(const HdFloatDataSourceHandle &exposureIso)
static HD_API HdCameraSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API Builder & SetClippingRange(const HdVec2fDataSourceHandle &clippingRange)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static HD_API const HdDataSourceLocator & GetExposureLocator()
Prim-level relative data source locator to locate exposure.
HD_API Builder & SetVerticalApertureOffset(const HdFloatDataSourceHandle &verticalApertureOffset)
HD_API Builder & SetFocusDistance(const HdFloatDataSourceHandle &focusDistance)
#define PXR_NAMESPACE_CLOSE_SCOPE
HdVec4dArrayDataSource::Handle HdVec4dArrayDataSourceHandle
HD_API Builder & SetLinearExposureScale(const HdFloatDataSourceHandle &linearExposureScale)
HD_API HdDoubleDataSourceHandle GetShutterOpen() const
HD_API HdFloatDataSourceHandle GetFStop() const
static HD_API const HdDataSourceLocator & GetExposureIsoLocator()
Prim-level relative data source locator to locate exposureIso.
HD_API Builder & SetExposureResponsivity(const HdFloatDataSourceHandle &exposureResponsivity)
HD_API HdBoolDataSourceHandle GetFocusOn() const
HD_API Builder & SetVerticalAperture(const HdFloatDataSourceHandle &verticalAperture)
HdTokenDataSource::Handle HdTokenDataSourceHandle
HD_API HdFloatDataSourceHandle GetHorizontalApertureOffset() const
HD_API Builder & SetHorizontalApertureOffset(const HdFloatDataSourceHandle &horizontalApertureOffset)
HD_API Builder & SetClippingPlanes(const HdVec4dArrayDataSourceHandle &clippingPlanes)
HD_API Builder & SetHorizontalAperture(const HdFloatDataSourceHandle &horizontalAperture)
HD_API HdSampledDataSourceContainerContainerSchema GetNamespacedProperties() const