#include <FormItCoreTypes.h>
FormIt::CameraData::CameraData |
( |
| ) |
|
|
inline |
FormIt::CameraData::CameraData |
( |
const WSM::CameraData & |
cameraData | ) |
|
FormIt::CameraData::CameraData |
( |
const 1::Transform3d & |
transf, |
|
|
FormIt::CameraProjectionType |
projectionType = FormIt::CameraProjectionType::PERSPECTIVE , |
|
|
double |
fov = 0.502 , |
|
|
double |
distToTarget = 0.0 |
|
) |
| |
double FormIt::CameraData::ComputeHorizontalFOV |
( |
int |
nScreenWidth, |
|
|
int |
nScreenHeight |
|
) |
| const |
mFOV is a half angle field of view in radians that could be either horizontal or vertical depending on the screen height and width.
This method converts to a standard full horizontal field of view in radians.
bool FormIt::CameraData::operator!= |
( |
const CameraData & |
aOther | ) |
const |
|
inline |
bool FormIt::CameraData::operator== |
( |
const CameraData & |
aOther | ) |
const |
|
inline |
double FormIt::CameraData::mDistanceToTarget |
double FormIt::CameraData::mFOV |
double FormIt::CameraData::mOrthoHeight = 0.0 |
double FormIt::CameraData::mOrthoWidth = 0.0 |
The width and height of the view when orthogonal.
Note these are only used to return data for the camera during export. These will likely need to be fully implemented when we fix orthographic views.
double FormIt::CameraData::mPosX |
double FormIt::CameraData::mPosY |
double FormIt::CameraData::mPosZ |
double FormIt::CameraData::mRotW |
double FormIt::CameraData::mRotX |
double FormIt::CameraData::mRotY |
double FormIt::CameraData::mRotZ |
The documentation for this class was generated from the following file: