CCamara Class Reference

#include <camara.h>

List of all members.

Public Member Functions

 CCamara ()
 ~CCamara ()
int getZoom ()
double getX ()
double getY ()
int getFov ()
void setZoom (int)
void setX (double)
void setY (double)
void mover (double, double)

Private Attributes

int m_zoom
double m_x
double m_y
int m_fov


Constructor & Destructor Documentation

CCamara::CCamara  ) 
 

Constructor por defecto de la clase CCamara.

Definition at line 12 of file camara.cpp.

References m_fov, m_x, m_y, and m_zoom.

CCamara::~CCamara  ) 
 

Destructor por defecto de la clase CCircuito.

Definition at line 25 of file camara.cpp.


Member Function Documentation

int CCamara::getFov  ) 
 

Obtiene el valor de fov de la camara.

Definition at line 65 of file camara.cpp.

References m_fov.

Referenced by CPintador::obtenerEscala(), and CEngine::render().

double CCamara::getX  ) 
 

Obtiene el valor de la coordenada X de la camara.

Definition at line 35 of file camara.cpp.

References m_x.

Referenced by CPoligono::clippingBox(), CPintador::clippingBox(), CPintador::pintarPoly(), and CEngine::render().

double CCamara::getY  ) 
 

Obtiene el valor de la coordenada Y de la camara.

Definition at line 45 of file camara.cpp.

References m_y.

Referenced by CPoligono::clippingBox(), CPintador::clippingBox(), CPintador::pintarPoly(), and CEngine::render().

int CCamara::getZoom  ) 
 

Obtiene el valor de zoom de la camara.

Definition at line 55 of file camara.cpp.

References m_zoom.

Referenced by CPintador::obtenerEscala(), and CEngine::render().

void CCamara::mover double  x,
double  y
 

E x,y: nuevo valor de m_x y m_y.

Definition at line 118 of file camara.cpp.

References m_x, and m_y.

void CCamara::setX double  x  ) 
 

E x: nuevo valor de la coordenada x.

Definition at line 78 of file camara.cpp.

References m_x.

Referenced by CEngine::render().

void CCamara::setY double  y  ) 
 

E y: nuevo valor de la coordenada y.

Definition at line 91 of file camara.cpp.

References m_y.

Referenced by CEngine::render().

void CCamara::setZoom int  zoom  ) 
 

E zoom: nuevo valor de zoom.

Definition at line 104 of file camara.cpp.

References m_zoom.

Referenced by CEngine::render().


Member Data Documentation

int CCamara::m_fov [private]
 

Definition at line 40 of file camara.h.

Referenced by CCamara(), and getFov().

double CCamara::m_x [private]
 

Definition at line 38 of file camara.h.

Referenced by CCamara(), getX(), mover(), and setX().

double CCamara::m_y [private]
 

Definition at line 39 of file camara.h.

Referenced by CCamara(), getY(), mover(), and setY().

int CCamara::m_zoom [private]
 

Definition at line 37 of file camara.h.

Referenced by CCamara(), getZoom(), and setZoom().


The documentation for this class was generated from the following files:
Generated on Fri May 13 16:32:36 2005 for Screaming Racers by  doxygen 1.4.2