gk::OrthographicCamera Class Reference

camera orthographique. More...

#include <Camera.h>

Inheritance diagram for gk::OrthographicCamera:
gk::Camera

List of all members.

Public Member Functions

 OrthographicCamera ()
 constructeur par defaut.
 OrthographicCamera (const float znear, const float zfar, const int width=100, const int height=100)
 constructeur, parametre la projection orthographique, cf gk::Orthographic().
 ~OrthographicCamera ()
 destructeur.
void setViewport (const int width, const int height)
 modifie le viewport de la camera.
void setViewport (int viewport[4])
 modifie le viewport de la camera.
void setProjection (const Transform &projection)
 modifie la projection de la camera.
const Matrix4x4projection ()
 renvoie la matrice de projection de la camera.
const TransformprojectionTransform ()
 renvoie la transformation de projection de la camera.
const Matrix4x4view ()
 renvoie la matrice view, changement de repere de la camera.
const TransformviewTransform ()
 renvoie la transforamtion view de la camera.
const Matrix4x4viewport ()
 renvoie la matrice viewport
const TransformviewportTransform ()
 renvoie la transformation viewport

Protected Member Functions

const Point origin () const
 renvoie la position de l'origine.
const Vector up () const
 renvoie le vecteur 'vers le haut'.
const Vector right () const
 renvoie le vecteur 'vers la droite'.
const Vector forward () const
 renvoie le vecteur 'devant'.

Protected Attributes

Transform m_view
Transform m_projection
Transform m_viewport
float m_width
float m_height

Detailed Description

camera orthographique.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Friends
Generated on Thu Sep 22 16:34:00 2011 for gKitGL by  doxygen 1.6.3