Página principal | Jerarquía de la clase | Lista alfabética | Lista de componentes | Lista de archivos | Miembros de las clases | Archivos de los miembros | Páginas relacionadas

Referencia de la Clase FONDO_ESTRELLAS

#include <fondo.h>

Diagrama de herencias de FONDO_ESTRELLAS

Inheritance graph
[leyenda]
Diagrama de colaboración para FONDO_ESTRELLAS:

Collaboration graph
[leyenda]
Lista de todos los miembros.

Métodos públicos

 FONDO_ESTRELLAS ()
virtual ~FONDO_ESTRELLAS ()
void init (void)
 Initializes an array of stars, or points, each of which are unit length of ne away from (0,0,0).

void pintar_gl (CAMARA *Camara)
 Draws a starfield by changing the modelview matrix to (0,0,0) but preserving the orientation.

BOOLEAN leer (TOKENIZADOR *Sabiondo)

Documentación del constructor y destructor

FONDO_ESTRELLAS::FONDO_ESTRELLAS  ) 
 

Definición en la línea 206 del archivo fondo.C.

FONDO_ESTRELLAS::~FONDO_ESTRELLAS  )  [virtual]
 

Definición en la línea 210 del archivo fondo.C.


Documentación de las funciones miembro

void FONDO_ESTRELLAS::init void   )  [virtual]
 

Initializes an array of stars, or points, each of which are unit length of ne away from (0,0,0).

It then compiles the starfield into a display list.

Implements FONDO.

Definición en la línea 215 del archivo fondo.C.

References GLdouble, y stars.

Referenciado por pintar_gl().

BOOLEAN FONDO_ESTRELLAS::leer TOKENIZADOR Sabiondo  )  [virtual]
 

Implements FONDO.

Definición en la línea 280 del archivo fondo.C.

References TOKENIZADOR::siguiente_token(), TK_ABRIR, TK_CERRAR, TK_DESCONOCIDO, y TK_IDENTIFICADOR.

Here is the call graph for this function:

void FONDO_ESTRELLAS::pintar_gl CAMARA Camara  )  [virtual]
 

Draws a starfield by changing the modelview matrix to (0,0,0) but preserving the orientation.

We then draw all the stars, which were precalculated to all be a unit length of 1 away. Nota: Este codigo ha sido derivado a partir del programa "view3ds" de David Farrell.

Implements FONDO.

Definición en la línea 254 del archivo fondo.C.

References CAMARA::activar_centro_gl(), init(), FONDO::lista_gl, y FONDO::nuevito.

Here is the call graph for this function:


La documentación para esta clase fué generada a partir de los siguientes archivos:
Este archivo HTML ha sido generado automáticamente a partir del código fuente AQUYNZA. NO LO EDITE. Para mayor información contacte al autor.