HDK
|
#include <screenWindowParameters.h>
Public Member Functions | |
CAMERAUTIL_API | CameraUtilScreenWindowParameters (const GfCamera &camera, GfCamera::FOVDirection fitDirection=GfCamera::FOVHorizontal) |
const GfVec4d & | GetScreenWindow () const |
double | GetFieldOfView () const |
const GfMatrix4d & | GetZFacingViewMatrix () const |
Given a camera object, compute parameters suitable for setting up RenderMan.
Definition at line 39 of file screenWindowParameters.h.
CAMERAUTIL_API CameraUtilScreenWindowParameters::CameraUtilScreenWindowParameters | ( | const GfCamera & | camera, |
GfCamera::FOVDirection | fitDirection = GfCamera::FOVHorizontal |
||
) |
Constructs screenwindow parameter. The optional fitDirection
indicates in which direction the screenwindow will have length 2.
|
inline |
The field of view. More precisely, the full angle perspective field of view (in degrees) between screen space coordinates (-1,0) and (1,0). Give these parameters to RiProjection as parameter after "perspective".
Definition at line 59 of file screenWindowParameters.h.
|
inline |
The vector (left, right, bottom, top) defining the rectangle in the image plane. Give these parameters to RiScreenWindow.
Definition at line 52 of file screenWindowParameters.h.
|
inline |
Returns the inverse of the transform for a camera that is y-Up and z-facing (vs the OpenGL camera that is (-z)-facing). Write this transform with RiConcatTransform before RiWorldBegin.
Definition at line 65 of file screenWindowParameters.h.