#include <SphericalCamera.h>
Inheritance diagram for Moteur3D::SphericalCamera:

Public Member Functions | |
| SphericalCamera () | |
| Constructor. | |
| ~SphericalCamera () | |
| Destructor. | |
| void | Rotate (float phiAngle, float thetaAngle) |
| Rotates the Camera in spherical coordinates which center is the point the camera is looking at and radius is the distance between this center and the camera's current position. | |
| void | RotatePhi (float angle) |
| Rotates the Camera in spherical coordinates, around the Phi axis (rotation in the x-y plane). The camera will keep on looking at the center of the sphere. | |
| void | RotateTheta (float angle) |
| Rotates the Camera in spherical coordinates, around the Theta axis (increases elevation). The camera will keep on looking at the center of the sphere. Note that there's a minimum and maximum value for the phi angle, so that the camera can't make a circle around the sphere. | |
| void | NearObject (float distance) |
| Increases or decreases distance between the camera and the center of the sphere. A positive value will decrease distance, while a negative value will increase it. | |
| float | GetMinDist () |
| Gets the minimal sphere radius. | |
| void | SetMinDist (float minDist) |
| Sets the minimal sphere radius. | |
| float | GetMaxDist () |
| Gets the maximal sphere radius. | |
| void | SetMaxDist (float maxDist) |
| Sets the maximal sphere radius. | |
Private Attributes | |
| float | m_MinDistance |
| minimum sphere's radius. | |
| float | m_MaxDistance |
| maximum sphere's radius. | |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Gets the maximal sphere radius.
|
|
|
Gets the minimal sphere radius.
|
|
|
Increases or decreases distance between the camera and the center of the sphere. A positive value will decrease distance, while a negative value will increase it.
|
|
||||||||||||
|
Rotates the Camera in spherical coordinates which center is the point the camera is looking at and radius is the distance between this center and the camera's current position.
|
|
|
Rotates the Camera in spherical coordinates, around the Phi axis (rotation in the x-y plane). The camera will keep on looking at the center of the sphere.
|
|
|
Rotates the Camera in spherical coordinates, around the Theta axis (increases elevation). The camera will keep on looking at the center of the sphere. Note that there's a minimum and maximum value for the phi angle, so that the camera can't make a circle around the sphere.
|
|
|
Sets the maximal sphere radius.
|
|
|
Sets the minimal sphere radius.
|
|
|
maximum sphere's radius.
|
|
|
minimum sphere's radius.
|
1.4.4