24 #ifndef PXR_IMAGING_CAMERA_UTIL_SCREEN_WINDOW_PARAMETERS_H 25 #define PXR_IMAGING_CAMERA_UTIL_SCREEN_WINDOW_PARAMETERS_H 28 #include "pxr/imaging/cameraUtil/api.h" 31 PXR_NAMESPACE_OPEN_SCOPE
47 GfCamera::FOVHorizontal);
66 return _zFacingViewMatrix;
76 PXR_NAMESPACE_CLOSE_SCOPE
78 #endif // PXR_IMAGING_CAMERA_UTIL_SCREEN_WINDOW_PARAMETERS_H
Object-based representation of a camera.
Basic type for a vector of 4 double components.
Given a camera object, compute parameters suitable for setting up RenderMan.
double GetFieldOfView() const
The field of view.
const GfMatrix4d & GetZFacingViewMatrix() const
Returns the inverse of the transform for a camera that is y-Up and z-facing (vs the OpenGL camera tha...
FOVDirection
Direction used for Field of View or orthographic size.
Stores a 4x4 matrix of double elements.
CAMERAUTIL_API CameraUtilScreenWindowParameters(const GfCamera &camera, GfCamera::FOVDirection fitDirection=GfCamera::FOVHorizontal)
Constructs screenwindow parameter.
const GfVec4d & GetScreenWindow() const
The vector (left, right, bottom, top) defining the rectangle in the image plane.