HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
COP_SlapcompViewInfo.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  */
7 
8 #pragma once
9 
10 #include "COP_API.h"
11 
12 #include <UT/UT_Matrix4.h>
13 
14 class IMX_Layer;
15 
16 /// This struct holds the view metadata that's applied to the input layers
17 /// before they're piped to slapcomp.
19 {
20  fpreal myViewAspectRatio { 1.0 };
21  fpreal myAperture { 20.955 };
22  fpreal myHApertureOffset { 0.0 };
23  fpreal myVApertureOffset { 0.0 };
24  UT_Matrix4D myTransformMatrix { 1.0 };
25  fpreal myOrthoWidth { 2.0 };
26  fpreal myFocalLength { 50.0 };
27  fpreal myNearLimit { 0.01 };
28  fpreal myFarLimit { 100000.0 };
29  int myOrthoFlag { 1 };
30 
31  void applyToLayer(IMX_Layer&) const;
32 };
fpreal64 fpreal
Definition: SYS_Types.h:278
#define COP_API
Definition: COP_API.h:8