24 #ifndef PXR_IMAGING_HD_CAMERA_H
25 #define PXR_IMAGING_HD_CAMERA_H
48 #define HD_CAMERA_TOKENS \
51 (horizontalAperture) \
53 (horizontalApertureOffset) \
54 (verticalApertureOffset) \
64 ((splitDiopterCount, "splitDiopter:count")) \
65 ((splitDiopterAngle, "splitDiopter:angle")) \
66 ((splitDiopterOffset1, "splitDiopter:offset1")) \
67 ((splitDiopterWidth1, "splitDiopter:width1")) \
68 ((splitDiopterFocusDistance1, "splitDiopter:focusDistance1")) \
69 ((splitDiopterOffset2, "splitDiopter:offset2")) \
70 ((splitDiopterWidth2, "splitDiopter:width2")) \
71 ((splitDiopterFocusDistance2, "splitDiopter:focusDistance2")) \
84 ((lensDistortionType, "lensDistortion:type")) \
85 ((lensDistortionK1, "lensDistortion:k1")) \
86 ((lensDistortionK2, "lensDistortion:k2")) \
87 ((lensDistortionCenter, "lensDistortion:center")) \
88 ((lensDistortionAnaSq, "lensDistortion:anaSq")) \
89 ((lensDistortionAsym, "lensDistortion:asym")) \
90 ((lensDistortionScale, "lensDistortion:scale")) \
91 ((lensDistortionIor, "lensDistortion:ior"))
355 #endif // PXR_IMAGING_HD_CAMERA_H
float _splitDiopterOffset1
float GetSplitDiopterWidth2() const
TF_DECLARE_PUBLIC_TOKENS(HdCameraTokens, HD_API, HD_CAMERA_TOKENS)
Projection GetProjection() const
Returns whether camera is orthographic and perspective.
float GetSplitDiopterWidth1() const
float GetLensDistortionK1() const
float _splitDiopterOffset2
GfMatrix4d const & GetTransform() const
Camera parameters accessor API.
float GetLensDistortionAnaSq() const
float GetHorizontalApertureOffset() const
Returns horizontal aperture offset in world units.
float GetSplitDiopterFocusDistance1() const
double GetShutterClose() const
GfVec2f _lensDistortionCenter
float GetFocusDistance() const
Returns focus distance in world units.
float _horizontalAperture
float GetSplitDiopterOffset1() const
GfVec2f _lensDistortionAsym
CameraUtilConformWindowPolicy _windowPolicy
const GfVec2f & GetLensDistortionCenter() const
float _lensDistortionScale
float GetDofAspect() const
float GetSplitDiopterOffset2() const
float GetVerticalAperture() const
Returns vertical aperture in world units.
GfRange1f const & GetClippingRange() const
Returns near and far plane in world units.
std::vector< GfVec4d > _clipPlanes
float GetExposure() const
float GetFocalLength() const
Returns focal length in world units.
TfToken _lensDistortionType
float GetHorizontalAperture() const
Returns horizontal aperture in world units.
float _verticalApertureOffset
float GetSplitDiopterAngle() const
TfToken GetLensDistortionType() const
float _lensDistortionAnaSq
HD_API HdCamera(SdfPath const &id)
double GetShutterOpen() const
const GfVec2f & GetLensDistortionAsym() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API HdDirtyBits GetInitialDirtyBitsMask() const override
float GetLensDistortionScale() const
const CameraUtilConformWindowPolicy & GetWindowPolicy() const
float _splitDiopterWidth2
HD_API GfMatrix4d ComputeProjectionMatrix() const
Convenience API for rasterizers.
#define PXR_NAMESPACE_CLOSE_SCOPE
float _splitDiopterFocusDistance2
float _horizontalApertureOffset
std::vector< GfVec4d > ClipPlanesVector
std::vector< GfVec4d > const & GetClipPlanes() const
Returns any additional clipping planes defined in camera space.
int GetSplitDiopterCount() const
float GetVerticalApertureOffset() const
Returns vertical aperture offset in world units.
HD_API ~HdCamera() override
float GetSplitDiopterFocusDistance2() const
float GetFStop() const
Returns fstop of camera.
float _splitDiopterWidth1
float GetLensDistortionIor() const
float _splitDiopterFocusDistance1
float GetLensDistortionK2() const
HD_API void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Sprim API.