MinVR::CameraTraditional::CameraTraditional |
( |
) | |
|
|
inline |
virtual MinVR::CameraTraditional::~CameraTraditional |
( |
) | |
|
|
inlinevirtual |
virtual void MinVR::CameraTraditional::applyProjectionAndCameraMatrices |
( |
) | |
|
|
pure virtual |
This method sets the openGL projection and modelview matrices based on the current head position and objectToWorldMatrix. The projection matrix is set so that the camera is centered between the eyes.
Implements MinVR::AbstractCamera.
virtual void MinVR::CameraTraditional::applyProjectionAndCameraMatricesForLeftEye |
( |
) | |
|
|
pure virtual |
This method sets the openGL projection and modelview matrices based on the current head position and objectToWorldMatrix. The projection matrix is set so that the camera is for the left eye for stereoscopic rendering.
Implements MinVR::AbstractCamera.
virtual void MinVR::CameraTraditional::applyProjectionAndCameraMatricesForRightEye |
( |
) | |
|
|
pure virtual |
This method sets the openGL projection and modelview matrices based on the current head position and objectToWorldMatrix. The projection matrix is set so that the camera is for the right eye for stereoscopic rendering.
Implements MinVR::AbstractCamera.
virtual void MinVR::CameraTraditional::setObjectToWorldMatrix |
( |
glm::mat4 |
obj2World) | |
|
|
pure virtual |
This method sets the transformation between the current object (model) space and world (room) coordinate system. It is used when setting the opengl modelview matrix.
Implements MinVR::AbstractCamera.
virtual void MinVR::CameraTraditional::updateHeadTrackingFrame |
( |
glm::mat4 |
newHeadFrame) | |
|
|
pure virtual |
This method is called by the MVREngine to update the current head position for cameras which take into account the head position when calculating the projection matrix.
- Parameters
-
[in] | The | new head position. |
Implements MinVR::AbstractCamera.
The documentation for this class was generated from the following file: