Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

gl_box.cpp File Reference

#include <math.h>
#include "arcball.h"
#include <cstring>

Variables

int busy = 0
int saving = 0
Fl_Counter * frame_counter
 The frame_counter widget is used to advance (or reverse) the movie 1 or 10 frames at a time.

bool in_open
 When opening a file, the data normally used for drawing the GL display is being modified.

double gl_size
 This is the scale factor for increasing or decreasing the size of spheres and cylinders.

double gl_delay
 This is the time for the fltk timer used to control the animation speed.

int color_select
 The color_select variable is used to determine which color is to be adjusted by the trans_slider widget.

Fl_Group * controls
 The animp controls are placed in an Fl_Group to facilitate diplaying/not displaying the controls.

ap_color flash []
 Array of colors used to highlight a color index.

GLfloat light_position [] = { 1.0, 1.0, -1.0, 0.0 }
GLfloat specular [] = { 0.8, 0.8, 0.8, 1.0 }
GLfloat shininess [] = { 120.0 }
GLfloat ambient [] = { 0.3, 0.3, 0.3, 1.0 }
GLfloat emission [] = { 0.2, 0.2, 0.2, 1.0 }
GLfloat diffuse [] = { 1.0, 1.0, 1.0, 1.0 }
GLfloat lmodel_ambient [] = { 0.3, 0.3, 0.3, 1.0 }

Variable Documentation

int busy = 0
 

int saving = 0
 

Fl_Counter* frame_counter
 

The frame_counter widget is used to advance (or reverse) the movie 1 or 10 frames at a time.

bool in_open  ) 
 

When opening a file, the data normally used for drawing the GL display is being modified.

The in_open variable is used to avoid drawing the display while the data is being read.

double gl_size
 

This is the scale factor for increasing or decreasing the size of spheres and cylinders.

double gl_delay
 

This is the time for the fltk timer used to control the animation speed.

int color_select  ) 
 

The color_select variable is used to determine which color is to be adjusted by the trans_slider widget.

It is set in one function and used in another, so it is easier to make it global.

Fl_Group* controls  ) 
 

The animp controls are placed in an Fl_Group to facilitate diplaying/not displaying the controls.

In full-screen mode the controls are not displayed.

ap_color flash[]
 

Initial value:

 {
    ap_color ( 255,0,0,255 ),
    ap_color ( 0,255,0,255 ),
    ap_color ( 0,0,255,255 ),
    ap_color ( 255,0,0,255 ),
    ap_color ( 0,255,0,255 ),
    ap_color ( 0,0,255,255 )
}
Array of colors used to highlight a color index.

For 6 redraw events gl_box will cycle through these colors for the highlighted index.

GLfloat light_position[] = { 1.0, 1.0, -1.0, 0.0 }
 

GLfloat specular[] = { 0.8, 0.8, 0.8, 1.0 }
 

GLfloat shininess[] = { 120.0 }
 

GLfloat ambient[] = { 0.3, 0.3, 0.3, 1.0 }
 

GLfloat emission[] = { 0.2, 0.2, 0.2, 1.0 }
 

GLfloat diffuse[] = { 1.0, 1.0, 1.0, 1.0 }
 

GLfloat lmodel_ambient[] = { 0.3, 0.3, 0.3, 1.0 }
 


Generated on Thu Nov 27 08:17:11 2003 for Animp - Animated Particles by doxygen 1.3.2