HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_CameraParms.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  * A minimalist representation of a camera's parms (except transform).
8  *
9  */
10 
11 #ifndef __UT_Camera_h__
12 #define __UT_Camera_h__
13 
14 #include "UT_API.h"
15 
16 // Projections for cameras.
17 // Using the "OBJ" naming for historical reasons.
19 {
24 };
25 
27 {
28 public:
30  { setDefaults(); }
31 
32  void setDefaults();
33 
34  float focal; // Focal length
35  float aperture; // Aperture
36  float aspect; // Aspect ratio
37  float focus; // Focus distance
38  float fstop; // F-Stop;
39  float curvature; // Lens curvature
40  int xres, yres; // Resolution for camera
41  float cropx[2]; // Min max for cropping in x
42  float cropy[2]; // Min max for cropping in y
43  float winx[2]; // Sub-windowing in X
44  float winy[2]; // Sub-windowing in Y
45  float mynear, myfar; // Near/Far clipping planes
46  float shutterTime; // Shutter time for the camera
48  float orthoZoom; // Orthographic zoom
49 };
50 
51 
52 #endif // __UT_Camera_h__
#define UT_API
Definition: UT_API.h:14
OBJ_ProjectionType
OBJ_ProjectionType projection