GlobeEngine
ge::OrthographicMapCamera Class Reference

#include <OrthographicMapCamera.h>

Inheritance diagram for ge::OrthographicMapCamera:
ge::Camera

Public Member Functions

 OrthographicMapCamera ()
 
 ~OrthographicMapCamera ()
 
void clear ()
 
void destroy ()
 
void create (ViewFrustumProperties _in)
 
void create (ViewFrustumProperties _in, vmml::Vector3d _pos, double _velocity, double _pitch, double _heading)
 
void create (ViewFrustumProperties _in, vmml::Vector3d _pos, vmml::Vector3d _camDir, vmml::Vector3d _camRight, vmml::Vector3d _camUp, double _velocity, double _pitch, double _heading)
 
void update ()
 
void createQuatFromAxisAngle (vmml::Quaterniond &quat, GLfloat x, GLfloat y, GLfloat z, GLfloat degrees)
 
void calculateViewMatrix ()
 
void setMoving_X (GLint _value)
 
void setMoving_Y (GLint _value)
 
void setMoving_Z (GLint _value)
 
void updateHeightValue (float _input)
 
double getVelocity ()
 
void moveToLocation (vmml::Vector2d _in)
 
double distancePanelFromCamPoint ()
 
void changeWithinXZPlane (vmml::Vector2f _changeVector)
 
void movePosition (vmml::Vector3d _change)
 
void zoom (double _in)
 
void reset ()
 
vmml::Vector4d getWindow ()
 
vmml::Vector4d getInitialWindow ()
 
void setInitialOrthoCoords (vmml::Vector4d _orthoCoords)
 
void calculateInitialWindow ()
 
- Public Member Functions inherited from ge::Camera
 Camera ()
 
 ~Camera ()
 
virtual void changeSetup (ViewFrustumProperties _in)
 
virtual void print ()
 
void setOrthographic ()
 
void setPerspective (int _w=0, int _h=0)
 
void setOrthoCoordinates (vmml::Vector4d _coords)
 
void setViewportSize (int _w, int _h)
 
void setViewportSize (vmml::Vector2d _viewport)
 
vmml::Vector2d getScreenposForPoint (vmml::Vector3d _p, vmml::Matrix4d _modelMatrix)
 
enum Camera::AXIS getOrientationAxis ()
 
enum Camera::AXIS getOrientationFromString (std::string _input)
 
void setOrientationAxis (enum AXIS _in)
 
vmml::Vector2d getViewport () const
 
void applyViewport ()
 
std::shared_ptr< ge::ViewFrustum > const & getViewFrustum () const
 
vmml::Matrix4d getViewMatrix () const
 
void setViewMatrix (vmml::Matrix4d _viewMatrix)
 
vmml::Vector3d getRelativePositionToCenter () const
 
vmml::Vector3d getScenePosition () const
 
void setScenePosition (vmml::Vector3d _pos)
 
void setRelativePositionToCenter (vmml::Vector3d _pos)
 
double getDistanceToCamera (vmml::Vector3d _p) const
 
vmml::Vector3d getDirection () const
 
enum CAMERATYPE getType ()
 
bool hasChanged ()
 
vmml::Matrix4d getProjectionMatrix () const
 
void setProjectionMatrix (vmml::Matrix4d _projectionMatrix)
 
vmml::Matrix4d getViewProjectionMatrix () const
 
void setViewProjectionMatrix (vmml::Matrix4d _viewprojectionMatrix)
 
void enableOrthoProjection ()
 
void disableOrthoProjection ()
 
void setChanged ()
 
vmml::Matrix4d getInverseViewMatrix () const
 
vmml::Matrix4d getInverseProjectionMatrix () const
 
vmml::Matrix4d getInverseProjectionViewMatrix () const
 
vmml::Vector4d getOrthoCoordinates () const
 

Additional Inherited Members

- Public Types inherited from ge::Camera
enum  CAMERATYPE { NORMAL, ARCBALL, STRATEGIC }
 
enum  AXIS { XZ_AXIS = 0, XY_AXIS, YZ_AXIS }
 
- Static Public Member Functions inherited from ge::Camera
static vmml::Matrix4d createOrthoProjectionMatrix (double l, double r, double b, double t, double n, double f)
 
- Protected Member Functions inherited from ge::Camera
void moveFrustum ()
 
void setStandardVectors ()
 
vmml::Matrix4d createPerspectiveProjectionMatrix (double fovy, double aspect, double zNear, double zFar)
 
vmml::Matrix4d createFrustumMatrix (double left, double right, double bottom, double top, double zNear, double zFar)
 
vmml::Matrix4d getRotationMatrix (const vmml::Quaterniond &quat)
 
- Protected Attributes inherited from ge::Camera
enum CAMERATYPE type
 
enum Camera::AXIS orientation_axis
 
std::shared_ptr< ge::ViewFrustumviewfrustum
 
vmml::Vector2d viewport
 
vmml::Vector3d camPosition
 
vmml::Vector3d camRight
 
vmml::Vector3d camUp
 
vmml::Vector3d camDirection
 
vmml::Matrix4d viewMatrix
 
vmml::Matrix4d projectionMatrix
 
vmml::Matrix4d viewProjectionMatrix
 
vmml::Matrix4d perspectiveProjectionMatrix
 
vmml::Matrix4d orthoProjectionMatrix
 
vmml::Vector4d orthoCoord
 
bool changed
 
bool orthoProjMode
 
GLuint cameraBuffers [2]
 

Constructor & Destructor Documentation

ge::OrthographicMapCamera::OrthographicMapCamera ( )
ge::OrthographicMapCamera::~OrthographicMapCamera ( )

Member Function Documentation

void ge::OrthographicMapCamera::calculateInitialWindow ( )
void ge::OrthographicMapCamera::calculateViewMatrix ( )
virtual

Implements ge::Camera.

void ge::OrthographicMapCamera::changeWithinXZPlane ( vmml::Vector2f  _changeVector)
void ge::OrthographicMapCamera::clear ( )
virtual

Reimplemented from ge::Camera.

void ge::OrthographicMapCamera::create ( ViewFrustumProperties  _in)
void ge::OrthographicMapCamera::create ( ViewFrustumProperties  _in,
vmml::Vector3d  _pos,
double  _velocity,
double  _pitch,
double  _heading 
)
void ge::OrthographicMapCamera::create ( ViewFrustumProperties  _in,
vmml::Vector3d  _pos,
vmml::Vector3d  _camDir,
vmml::Vector3d  _camRight,
vmml::Vector3d  _camUp,
double  _velocity,
double  _pitch,
double  _heading 
)
void ge::OrthographicMapCamera::createQuatFromAxisAngle ( vmml::Quaterniond &  quat,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  degrees 
)
void ge::OrthographicMapCamera::destroy ( )
virtual

Reimplemented from ge::Camera.

double ge::OrthographicMapCamera::distancePanelFromCamPoint ( )
vmml::Vector4d ge::OrthographicMapCamera::getInitialWindow ( )
double ge::OrthographicMapCamera::getVelocity ( )
vmml::Vector4d ge::OrthographicMapCamera::getWindow ( )
void ge::OrthographicMapCamera::movePosition ( vmml::Vector3d  _change)
void ge::OrthographicMapCamera::moveToLocation ( vmml::Vector2d  _in)
void ge::OrthographicMapCamera::reset ( )
void ge::OrthographicMapCamera::setInitialOrthoCoords ( vmml::Vector4d  _orthoCoords)
void ge::OrthographicMapCamera::setMoving_X ( GLint  _value)
void ge::OrthographicMapCamera::setMoving_Y ( GLint  _value)
void ge::OrthographicMapCamera::setMoving_Z ( GLint  _value)
void ge::OrthographicMapCamera::update ( )
virtual

Implements ge::Camera.

void ge::OrthographicMapCamera::updateHeightValue ( float  _input)
void ge::OrthographicMapCamera::zoom ( double  _in)

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