GlobeEngine
geAstro::PassiveCamera Class Reference

#include <PassiveCamera.h>

Inheritance diagram for geAstro::PassiveCamera:
ge::ArcBallCamera ge::Camera

Public Member Functions

void setProjectionMatrix (vmml::Matrix4d _proj)
 
void setViewMatrix (vmml::Matrix4d _view)
 
virtual void update ()
 
- Public Member Functions inherited from ge::ArcBallCamera
 ArcBallCamera ()
 
 ~ArcBallCamera ()
 
void clear ()
 
void create ()
 
void create (float _width, float _height, ViewFrustumProperties _in, vmml::Vector3d _pos)
 
void setBounds (vmml::Vector2d _viewport)
 
vmml::Vector3d mapToSphere (const vmml::Vector2d NewPt)
 
vmml::Quaterniond calculateRotationQuat ()
 
vmml::Matrix4d setRotationFromQuaternion (vmml::Quaterniond q1)
 
void update ()
 
void setClicked (bool _in)
 
void setZooming (bool _in)
 
void setMousePointer (float _x, float _y)
 
void setPanning (bool _in)
 
void resetPanning ()
 
void setCenter (vmml::Vector3d)
 
vmml::Vector3d getCenter ()
 
void resetZoom ()
 
void setZoomFactorLimit (double _radius)
 
- Public Member Functions inherited from ge::Camera
 Camera ()
 
 ~Camera ()
 
virtual void changeSetup (ViewFrustumProperties _in)
 
virtual void destroy ()
 
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::ArcBallCamera
void calculateViewMatrix ()
 
- 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::ArcBallCamera
vmml::Quaterniond rot_quat
 
vmml::Vector3d lastVec
 
vmml::Vector3d activeVec
 
vmml::Matrix4d activeRot
 
vmml::Matrix4d lastRot
 
vmml::Matrix4d zoomMatrix
 
vmml::Vector2d activePan
 
vmml::Vector2d lastPan
 
vmml::Matrix4d trans
 
vmml::Vector3d center
 
double adjustWidth
 
double adjustHeight
 
bool isRotating
 
bool isDragging
 
bool isPanning
 
double zoomfactor
 
vmml::Vector2d MousePt
 
vmml::Vector2d firstMousePt
 
vmml::Vector3d initPos
 
float zoomFactorLimit
 
- 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]
 

Member Function Documentation

void geAstro::PassiveCamera::setProjectionMatrix ( vmml::Matrix4d  _proj)
inline
void geAstro::PassiveCamera::setViewMatrix ( vmml::Matrix4d  _view)
inline
virtual void geAstro::PassiveCamera::update ( )
inlinevirtual

Implements ge::Camera.


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