VISH  0.2
Public Member Functions | Static Public Member Functions
Eagle::Camera Class Reference

Properties of a camera floating around in space, or, alternatively, an eagle's eye. More...

#include </home/werner/origo/vish/ocean/eagle/Camera.hpp>

List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

Properties of a camera floating around in space, or, alternatively, an eagle's eye.


Member Function Documentation

vector Eagle::Camera::getLookAt ( ) const [inline]

Get the point which is currently looked at.

This point resides in the focalDistance from the Camera. During stereographic rendering, it is kept at the same pixel.

double Eagle::Camera::getViewAngle ( ) const [inline]

What is the current horizontal view angle of the camera?

Returns:
View angle in radians.
void Eagle::Camera::look_right ( double  radians) [inline]

Roll the camera to look right a little bit.

Parameters:
radiansHow many radians are "a little bit". The camera position is unchanged.
void Eagle::Camera::look_up ( double  radians) [inline]

Roll the camera to look up a little bit.

Parameters:
radiansHow many radians are "a little bit". The camera position is unchanged.
void Eagle::Camera::move_forward ( double  dist) [inline]

Move the camera forward a little bit.

Parameters:
Howmuch is a little bit. Note that the focal distance is kept constant, i.e. we do not move closer to the getLookAt() point but keep our eyes constant when moving forward.
void Eagle::Camera::move_right ( double  dist) [inline]

Move (shift) the camera right a little bit.

Parameters:
Howmuch is a little bit. See getRightDir() on how "right" is defined.
void Eagle::Camera::move_up ( double  dist) [inline]

Move (raise) the camera up little bit.

Parameters:
Howmuch is a little bit. See getUpDir() on how "up" is defined.
void Eagle::Camera::setViewAngle ( double  va) [inline]

Specify the current horizontal view angle of the camera.

Parameters:
vaView angle in radians.

The documentation for this class was generated from the following file: