#include <interfaces.h>
◆ CameraData() [1/2]
| WSM::Utils::CameraData::CameraData |
( |
| ) |
|
|
inline |
◆ CameraData() [2/2]
◆ ComputeHorizontalFOV()
| double WSM::Utils::CameraData::ComputeHorizontalFOV |
( |
int |
nScreenWidth, |
|
|
int |
nScreenHeight |
|
) |
| const |
|
inline |
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.
- Parameters
-
| [in] | nScreenWidth |
|
| [in] | nScreenHeight |
|
◆ operator!=()
| bool WSM::Utils::CameraData::operator!= |
( |
const CameraData & |
aOther | ) |
const |
|
inline |
◆ operator=()
◆ operator==()
| bool WSM::Utils::CameraData::operator== |
( |
const CameraData & |
aOther | ) |
const |
|
inline |
◆ mDistanceToTarget
| double WSM::Utils::CameraData::mDistanceToTarget |
◆ mFar
| float WSM::Utils::CameraData::mFar = 100.0 |
◆ mFOV
| double WSM::Utils::CameraData::mFOV |
◆ mFOVTan
| double WSM::Utils::CameraData::mFOVTan |
◆ mLogicalDisplayDensity
| double WSM::Utils::CameraData::mLogicalDisplayDensity = 1.7 |
◆ mNear
| float WSM::Utils::CameraData::mNear = 1.0 |
Near/Far clipping planes.
◆ mOrthoHeight
| double WSM::Utils::CameraData::mOrthoHeight = 0.0 |
◆ mOrthoWidth
| double WSM::Utils::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.
◆ mPosX
| double WSM::Utils::CameraData::mPosX |
◆ mPosY
| double WSM::Utils::CameraData::mPosY |
◆ mPosZ
| double WSM::Utils::CameraData::mPosZ |
◆ mProjectionType
◆ mRotW
| double WSM::Utils::CameraData::mRotW |
◆ mRotX
| double WSM::Utils::CameraData::mRotX |
◆ mRotY
| double WSM::Utils::CameraData::mRotY |
◆ mRotZ
| double WSM::Utils::CameraData::mRotZ |
◆ mScreenHeight
| float WSM::Utils::CameraData::mScreenHeight = 480 |
TODO(hauswij): Are all these really needed?
◆ mScreenPickApertureScaleFactor
| double WSM::Utils::CameraData::mScreenPickApertureScaleFactor = 1.0 |
Screen pickAperture scale factor.
◆ mScreenPPI
| double WSM::Utils::CameraData::mScreenPPI = 96.0 |
◆ mScreenWidth
| float WSM::Utils::CameraData::mScreenWidth = 640 |
The documentation for this class was generated from the following file: