main.cpp File Reference

Defines

#define FRAMERATE   20

Functions

int draw_scene ()
int load_model ()
double get_rand ()
int setup_callback ()
static void display_callback ()
static void reshape_callback (int width, int height)
static void keyboard_callback (unsigned char key, int x, int y)
static void idle_callback ()
static void motion_callback (int x, int y)
static void mouse_callback (int button, int action, int x, int y)
int main (int argc, char *argv[])

Variables

static double current_time = 0
static double last_time = 0
static double info_last_time = 0
unsigned int counter = 0
navigator_tool nav
cpe::mesh mesh_draw
std::vector< double > mesh_normal
spring_mesh smesh
double stepsize = 0.1

Define Documentation

#define FRAMERATE   20

Referenced by draw_scene().


Function Documentation

static void display_callback (  )  [static]

References counter, display_manager_begin(), display_manager_end(), and draw_scene().

Referenced by setup_callback().

Here is the call graph for this function:

int draw_scene (  ) 
double get_rand (  ) 
static void idle_callback (  )  [static]

Referenced by setup_callback().

static void keyboard_callback ( unsigned char  key,
int  x,
int  y 
) [static]

References keyboard_manager().

Referenced by setup_callback().

Here is the call graph for this function:

int load_model (  ) 

References cpe::spring_mesh::get_K_bending(), cpe::spring_mesh::get_K_shear(), cpe::spring_mesh::get_K_structural(), and stepsize.

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
char *  argv[] 
)
static void motion_callback ( int  x,
int  y 
) [static]

References motion_manager().

Referenced by setup_callback().

Here is the call graph for this function:

static void mouse_callback ( int  button,
int  action,
int  x,
int  y 
) [static]

References mouse_manager().

Referenced by setup_callback().

Here is the call graph for this function:

static void reshape_callback ( int  width,
int  height 
) [static]

References reshape_manager().

Referenced by setup_callback().

Here is the call graph for this function:

int setup_callback (  ) 

References display_callback(), idle_callback(), keyboard_callback(), motion_callback(), mouse_callback(), and reshape_callback().

Referenced by main().

Here is the call graph for this function:


Variable Documentation

unsigned int counter = 0
double current_time = 0 [static]

Referenced by draw_scene().

double info_last_time = 0 [static]

Referenced by draw_scene().

double last_time = 0 [static]

Referenced by draw_scene().

std::vector<double> mesh_normal

Referenced by draw_scene().

double stepsize = 0.1

Referenced by draw_scene(), and load_model().

Generated on Tue Dec 28 08:43:43 2010 by  doxygen 1.6.3