#include <BALL/VIEW/KERNEL/stage.h>
List of all members.
Detailed Description
Camera with viewpoint, a look at point and an up-vector.
Constructor & Destructor Documentation
BALL::VIEW::Camera::Camera |
( |
|
) |
|
BALL::VIEW::Camera::Camera |
( |
const Camera & |
camera |
) |
|
BALL::VIEW::Camera::Camera |
( |
const Vector3 & |
view_point, |
|
|
const Vector3 & |
look_at, |
|
|
const Vector3 & |
look_up_vector | |
|
) |
| | |
virtual BALL::VIEW::Camera::~Camera |
( |
|
) |
[inline, virtual] |
Member Function Documentation
void BALL::VIEW::Camera::calculateVectors_ |
( |
|
) |
[protected] |
virtual void BALL::VIEW::Camera::clear |
( |
|
) |
[inline, virtual] |
Reset Camera to standard values.
virtual void BALL::VIEW::Camera::dump |
( |
std::ostream & |
s = std::cout , |
|
|
Size |
depth = 0 | |
|
) |
| | const [virtual] |
Internal value dump. Dump the current state of this instance to the output ostream s with dumping depth depth.
- Parameters:
-
| s | output stream |
| depth | the dumping depth |
float BALL::VIEW::Camera::getDistance |
( |
|
) |
const [inline] |
Get the distance between the view point and the look at point.
const Vector3& BALL::VIEW::Camera::getLookAtPosition |
( |
|
) |
const [inline] |
Get the direction of the camera.
const Vector3& BALL::VIEW::Camera::getLookUpVector |
( |
|
) |
const [inline] |
Vector3 BALL::VIEW::Camera::getRightVector |
( |
|
) |
const [inline] |
Get an vector orthogonal to the viewing vector and showing to the right.
const Vector3& BALL::VIEW::Camera::getViewPoint |
( |
|
) |
const [inline] |
Get the position of the camera.
Vector3 BALL::VIEW::Camera::getViewVector |
( |
|
) |
const [inline] |
void BALL::VIEW::Camera::moveForward |
( |
float |
translation |
) |
[inline] |
void BALL::VIEW::Camera::moveRight |
( |
float |
translation |
) |
[inline] |
Move the camera along the right vector.
void BALL::VIEW::Camera::moveUp |
( |
float |
translation |
) |
[inline] |
Move the camera along the up vector.
bool BALL::VIEW::Camera::operator< |
( |
const Camera & |
camera |
) |
const |
Camera& BALL::VIEW::Camera::operator= |
( |
const Camera & |
camera |
) |
|
bool BALL::VIEW::Camera::operator== |
( |
const Camera & |
camera |
) |
const |
bool BALL::VIEW::Camera::readFromString |
( |
const String & |
data |
) |
|
void BALL::VIEW::Camera::rotate |
( |
const Matrix4x4 & |
mat, |
|
|
const Vector3 & |
origin | |
|
) |
| | |
void BALL::VIEW::Camera::setLookAtPosition |
( |
const Vector3 & |
look_at |
) |
[inline] |
Set the direction of the camera.
void BALL::VIEW::Camera::setLookUpVector |
( |
const Vector3 & |
look_up_vector |
) |
[inline] |
void BALL::VIEW::Camera::setViewPoint |
( |
const Vector3 & |
view_point |
) |
[inline] |
Set the position of the camera.
String BALL::VIEW::Camera::toString |
( |
|
) |
const |
void BALL::VIEW::Camera::translate |
( |
const Vector3 & |
v |
) |
[inline] |
Translate the view point and the point the camera is looking to by a given vector.
Member Data Documentation