|
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
|
|
| Camera () |
| Constructor. More...
|
|
| Camera (const Camera &camera) |
| Copy Constructor. More...
|
|
| Camera (const Vector3 &view_point, const Vector3 &look_at, const Vector3 &look_up_vector, const ProjectionMode &mode=PERSPECTIVE) |
|
virtual | ~Camera () |
| Destructor. More...
|
|
Camera & | operator= (const Camera &camera) |
|
|
void | moveRight (float translation) |
| Move the camera along the right vector. More...
|
|
void | moveUp (float translation) |
| Move the camera along the up vector. More...
|
|
void | moveForward (float translation) |
| Move the camera along the view vector. More...
|
|
const Vector3 & | getViewPoint () const |
| Get the position of the camera. More...
|
|
void | setViewPoint (const Vector3 &view_point) |
| Set the position of the camera. More...
|
|
const Vector3 & | getLookAtPosition () const |
| Get the direction of the camera. More...
|
|
void | setLookAtPosition (const Vector3 &look_at) |
| Set the direction of the camera. More...
|
|
const Vector3 & | getLookUpVector () const |
| Get the look up vector. More...
|
|
void | setLookUpVector (const Vector3 &look_up_vector) |
| Set the look up vector and compute the new right vector. More...
|
|
void | rotateAboutView (float degree) |
| Rotate up and right around the view vector. More...
|
|
float | getDistance () const |
| Get the distance between the view point and the look at point. More...
|
|
Vector3 | getViewVector () const |
| Get the view vector. More...
|
|
Vector3 | getRightVector () const |
| Get an vector orthogonal to the viewing vector and showing to the right. More...
|
|
void | translate (const Vector3 &v) |
| Translate the view point and the point the camera is looking to by a given vector. More...
|
|
Vector3 | convertCameraToSceneCoordinates (const Vector3 &v) |
| Convert the given vector from camera system to cartesian coordinates. More...
|
|
void | rotate (const Quaternion &q, const Vector3 &origin) |
| Rotate the camera. More...
|
|
void | rotate (const Matrix4x4 &mat, const Vector3 &origin) |
| Rotate the camera. More...
|
|
virtual void | clear () |
| Reset Camera to standard values. More...
|
|
void | setProjectionMode (ProjectionMode const &mode) |
| Set the projection mode. More...
|
|
ProjectionMode | getProjectionMode () const |
| Get the projection mode. More...
|
|
String | toString () const |
|
bool | readFromString (const String &data) |
|
|
bool | operator== (const Camera &camera) const |
|
bool | operator< (const Camera &camera) const |
| Needed for MSVC. More...
|
|