#include <UT_CameraParms.h>
Definition at line 33 of file UT_CameraParms.h.
| UT_CameraParms::UT_CameraParms |
( |
| ) |
|
|
inline |
| fpreal UT_CameraParms::getAspectRatio |
( |
| ) |
const |
|
inline |
Methods to get and set the parameters with UT_Options.
| bool UT_CameraParms::isOrthographic |
( |
| ) |
const |
|
inline |
Methods to serialize the parameters to a JSON stream:
"aperture":41.42136,
"pixelaspect":1,
"clipnear": 0.001
"clipfar" :1000000,
"cropmax":[1,1],
"cropmin":[0,0],
"focal":50,
"focusdistance":10,
"fstop":22.1,
"orthozoom":1,
"guidescale": 1,
"imagingdistance": 1,
"projection":"perspective",
"resolutionx" :320,
"resolutiony" : 243,
"shutteropen" : 0
"shutterclose": 0,
"windowmax":[1,1],
"windowmin":[0,0]
"metadata": {}
Methods to serialize a 3D camera to a JSON stream:
{
"camera":{
"aperture":41.42136,
"aspect":1,
"clipnear": 0.001,
"clipfar": 1000000,
"cropmax":[1,1],
"cropmin":[0,0],
"focal":50,
"focusdistance":10,
"fstop":22.1,
"orthozoom":1,
"guidescale":1,
"imagingdistance": 1
"projection":"perspective",
"resolutionx":320,
"resolutiony":243,
"shutteropen":0,
"shutterclose":0,
"windowmax":[1,1],
"windowmin":[0,0]
"metadata": {}
},
"position":[0,0,0],
"transform":[1,0,0,0,1,0,0,0,1]
}
same as above but multiplies float parameters by multiplier
adds the float parameters together which means everything but
- resolution
- metadata
- projection
Methods to serialize the parameters to a JSON stream:
"aperture":41.42136,
"pixelaspect":1,
"clipnear": 0.001
"clipfar" :1000000,
"cropmax":[1,1],
"cropmin":[0,0],
"focal":50,
"focusdistance":10,
"fstop":22.1,
"orthozoom":1,
"guidescale": 1,
"imagingdistance": 1,
"projection":"perspective",
"resolutionx" :320,
"resolutiony" : 243,
"shutteropen" : 0
"shutterclose": 0,
"windowmax":[1,1],
"windowmin":[0,0]
"metadata": {}
Methods to serialize the parameters to a JSON stream:
"aperture":41.42136,
"pixelaspect":1,
"clipnear": 0.001
"clipfar" :1000000,
"cropmax":[1,1],
"cropmin":[0,0],
"focal":50,
"focusdistance":10,
"fstop":22.1,
"orthozoom":1,
"guidescale": 1,
"imagingdistance": 1,
"projection":"perspective",
"resolutionx" :320,
"resolutiony" : 243,
"shutteropen" : 0
"shutterclose": 0,
"windowmax":[1,1],
"windowmin":[0,0]
"metadata": {}
Methods to serialize a 3D camera to a JSON stream:
{
"camera":{
"aperture":41.42136,
"aspect":1,
"clipnear": 0.001,
"clipfar": 1000000,
"cropmax":[1,1],
"cropmin":[0,0],
"focal":50,
"focusdistance":10,
"fstop":22.1,
"orthozoom":1,
"guidescale":1,
"imagingdistance": 1
"projection":"perspective",
"resolutionx":320,
"resolutiony":243,
"shutteropen":0,
"shutterclose":0,
"windowmax":[1,1],
"windowmin":[0,0]
"metadata": {}
},
"position":[0,0,0],
"transform":[1,0,0,0,1,0,0,0,1]
}
| void UT_CameraParms::setDefaults |
( |
| ) |
|
Methods to get and set the parameters with UT_Options.
sets the window from a window offset and a window size
Definition at line 173 of file UT_CameraParms.h.
| fpreal UT_CameraParms::aperture |
| fpreal UT_CameraParms::clipfar |
| fpreal UT_CameraParms::clipnear |
| fpreal UT_CameraParms::cropx[2] |
| fpreal UT_CameraParms::cropy[2] |
| fpreal UT_CameraParms::focusdistance |
| fpreal UT_CameraParms::guidescale |
| fpreal UT_CameraParms::imagingdistance |
| fpreal UT_CameraParms::orthozoom |
| fpreal UT_CameraParms::pixelaspect |
| exint UT_CameraParms::resx |
| exint UT_CameraParms::resy |
| fpreal UT_CameraParms::shutterclose |
| fpreal UT_CameraParms::shutteropen |
| fpreal UT_CameraParms::winx[2] |
| fpreal UT_CameraParms::winy[2] |
The documentation for this class was generated from the following file: