The Camera class - simulates the view point of the user. When the user interacts with the visualized molecule or navigates around it, he basically manipulates the camera.
More...
#include <Camera.h>
Inherits SceneObject.
The Camera class - simulates the view point of the user. When the user interacts with the visualized molecule or navigates around it, he basically manipulates the camera.
QVector3D Camera::getPosition |
( |
| ) |
|
getPosition
- Returns
- Returns the current position of the camera object
QMatrix4x4 Camera::getProjectionMatrix |
( |
| ) |
|
getProjectionMatrix
- Returns
- Returns the projection matrix of the camera object
QMatrix4x4 Camera::getViewMatrix |
( |
| ) |
|
getViewMatrix
- Returns
- Returns the view matrix of the camera object
void Camera::setProjectionMatrix |
( |
float |
verticalAngle, |
|
|
float |
aspectRatio, |
|
|
float |
nearPlane, |
|
|
float |
farPlane |
|
) |
| |
setProjectionMatrix - sets the necessary values for the initialization of a new camera object
- Parameters
-
verticalAngle | - field of view of the camera object |
aspectRatio | - width / height |
nearPlane | - near clipping plane |
farPlane | - far clipping plane |
The documentation for this class was generated from the following files: