#include <cosa.h>
Diagrama de herencias de TELA
Métodos públicos | |
TELA () | |
virtual | ~TELA () |
GEOMETRIA * | geometria (void) |
void | aplicar_campo_vectorial (CAMPO_VECTORIAL *Campo) |
void | aplicar_drag (double Kd) |
void | actualizar (double delta_t) |
Este metodo es responsable de calcular las fuerzas internas de una tela y evaluar la ecuacion diferencial para las masas de su modelo. | |
int | ODE_numero_de_variables_de_estado (void) |
void | ODE_reportar_variables_de_estado (double *Datos) |
void | ODE_actualizar_variables_de_estado (double *Datos) |
void | ODE_calcular_la_primera_derivada (double *Datos) |
void | minmax (VECTOR *min, VECTOR *max) |
void | pintar_gl (CALIDAD_VISUAL *Calidad, CAMARA *Camara) |
Este metodo genera las primitivas OpenGL necesarias para obtener. | |
void | pintar_povray (FILE *fd) |
BOOLEAN | leer (TOKENIZADOR *Sabiondo) |
void | grabar (FILE *fd) |
int | num_masas (void) |
MASA_PUNTUAL * | masa_puntual (int i) |
Métodos privados | |
BOOLEAN | leer_resortes (TOKENIZADOR *Sabiondo, int tipo) |
BOOLEAN | leer_malla (TOKENIZADOR *Sabiondo) |
BOOLEAN | precalcular_resortes (void) |
VECTOR | calcule_subnormal (int i1, int j1, int i2, int j2, int i3, int j3) |
VECTOR | calcule_normal (int i, int j) |
Atributos privados | |
RESORTE * | plantilla [3] |
int | x_tam |
int | y_tam |
MASA_PUNTUAL * | Arr_masas |
RESORTE * | Resortes1 |
int | num_resortes1 |
RESORTE * | Resortes2 |
int | num_resortes2 |
RESORTE * | Resortes3 |
int | num_resortes3 |
BOOLEAN | recien_simulado |
IMAGEN * | Textura |
MESH * | Superficie |
|
Definición en la línea 50 del archivo tela.C. References COSA::_tipo_de_cosa, Arr_masas, CC_TELA, plantilla, recien_simulado, Resortes1, Resortes2, Resortes3, Superficie, Textura, x_tam, y y_tam. |
|
Definición en la línea 67 del archivo tela.C. References COSA::_nombre_padre, Arr_masas, Resortes1, Resortes2, Resortes3, y Textura. |
|
Este metodo es responsable de calcular las fuerzas internas de una tela y evaluar la ecuacion diferencial para las masas de su modelo.
Implements COSA_FLEXIBLE. Definición en la línea 525 del archivo tela.C. References MASA_PUNTUAL::actualizar(), RESORTE::actualizar(), Arr_masas, num_resortes1, num_resortes2, recien_simulado, Resortes1, Resortes2, x_tam, y y_tam. |
Here is the call graph for this function:
|
Reimplementado de COSA. Definición en la línea 566 del archivo tela.C. References COSA::aplicar_campo_vectorial(), Arr_masas, x_tam, y y_tam. |
Here is the call graph for this function:
|
Reimplementado de COSA. Definición en la línea 576 del archivo tela.C. References COSA::aplicar_drag(), Arr_masas, x_tam, y y_tam. |
Here is the call graph for this function:
|
|
|
|
|
Implements COSA_FLEXIBLE. |
|
Implements COSA. |
|
Implements COSA_FLEXIBLE. Definición en la línea 442 del archivo tela.C. References COSA::_color, COSA::_ke, COSA::_masa, Arr_masas, BOOLEAN, des_comille(), MATERIAL::difusa(), COSA::leer_basico(), leer_malla(), leer_resortes(), COSA::Material, precalcular_resortes(), ENTIDAD::set_nombre(), TOKENIZADOR::siguiente_token(), Textura, TK_ABRIR, TK_CADENA, TK_CERRAR, TK_DESCONOCIDO, TK_IDENTIFICADOR, x_tam, y y_tam. |
Here is the call graph for this function:
|
Definición en la línea 276 del archivo tela.C. References COSA::_estoy_fijo, COSA::_posicion, COSA::_velocidad, COLOR::alpha, MESH::anexar_textura(), MESH::anx_material(), MESH::anx_triangle(), MESH::anx_vertex(), Arr_masas, COLOR::b, BOOLEAN, COLOR::g, MESH::init(), TRIANGULO_GL::p0, TRIANGULO_GL::p1, TRIANGULO_GL::p2, COSA::posicion(), COSA::posicion_absoluta(), COLOR::r, MESH::set_material_global(), TOKENIZADOR::siguiente_token(), Superficie, Textura, TK_ABRIR, TK_CERRAR, TK_DESCONOCIDO, TK_IDENTIFICADOR, TK_NUMERO, TK_VECTOR_FIN, TK_VECTOR_INICIO, VERTICE_GL::u, VERTICE_GL::v, VERTICE_GL::x, VECTOR::x, x_tam, VERTICE_GL::y, VECTOR::y, y_tam, VERTICE_GL::z, y VECTOR::z. Referenciado por leer(). |
Here is the call graph for this function:
|
Definición en la línea 239 del archivo tela.C. References RESORTE::kd, RESORTE::ks, RESORTE::l, plantilla, TOKENIZADOR::siguiente_token(), TK_ABRIR, TK_CERRAR, TK_DESCONOCIDO, TK_IDENTIFICADOR, y TK_NUMERO. Referenciado por leer(). |
Here is the call graph for this function:
|
Definición en la línea 493 del archivo cosa.h. References Arr_masas. Referenciado por detector_colision_tela_rigida(). |
|
Implements COSA_FLEXIBLE. Definición en la línea 140 del archivo tela.C. References Arr_masas, COSA::posicion_absoluta(), VECTOR::x, x_tam, VECTOR::y, y_tam, y VECTOR::z. |
Here is the call graph for this function:
|
Definición en la línea 487 del archivo cosa.h. Referenciado por detector_colision_tela_rigida(). |
|
Implements COSA_FLEXIBLE. |
|
Implements COSA_FLEXIBLE. |
|
Implements COSA_FLEXIBLE. |
|
Implements COSA_FLEXIBLE. |
|
Este metodo genera las primitivas OpenGL necesarias para obtener. OJO: Debe mejorarse para que haga chequeo de min-max y asi determine si se pinta o no... Implements COSA_FLEXIBLE. Definición en la línea 165 del archivo tela.C. References Arr_masas, CALIDAD_VISUAL::con_bordes, CALIDAD_VISUAL::con_caras, MESH::get_vertices(), MESH::init(), COSA::Material, num_resortes1, num_resortes2, MESH::pintar_gl(), RESORTE::pintar_gl(), MASA_PUNTUAL::pintar_gl(), COSA::posicion_absoluta(), recien_simulado, Resortes1, Resortes2, MATERIAL::set_doble_cara(), Superficie, VECTOR::x, VERTICE_GL::x, x_tam, VECTOR::y, VERTICE_GL::y, y_tam, VECTOR::z, y VERTICE_GL::z. |
Here is the call graph for this function:
|
Implements COSA_FLEXIBLE. |
|
Definición en la línea 86 del archivo tela.C. References Arr_masas, RESORTE::Extremo1, RESORTE::Extremo2, num_resortes1, num_resortes2, plantilla, Resortes1, Resortes2, x_tam, y y_tam. Referenciado por leer(). |
|
Definición en la línea 406 del archivo cosa.h. Referenciado por actualizar(), aplicar_campo_vectorial(), aplicar_drag(), leer(), leer_malla(), masa_puntual(), minmax(), pintar_gl(), precalcular_resortes(), TELA(), y ~TELA(). |
|
Definición en la línea 408 del archivo cosa.h. Referenciado por actualizar(), pintar_gl(), y precalcular_resortes(). |
|
Definición en la línea 410 del archivo cosa.h. Referenciado por actualizar(), pintar_gl(), y precalcular_resortes(). |
|
|
|
Definición en la línea 402 del archivo cosa.h. Referenciado por leer_resortes(), precalcular_resortes(), y TELA(). |
|
Definición en la línea 415 del archivo cosa.h. Referenciado por actualizar(), pintar_gl(), y TELA(). |
|
Definición en la línea 407 del archivo cosa.h. Referenciado por actualizar(), pintar_gl(), precalcular_resortes(), TELA(), y ~TELA(). |
|
Definición en la línea 409 del archivo cosa.h. Referenciado por actualizar(), pintar_gl(), precalcular_resortes(), TELA(), y ~TELA(). |
|
|
|
Definición en la línea 417 del archivo cosa.h. Referenciado por leer_malla(), pintar_gl(), y TELA(). |
|
Definición en la línea 416 del archivo cosa.h. Referenciado por leer(), leer_malla(), TELA(), y ~TELA(). |
|
Definición en la línea 404 del archivo cosa.h. Referenciado por actualizar(), aplicar_campo_vectorial(), aplicar_drag(), leer(), leer_malla(), minmax(), num_masas(), pintar_gl(), precalcular_resortes(), y TELA(). |
|
Definición en la línea 405 del archivo cosa.h. Referenciado por actualizar(), aplicar_campo_vectorial(), aplicar_drag(), leer(), leer_malla(), minmax(), num_masas(), pintar_gl(), precalcular_resortes(), y TELA(). |