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 del Archivo jed_gl.h

Ir al código fuente de este archivo.

Clases

class  TRIANGULO_GL
class  VERTICE_GL

Tipos definidos

typedef unsigned char GLubyte
typedef unsigned int GLuint
typedef unsigned long GLenum
typedef float GLfloat
typedef double GLdouble

Funciones

void maneje_estado_gl (int op)
void pintar_plano_z (double z, double escala, int num_escalas, double r1, double g1, double b1, double r2, double g2, double b2)
void pintar_localizante (GLdouble x, GLdouble y, GLdouble z, int estilo)
void pintar_sistema_coordenadas (double camara_latitud, double camara_longitud, double camara_distancia, int estilo)
void tkDisplayFunc (void(*f)(void))
void tkKeyDownFunc (GLenum(*tk_key_callback)(int, GLenum))
void tkMouseUpFunc (GLenum(*locator_callback)(int, int, GLenum))
void tkMouseDownFunc (GLenum(*locator_callback)(int, int, GLenum))
void tkMouseMoveFunc (GLenum(*locator_callback)(int, int, GLenum))
void tkIdleFunc (void(*idle_callback)(void))
void pintar_cubo (double lado)
void pintar_cubo_solido (double lado)
void pintar_paralelepipedo (VECTOR p1, VECTOR p2)
void PINTAR_VECTOR_GL (VECTOR p1, VECTOR p2, double grosor_cuerpo, double longitud_flecha, double grosor_flecha)
 Esta funcion utilitaria pinta una flecha solida en el entorno virtual 3D OpenGL.

void PINTAR_VECTOR_POVRAY (FILE *fd, VECTOR p1, VECTOR p2, double grosor_cuerpo, double longitud_flecha, double grosor_flecha)
 Contraparte POVRAY de la anterior.


Variables

void(* THE_draw_callback )(void)
double COORDENADAS_cubo [6][4][3]
 Coordenadas de un cubo: hay 6 caras, cada una con 4 vertices, los cuales son puntos con 3 flotantes.

double NORMALES_cubo [6][3]
double TEXTURAS_cubo [6][4][2]


Documentación de los tipos definidos

typedef double GLdouble
 

Definición en la línea 13 del archivo jed_gl.h.

Referenciado por MATRIZ_4x4::cargar_gl(), MATRIZ_4x4::importar_gl(), y FONDO_ESTRELLAS::init().

typedef unsigned long GLenum
 

Definición en la línea 11 del archivo jed_gl.h.

Referenciado por LUZ::activar_gl(), JED_TK_INTERFACE::crear(), JED_GLUT_INTERFACE::crear_ventana_glut(), ESFERA::pintar_gl(), y CILINDRO::pintar_gl().

typedef float GLfloat
 

Definición en la línea 12 del archivo jed_gl.h.

Referenciado por MATERIAL::activar_gl(), LUZ::activar_gl(), CALIDAD_VISUAL::activar_textura_gl(), MESH::angulo_de_vertice(), MESH::calcule_normales_vertice(), MEDIO::init(), MESH::MESH(), VISOR_GEOMETRIA::pintar_nucleo_gl(), y MEDIO::pre_pintar_gl().

typedef unsigned char GLubyte
 

Definición en la línea 9 del archivo jed_gl.h.

Referenciado por TERRENO::set_paleta(), y TERRENO::TERRENO().

typedef unsigned int GLuint
 

Definición en la línea 10 del archivo jed_gl.h.

Referenciado por MESH::calcule_normales_vertice(), MESH::crear_tiras(), MESH::crear_trozos_gl(), MESH::pintar_triangulos_tira_gl(), y TERRENO::TERRENO().


Documentación de las funciones

void maneje_estado_gl int  op  ) 
 

void pintar_cubo double  lado  ) 
 

Definición en la línea 55 del archivo geometria.C.

Referenciado por CUBO::pintar_gl(), TERRENO::pintar_tiras_gl(), y TERRENO_LOD::pintar_tiras_gl().

void pintar_cubo_solido double  lado  ) 
 

Definición en la línea 83 del archivo geometria.C.

References COORDENADAS_cubo, NORMALES_cubo, y TEXTURAS_cubo.

Referenciado por CUBO::pintar_gl(), y NODO_OCTREE::pintar_gl().

void pintar_localizante GLdouble  x,
GLdouble  y,
GLdouble  z,
int  estilo
 

void pintar_paralelepipedo VECTOR  p1,
VECTOR  p2
 

Definición en la línea 114 del archivo geometria.C.

References VECTOR::x, VECTOR::y, y VECTOR::z.

Referenciado por MINMAX::pintar_gl(), MASA_PUNTUAL::pintar_gl(), PARALELEPIPEDO::pintar_gl(), y TEXTO_3D::pintar_gl().

void pintar_plano_z double  z,
double  escala,
int  num_escalas,
double  r1,
double  g1,
double  b1,
double  r2,
double  g2,
double  b2
 

void pintar_sistema_coordenadas double  camara_latitud,
double  camara_longitud,
double  camara_distancia,
int  estilo
 

void PINTAR_VECTOR_GL VECTOR  p1,
VECTOR  p2,
double  grosor_cuerpo,
double  longitud_flecha,
double  grosor_flecha
 

Esta funcion utilitaria pinta una flecha solida en el entorno virtual 3D OpenGL.

Tipicamente, estas flechas se utilizan para representar vectores.

La flecha se define por dos puntos extremos, `p1` (la cola) y `p2` (la punta). La flecha se pinta del color especificado en `c`.

........+... ...... | | | | grosor_cuerpo |p1 p2> grosor_flecha |..... _/-------------------_/ | _/ _/ | / -/ ......+.... . . . . .<---->. longitud_flecha

OJO: NO DEBERIA ESTAR EN ESTE MODULO

Definición en la línea 63 del archivo jed_gl.C.

References MATRIZ_4x4::cargar_gl(), VECTOR::normalizar(), MATRIZ_4x4::rotacion_punto_punto(), TEXTURA_glu_global, VECTOR::x, VECTOR::y, y VECTOR::z.

Referenciado por CAMARA::pintar_base_gl(), VISOR_CAMPO_VECTORIAL::pintar_gl(), FLECHA::pintar_gl(), y VISOR_GEOMETRIA::pintar_nucleo_gl().

Here is the call graph for this function:

void PINTAR_VECTOR_POVRAY FILE *  fd,
VECTOR  p1,
VECTOR  p2,
double  grosor_cuerpo,
double  longitud_flecha,
double  grosor_flecha
 

Contraparte POVRAY de la anterior.

Definición en la línea 148 del archivo jed_gl.C.

References VECTOR::norma(), VECTOR::normalizar(), VECTOR::x, VECTOR::y, y VECTOR::z.

Referenciado por FLECHA::pintar_povray().

Here is the call graph for this function:

void tkDisplayFunc void(*  f)(void)  ) 
 

Definición en la línea 182 del archivo jed_gl.C.

References THE_draw_callback.

Referenciado por JED_TK_INTERFACE::ejecutar().

void tkIdleFunc void(*  idle_callback)(void)  ) 
 

Definición en la línea 392 del archivo jed_gl.C.

References JED_idle(), y THE_idle_callback.

Referenciado por JED_TK_INTERFACE::ejecutar().

Here is the call graph for this function:

void tkKeyDownFunc GLenum(*  tk_key_callback)(int, GLenum)  ) 
 

Definición en la línea 256 del archivo jed_gl.C.

References THE_key_callback, TK_0_callback(), TK_1_callback(), TK_2_callback(), TK_3_callback(), TK_4_callback(), TK_5_callback(), TK_6_callback(), TK_7_callback(), TK_8_callback(), TK_9_callback(), TK_a_callback(), TK_A_callback(), TK_b_callback(), TK_B_callback(), TK_c_callback(), TK_C_callback(), TK_d_callback(), TK_D_callback(), TK_DOWN_callback(), TK_e_callback(), TK_E_callback(), TK_ESCAPE_callback(), TK_f_callback(), TK_F_callback(), TK_g_callback(), TK_G_callback(), TK_h_callback(), TK_H_callback(), TK_i_callback(), TK_I_callback(), TK_j_callback(), TK_J_callback(), TK_k_callback(), TK_K_callback(), TK_l_callback(), TK_L_callback(), TK_LEFT_callback(), TK_m_callback(), TK_M_callback(), TK_n_callback(), TK_N_callback(), TK_o_callback(), TK_O_callback(), TK_p_callback(), TK_P_callback(), TK_q_callback(), TK_Q_callback(), TK_r_callback(), TK_R_callback(), TK_RETURN_callback(), TK_RIGHT_callback(), TK_s_callback(), TK_S_callback(), TK_SPACE_callback(), TK_t_callback(), TK_T_callback(), TK_u_callback(), TK_U_callback(), TK_UP_callback(), TK_v_callback(), TK_V_callback(), TK_w_callback(), TK_W_callback(), TK_x_callback(), TK_X_callback(), TK_y_callback(), TK_Y_callback(), TK_z_callback(), y TK_Z_callback().

Referenciado por JED_TK_INTERFACE::ejecutar().

Here is the call graph for this function:

void tkMouseDownFunc GLenum(*  locator_callback)(int, int, GLenum)  ) 
 

Definición en la línea 373 del archivo jed_gl.C.

References JED_locatordown(), y THE_locatordown_callback.

Referenciado por JED_TK_INTERFACE::ejecutar().

Here is the call graph for this function:

void tkMouseMoveFunc GLenum(*  locator_callback)(int, int, GLenum)  ) 
 

Definición en la línea 382 del archivo jed_gl.C.

References JED_locatormove(), y THE_locatormove_callback.

Referenciado por JED_TK_INTERFACE::ejecutar().

Here is the call graph for this function:

void tkMouseUpFunc GLenum(*  locator_callback)(int, int, GLenum)  ) 
 

Definición en la línea 364 del archivo jed_gl.C.

References JED_locatorup(), y THE_locatorup_callback.

Referenciado por JED_TK_INTERFACE::ejecutar().

Here is the call graph for this function:


Documentación de las variables

double COORDENADAS_cubo[6][4][3]
 

Coordenadas de un cubo: hay 6 caras, cada una con 4 vertices, los cuales son puntos con 3 flotantes.

Definición en la línea 223 del archivo jed_gl.h.

Referenciado por pintar_cubo_solido(), y PARALELEPIPEDO::pintar_gl().

double NORMALES_cubo[6][3]
 

Definición en la línea 224 del archivo jed_gl.h.

Referenciado por pintar_cubo_solido(), y PARALELEPIPEDO::pintar_gl().

double TEXTURAS_cubo[6][4][2]
 

Definición en la línea 225 del archivo jed_gl.h.

Referenciado por pintar_cubo_solido(), y PARALELEPIPEDO::pintar_gl().

void(* THE_draw_callback)(void)
 

Definición en la línea 158 del archivo jed_gl.h.

Referenciado por tkDisplayFunc().


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.