24 #ifndef EXT_RMANPKG_24_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_CAMERA_H 25 #define EXT_RMANPKG_24_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_CAMERA_H 28 #include "hdPrman/api.h" 29 #include "hdPrman/renderParam.h" 30 #include "pxr/imaging/hd/camera.h" 31 #include "pxr/imaging/hd/timeSampleArray.h" 33 PXR_NAMESPACE_OPEN_SCOPE
58 HdDirtyBits *dirtyBits)
override;
67 float GetLensDistortionK1()
const {
68 return _lensDistortionK1;
71 float GetLensDistortionK2()
const {
72 return _lensDistortionK2;
75 const GfVec2f &GetLensDistortionCenter()
const {
76 return _lensDistortionCenter;
79 float GetLensDistortionAnaSq()
const {
80 return _lensDistortionAnaSq;
83 const GfVec2f &GetLensDistortionAsym()
const {
84 return _lensDistortionAsym;
87 float GetLensDistortionScale()
const {
88 return _lensDistortionScale;
95 float _lensDistortionK1;
96 float _lensDistortionK2;
98 float _lensDistortionAnaSq;
100 float _lensDistortionScale;
104 PXR_NAMESPACE_CLOSE_SCOPE
106 #endif // EXT_RMANPKG_24_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_CAMERA_H Hydra schema for a camera that pulls the params (see above) during Sync.
HDPRMAN_API void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
Synchronizes state from the delegate to this object.
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
Adapter class providing data exchange with the client scene graph.
A path value used to locate objects in layers or scenegraphs.
Basic type for a vector of 2 float components.
A representation for cameras that pulls on camera parameters used by Riley cameras.
HDPRMAN_API HdTimeSampleArray< GfMatrix4d, HDPRMAN_MAX_TIME_SAMPLES > const & GetTimeSampleXforms() const
Returns the time sampled xforms that were queried during Sync.