#include <OrbitCamera.h>

Public Member Functions | |
| OrbitCamera () | |
| void | setHeightRestraint (const bool &flag) |
| bool | isHeightRestraint () |
| void | setZoomRestraint (const GLfloat &min, const GLfloat &max) |
| bool | isZoomRestraint () |
| void | toggleZoomRestraint () |
| void | setElevationRestraint (const Angle &min, const Angle &max) |
| bool | isElevationRestraint () |
| void | toggleElevationRestraint () |
| void | pressLeft (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | pressRight (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | pressCenter (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | pressWheelUp (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | pressWheelDown (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | releaseLeft (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | releaseRight (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | releaseCenter (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | releaseWheelUp (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | releaseWheelDown (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| void | move (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel) |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Private Attributes | |
| struct buttonState | button |
| bool | heightRestraint |
| bool | zoomRestraint |
| bool | elevationRestraint |
| GLfloat | minZoom |
| GLfloat | maxZoom |
| Angle | minElevation |
| Angle | maxElevation |
Implements simple user trackball interface
| OrbitCamera::OrbitCamera | ( | ) |
| void OrbitCamera::setHeightRestraint | ( | const bool & | flag | ) |
| bool OrbitCamera::isHeightRestraint | ( | ) |
| void OrbitCamera::setZoomRestraint | ( | const GLfloat & | min, | |
| const GLfloat & | max | |||
| ) |
| bool OrbitCamera::isZoomRestraint | ( | ) |
| void OrbitCamera::toggleZoomRestraint | ( | ) |
| bool OrbitCamera::isElevationRestraint | ( | ) |
| void OrbitCamera::toggleElevationRestraint | ( | ) |
| void OrbitCamera::pressLeft | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::pressRight | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::pressCenter | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::pressWheelUp | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::pressWheelDown | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::releaseLeft | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::releaseRight | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::releaseCenter | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::releaseWheelUp | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::releaseWheelDown | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| void OrbitCamera::move | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [virtual] |
Implements MouseListener.
| string OrbitCamera::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Camera.
| string OrbitCamera::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Camera.
| enum classId OrbitCamera::classId | ( | ) | const [virtual] |
struct buttonState OrbitCamera::button [read, private] |
bool OrbitCamera::heightRestraint [private] |
bool OrbitCamera::zoomRestraint [private] |
bool OrbitCamera::elevationRestraint [private] |
GLfloat OrbitCamera::minZoom [private] |
GLfloat OrbitCamera::maxZoom [private] |
Angle OrbitCamera::minElevation [private] |
Angle OrbitCamera::maxElevation [private] |
1.5.6