Serialized Form

Class Cannibal implements Serializable

Serialized Fields

G

double G
The gravitational constant

updatePeriod

double updatePeriod


Class GraphCanvas implements Serializable

Serialized Fields

data

float[][] data
Array for tracking the data (t,x,y,z,satmass) so the history of the satellite can be plotted

g

java.awt.Graphics g
Graphics element to use

HEIGHT

int HEIGHT
Height of this GraphCanvas

massMax

double massMax
Maximum bound for the mass plot

measurements

int measurements
Number of measuments to store in our array

offImage

java.awt.Image offImage
Offscreen image of double buffering the graphics

p1

java.awt.Point p1
Points for graphing

p2

java.awt.Point p2
Points for graphing

point_index

int point_index
Used to keep track of the index of our data

radMax

double radMax
Maximum bound for the radius plot

WIDTH

int WIDTH
Width of this GraphCanvas

xDataMax

double xDataMax
Maximum bound for the xaxis

xDataMin

double xDataMin
Minimum bound for the xaxis


Class InputSlider implements Serializable

Serialized Fields

increment

int increment

label

java.awt.Label label

max

double max

min

double min

valueLabel

java.awt.Label valueLabel


Class Panel3D implements Serializable

Serialized Fields

centered

boolean centered
If true, this panel with display the stars centered about the satellite, otherwise they will be centered about the central galaxy

eulX

double eulX
The Euler angle of rotation about the transformed x axis of the viewpoint. To get the viewpoint to look at the origin this is set to the spherical coordinate phi.

eulZ

double eulZ
The Euler angle of rotation about the Z axis of the viewpoint. To get the viewpoint to look at the origin this is set to the spherical coordinate theta

g

java.awt.Graphics g
The graphics element used when drawing graphics

HEIGHT

int HEIGHT
The height of this panel in pixels

offImage

java.awt.Image offImage
An image for double buffering when drawing graphics

oldDragX

int oldDragX
The previous x coordinate of the mouse drag, for comparison with the current x coordinate

oldDragY

int oldDragY
The previous y coordinate of the mouse drag, for comparison with the current y coordinate

phi

double phi
The value of phi for the spherical coordinates (declination from the positive Z axis)

ro

double ro
The value of ro for the spherical coordinates (radius) - Since perspective is unused this variable is unused

theta

double theta
The value of theta for the spherical coordinates (right-ascension)

traceCheckbox

java.awt.Checkbox traceCheckbox
Checkbox to toggle the tracing of the satellites orbit on/off

viewX

double viewX
The Cartesian X coordinate of the viewPoint relative to the origin of the stationary galaxy

viewY

double viewY
The Cartesian Y coordinate of the viewPoint relative to the origin of the stationary galaxy

viewZ

double viewZ
The Cartesian Z coordinate of the viewPoint relative to the origin of the stationary galaxy

WIDTH

int WIDTH
The width of this panel in pixels

xDataMax

double xDataMax
The maximum value for x coordinate plane at the viewpoint. Data beyond this value will not appear in the pane

xDataMin

double xDataMin
The min value for x coordinate plane at the viewpoint. Data beyond this value will not appear in the pane

yDataMax

double yDataMax
The maximum value for y coordinate plane at the viewpoint. Data beyond this value will not appear in the pane

yDataMin

double yDataMin
The minimum value for y coordinate plane at the viewpoint. Data beyond this value will not appear in the pane