#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 } |
|
|
|
|
|
The frame_counter widget is used to advance (or reverse) the movie 1 or 10 frames at a time.
|
|
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. |
|
This is the scale factor for increasing or decreasing the size of spheres and cylinders.
|
|
This is the time for the fltk timer used to control the animation speed.
|
|
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. |
|
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. |
|
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 ) } For 6 redraw events gl_box will cycle through these colors for the highlighted index. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|