A B C D E F G H I K L M N O P Q R S T U V W X Y Z

A

actionPerformed(ActionEvent) - Method in class FlyingPlatform
process popup menu input
actionPerformed(ActionEvent) - Method in class FlyingPlatform.SettingsDialog
process button press events, moving the platform accordingly
aerialView() - Method in class FlyingPlatform
Moves the viewplatform to give an aerial view of the terrain and turns off terrain following.
aerialViewB - Variable in class FlyingPlatform.SettingsDialog
 
aerialViewMenu - Variable in class FlyingPlatform
 
altField - Variable in class FlyingPlatform.SettingsDialog
 
ambientColor - Variable in class View3DPanel
ambient light color
ARECORD_LENGTH - Static variable in class DemFile
 
averageNormals(double[][], int, double[]) - Static method in class InterleavedTriangleStripArray
This method calculates the average of a set of normals stored in an array of doubles.

B

backgroundColor - Variable in class View3DPanel
background color
backwardB - Variable in class FlyingPlatform.SettingsDialog
 
bf - Variable in class FlyingPlatform.SettingsDialog
 

C

calcNormalCCW(double[], float[], int, int, int) - Method in class InterleavedTriangleStripArray
Calculate normal, assumes counter-clockwise order of vertices
calcNormalCW(double[], float[], int, int, int) - Method in class InterleavedTriangleStripArray
Calculate normal, assumes clockwise order of vertices
canvas - Variable in class FlyingPlatform
 
canvas - Variable in class View3DPanel
 
COLOR_OFFSET - Static variable in class ElevationSegment
 
COLOR_OFFSET - Variable in class InterleavedTriangleStripArray
 
COORD_OFFSET - Static variable in class ElevationSegment
 
COORD_OFFSET - Variable in class InterleavedTriangleStripArray
 

D

dColumns - Variable in class ElevationSegment
number of columns of vertex data stored
deltaCol - Variable in class ElevationModel
space in meters between each column of elevation data
deltaRow - Variable in class ElevationModel
space in meters between each row of elevation data
deltaX - Variable in class ElevationSegment
meters between columns of data
deltaZ - Variable in class ElevationSegment
meters between rows of data
DemFile - class DemFile.
This class is a specialization of the ElevationFile class created specifically to load DEM format data from the USGS archives.
DemFile(String) - Constructor for class DemFile
Create DemFile object from data contained in specified file
df - Variable in class FlyingPlatform.SettingsDialog
 
directionalColor - Variable in class View3DPanel
directional light color
distances - Variable in class LODSegment
distance array used to determine which ElevationSegment to display.
dLOD - Variable in class LODSegment
DistanceLOD node to tell Switch which one to display
downB - Variable in class FlyingPlatform.SettingsDialog
 
dRows - Variable in class ElevationSegment
number of rows of vertex data stored

E

east_X - Variable in class ElevationModel
maximum X coordinate
ElevationFile - class ElevationFile.
ElevationFile is an abstract base class used to define the interface between files holding terrain data and the JAVA3D classes that convert the terrain data into geometric primitives.
ElevationFile() - Constructor for class ElevationFile
 
ElevationModel - class ElevationModel.
ElevationModel is a specialization of a BranchGroup that holds Java3D geometry objects representing a terrain map.
ElevationModel(String, StatusWindow) - Constructor for class ElevationModel
Load the DEM file and create a set of LODSegments based on its data.
ElevationModelInterface - interface ElevationModelInterface.
Defines an generic inteface between the ElevationModel and other objects that require its characteristics for display purposes.
elevations - Variable in class ElevationFile
two dimensional array of elevation data in meters, array represents equally spaced data points across the groundCoordinates.
ElevationSegment - class ElevationSegment.
ElevationSegment is a specialization of Shape3d.
ElevationSegment(int[][], int, int, int, int, int, int, GroundCoordinates, float, float, float, float, float, int) - Constructor for class ElevationSegment
Constructor is reponsible for setting up the appearance/material, computing the triangle strip values (colors, normals, coordinates) stored in vertexData, then creating the actual JAVA 3D geometry.
exageration - Variable in class ElevationModel
factor each elevation reading is multiplied by when drawing the model.

F

FIELD_OF_VIEW - Static variable in class View3DPanel
degrees in the field of view
fileName - Variable in class ElevationFile
data file name
FLOATSPERVERTEX - Static variable in class ElevationSegment
 
FLOATSPERVERTEX - Variable in class InterleavedTriangleStripArray
 
FlyingPlatform - class FlyingPlatform.
This class is a specialization of ViewPlatformAWTBehavior.
FlyingPlatform.SettingsDialog - class FlyingPlatform.SettingsDialog.
Inner class, popup dialog used to allow settings to be controlled and navigation to be done with buttons
FlyingPlatform.SettingsDialog(Frame) - Constructor for class FlyingPlatform.SettingsDialog
initize the Settings dialog.
FlyingPlatform(Canvas3D, ElevationModelInterface) - Constructor for class FlyingPlatform
Create the flying platform
focusGained(FocusEvent) - Method in class FlyingPlatform.SettingsDialog
 
focusLost(FocusEvent) - Method in class FlyingPlatform.SettingsDialog
process focus event, whenever the stepfield/rotatefield loses focus, retrieve the value that the user entered.
followTerrain - Variable in class FlyingPlatform
 
forwardB - Variable in class FlyingPlatform.SettingsDialog
 

G

generateNormals(boolean) - Method in class InterleavedTriangleStripArray
Traverse interleaved vertex data and generate normal values.
getElevationAt(float, float) - Method in class ElevationModel
Fetches the elevation at a particular location on the terrain map given the x,z coordinates.
getElevationAt(float, float) - Method in interface ElevationModelInterface
Fetches the elevation at a particular location on the terrain map given the x,z coordinates.
getElevationAt(float, float) - Method in class ElevationSegment
Fetches the elevation at a particular location on the terrain map given the x,z coordinates.
getElevationAt(float, float) - Method in class LODSegment
Fetches the elevation at a particular location on the terrain map given the x,z coordinates.
getMaxElevation() - Method in class ElevationModel
retrieve the model maximum elevation, adjusted by the elevation exageration
getMaxElevation() - Method in interface ElevationModelInterface
retrieve the model maximum elevation, adjusted by the elevation exageration
getMinElevation() - Method in class ElevationModel
retrieve the model minimum elevation, adjusted by the elevation exageration
getMinElevation() - Method in interface ElevationModelInterface
retrieve the model minimum elevation, adjusted by the elevation exageration
getModel() - Method in class View3DPanel
retrieve the elevation model that was last loaded.
getModelLength() - Method in class ElevationModel
retrieve the model length, distance in meters from west to east
getModelLength() - Method in interface ElevationModelInterface
retrieve the model length, distance in meters from west to east
getModelWidth() - Method in class ElevationModel
retrieve the model width, distance in meters from south to north
getModelWidth() - Method in interface ElevationModelInterface
retrieve the model width, distance in meters from south to north
getRotateAmount() - Method in class FlyingPlatform
returns the rotation amount
getRotateAngle() - Method in class FlyingPlatform.SettingsDialog
retrieve step size, movement amount, if there is an error, set it to 5.0
getSegment(int) - Method in class LODSegment
retrieves an elevation segment object
getStepSize() - Method in class FlyingPlatform
returns the setsize
getStepSize() - Method in class FlyingPlatform.SettingsDialog
retrieve step size, movement amount, if there is an error, set it to 1.0
goHome() - Method in class FlyingPlatform
Moves the viewplatform to the default home position and turns off terrain following.
groundCoordinates - Variable in class ElevationFile
holds ground coordinates of the 4 corners in arc seconds
groundCoordinates - Variable in class ElevationModel
ground coordinates for the model, contains the lat/long of the four corners in arc seconds
groundCoordinates - Variable in class ElevationSegment
ground coordinates for the model, contains the lat/long of the four corners in arc seconds
groundCoordinates - Variable in class LODSegment
Ground coordinates, lat, long, of the segment
GroundCoordinates - class GroundCoordinates.
This class is used to store the ground coordinates of a terrain data segment the latitude and longitude of each corner of the terrain area are stored in arc-second units
GroundCoordinates() - Constructor for class GroundCoordinates
create ground coordinate object with all values set to null

H

headingField - Variable in class FlyingPlatform.SettingsDialog
 
HOME_X - Variable in class FlyingPlatform
home X location
HOME_XANGLE - Static variable in class FlyingPlatform
base XAxis attitude determines whether you are climbing or diving
HOME_Y - Variable in class FlyingPlatform
home Y location
HOME_YANGLE - Static variable in class FlyingPlatform
base YAxis attitude determines whether you are flying east/west/north/south
HOME_Z - Variable in class FlyingPlatform
home Z location
HOME_ZANGLE - Static variable in class FlyingPlatform
base ZAxis attitude determines whether you are banking left or right
homeBaseB - Variable in class FlyingPlatform.SettingsDialog
 
homeBaseMenu - Variable in class FlyingPlatform
 

I

increaseXRotate(float) - Method in class FlyingPlatform
Increase the X axis rotation.
increaseY(float) - Method in class FlyingPlatform
Increase the Y location.
increaseYRotate(float) - Method in class FlyingPlatform
Increase the Y axis rotation.
increaseZRotate(float) - Method in class FlyingPlatform
Increase the Z axis rotation.
infiniteBounds - Variable in class View3DPanel
 
INITIAL_TERRAIN_FOLLOW_ALTITUDE - Static variable in class FlyingPlatform
 
instructionPanel - Variable in class Main
 
InstructionPanel - class InstructionPanel.
Creates a panel displaying keyboard and mouse control commands
InstructionPanel() - Constructor for class InstructionPanel
 
integrateTransforms() - Method in class FlyingPlatform
reset the viewplatform transformation based on the x,y,z rotation and location information.
InterleavedTriangleStripArray - class InterleavedTriangleStripArray.
This class is a specialization of the TriangleStripArray created to enhance performance of generating triangle strips.
InterleavedTriangleStripArray(int, int, int[]) - Constructor for class InterleavedTriangleStripArray
 
itemStateChanged(ItemEvent) - Method in class FlyingPlatform
processes the terrain following checkmenu item.

K

keyPressed(KeyEvent) - Method in class FlyingPlatform
process keyboard input up arrow - move forward down arrow - move backward left arrow - turn left right arrow - turn right U, u - increase altitude D, d - decrease altitude

L

label1 - Variable in class StatusWindow
 
label2 - Variable in class StatusWindow
 
labelFont - Variable in class StatusWindow
 
LATITUDE - Static variable in class GroundCoordinates
 
leftB - Variable in class FlyingPlatform.SettingsDialog
 
lengthMeters() - Method in class GroundCoordinates
calculate the length (east to west) of the segment
lengthSeconds() - Method in class GroundCoordinates
calculate the length (east to west) of the segment
levelOff() - Method in class FlyingPlatform
Cause the viewplatform to return to level flight, x, z angles all set to 0
levelOffB - Variable in class FlyingPlatform.SettingsDialog
 
levelOffMenu - Variable in class FlyingPlatform
 
load(String[]) - Method in class Main
Loads elevation data file specified in first entry the cmdLine argument if there is no command line then display a filedialog to allow the user to choose the file.
load(String, StatusWindow) - Method in class View3DPanel
Loads elevation data file, creates and initializes the view and viewing platform to conform to the terrain model
locationField - Variable in class FlyingPlatform.SettingsDialog
 
LODSegment - class LODSegment.
LOD segment is based on a TransformGroup.
LODSegment(int[][], int, int, int, int, int, int, GroundCoordinates, float, float, float, float, float) - Constructor for class LODSegment
Constructor is for creating the series of objects that allow level of detail based on distance displays.
LONGITUDE - Static variable in class GroundCoordinates
 

M

Main - class Main.
Demonstration application for DEM model objects.
Main() - Constructor for class Main
 
main(String[]) - Static method in class Main
main routine, create the frame, make it visible, then attempt to load a file either from the command line (if present) or a dialog.
matColor - Static variable in class ElevationSegment
 
maxElevation - Variable in class ElevationFile
maximum elevation in meters
maxElevation - Variable in class ElevationModel
maximum elevation in meters
METERS_PER_NAUTICAL_MILE - Static variable in class GroundCoordinates
 
METERS_PER_NAUTICAL_SECOND - Static variable in class GroundCoordinates
 
MIN_ARECORD_TOKENS - Static variable in class DemFile
 
minElevation - Variable in class ElevationFile
minimum elevation in meters
minElevation - Variable in class ElevationModel
minimum elevation in meters
MINIMUM_ALTITUDE - Static variable in class FlyingPlatform
 
model - Variable in class FlyingPlatform
 
model - Variable in class Main
 
model - Variable in class View3DPanel
 
mouseClicked(MouseEvent) - Method in class FlyingPlatform
process mouse clicked event, check if it is the right button, if so, bring up the popup menu.
mouseDragged(MouseEvent) - Method in class FlyingPlatform
process mouseDragged event.
mouseMoved(MouseEvent) - Method in class FlyingPlatform
process mouse moved event, just reset old mouse locations
moveAmt - Variable in class FlyingPlatform
amount to move (in meters) on each operation
moveForward(float) - Method in class FlyingPlatform
move the viewplatform forward by desired number of meters forward implies in the direction that it is currently pointed.

N

name - Variable in class ElevationModel
geographic name or title of the data
NAUTICAL_SECONDS_PER_METER - Static variable in class GroundCoordinates
 
nColumns - Variable in class ElevationFile
number of data columns
ne - Variable in class GroundCoordinates
 
NORMAL_OFFSET - Static variable in class ElevationSegment
 
NORMAL_OFFSET - Variable in class InterleavedTriangleStripArray
 
normalize(float[], int) - Method in class InterleavedTriangleStripArray
normalize (make length equal 1) vector from origin to normal
north_Z - Variable in class ElevationModel
minimum Z coordinate
nRows - Variable in class ElevationFile
number of data rows
nw - Variable in class GroundCoordinates
 

O

oldx - Variable in class FlyingPlatform
 
oldy - Variable in class FlyingPlatform
 

P

p1 - Variable in class FlyingPlatform.SettingsDialog
 
p11 - Variable in class FlyingPlatform.SettingsDialog
 
p12 - Variable in class FlyingPlatform.SettingsDialog
 
p2 - Variable in class FlyingPlatform.SettingsDialog
 
pAlt - Variable in class FlyingPlatform.SettingsDialog
 
parseDemDouble(String) - Method in class DemFile
This method parses a double from a string.
parseDemInt(String) - Method in class DemFile
 
pControls - Variable in class FlyingPlatform.SettingsDialog
 
pHeading - Variable in class FlyingPlatform.SettingsDialog
 
pitchField - Variable in class FlyingPlatform.SettingsDialog
 
platform - Variable in class View3DPanel
 
platformVect - Variable in class FlyingPlatform
holds view platform location
pLocation - Variable in class FlyingPlatform.SettingsDialog
 
popupMenu - Variable in class FlyingPlatform
 
pPitch - Variable in class FlyingPlatform.SettingsDialog
 
processAWTEvents(AWTEvent[]) - Method in class FlyingPlatform
 
pRoll - Variable in class FlyingPlatform.SettingsDialog
 

Q

QUADRANGLE_NAME_LENGTH - Static variable in class DemFile
 
quadrangleName - Variable in class ElevationFile
geographic name or title of the data

R

resolutions - Variable in class LODSegment
resolutions of Elevation segments, 1 implies every point, 10 implies every 10th point
rightB - Variable in class FlyingPlatform.SettingsDialog
 
rollField - Variable in class FlyingPlatform.SettingsDialog
 
rotateField - Variable in class FlyingPlatform.SettingsDialog
 
rotateLabel - Variable in class FlyingPlatform.SettingsDialog
 

S

se - Variable in class GroundCoordinates
 
SECONDS_PER_NAUTICAL_MILE - Static variable in class GroundCoordinates
 
SECONDS_PER_SEGMENT - Static variable in class ElevationModel
number of seconds high/wide of each segment is
segments - Variable in class ElevationModel
two dimensional array of segments comprising the model data
segments - Variable in class LODSegment
ElevationSegments, one for each resolution
sensitivity - Static variable in class FlyingPlatform
 
setColor(int, int, int, int) - Method in class ElevationSegment
store color data into vertex data array, compute color based on the elevation's distance between min and max elevations
setCoordinate(int[][], int, int, int, int, int, float) - Method in class ElevationSegment
store coordinate data into vertex data array
setLabel1(String) - Method in class StatusWindow
Set the top line text
setLabel2(String) - Method in class StatusWindow
Set the bottom line text
setLabel2(String, int, int) - Method in class StatusWindow
Set the bottom line text to read : value x of y
setRendering(boolean) - Method in class View3DPanel
starts and stops rendering
setRotateAmt(float) - Method in class FlyingPlatform
updates the amount of rotation (in degrees) that the platform is rotated with each mouse move/arrow key event
setStepSize(float) - Method in class FlyingPlatform
updates the amount of space (in meters) that the platform is advanced with each mouse move/arrow key event
settingsDialog - Variable in class FlyingPlatform
 
settingsMenu - Variable in class FlyingPlatform
 
setupAppearance() - Method in class ElevationSegment
setup the material properties and coloring attributes
setupButton(JButton) - Method in class FlyingPlatform.SettingsDialog
Initialize font, spacing for buttons
setupLabel(JLabel) - Method in class FlyingPlatform.SettingsDialog
Initialize color, font, opaquenss for labels
setVisible(boolean) - Method in class FlyingPlatform.SettingsDialog
Override setvisible to insure fields have latest values
south_Z - Variable in class ElevationModel
maximum Z coordinate, note, positive Z axis is in the south due to Java3D
StatusWindow - class StatusWindow.
This class provides a simple 2 line status window to display progress information while loading data from files.
StatusWindow(JFrame) - Constructor for class StatusWindow
Create the status window
stepField - Variable in class FlyingPlatform.SettingsDialog
 
stepLabel - Variable in class FlyingPlatform.SettingsDialog
 
stitchRight(ElevationSegment) - Method in class ElevationSegment
stitch right of this segment to left of other segment, stitching consists of averaging the normals on the common boundary vertices between segments.
stitchRight(LODSegment) - Method in class LODSegment
stitch right of this segment to left of other segment, stitching consists of averaging the normals on the common boundary vertices between segments.
stitchTop(ElevationSegment) - Method in class ElevationSegment
stitch top of this segment to bottom of other segment, stitching consists of averaging the normals on the common boundary vertices between segments.
stitchTop(LODSegment) - Method in class LODSegment
stitch top of this segment to bottom of other segment, stitching consists of averaging the normals on the common boundary vertices between segments.
sw - Variable in class GroundCoordinates
 
switchNode - Variable in class LODSegment
Switch node to control ElevationSegments

T

terrainFollowAltitude - Variable in class FlyingPlatform
 
terrainFollowMenu - Variable in class FlyingPlatform
 
TEXTURE_OFFSET - Variable in class InterleavedTriangleStripArray
 
toString() - Method in class GroundCoordinates
convert to string for display purposes
tStrip - Variable in class ElevationSegment
 
turnAmt - Variable in class FlyingPlatform
amount to turn(in degrees) on each operation
turnDownB - Variable in class FlyingPlatform.SettingsDialog
 
turnLeftB - Variable in class FlyingPlatform.SettingsDialog
 
turnRightB - Variable in class FlyingPlatform.SettingsDialog
 
turnUpB - Variable in class FlyingPlatform.SettingsDialog
 

U

universe - Variable in class View3DPanel
 
upB - Variable in class FlyingPlatform.SettingsDialog
 
updateTextFields() - Method in class FlyingPlatform.SettingsDialog
Initialize/update text fields

V

vertexData - Variable in class ElevationSegment
 
View3DPanel - class View3DPanel.
This class, based on JPanel, creates a Panel that displays a SimpleUniverse, complete with ambient and directional lights.
View3DPanel() - Constructor for class View3DPanel
This class, based on JPanel, creates a Panel that displays a SimpleUniverse complete with ambient and directional lights
viewPane - Variable in class Main
 

W

west_X - Variable in class ElevationModel
minimum X coordinate
widthMeters() - Method in class GroundCoordinates
calculate the width (south to north ) of the segment
widthSeconds() - Method in class GroundCoordinates
calculate the width (south to north ) of the segment
world - Variable in class View3DPanel
 

X

xAngle - Variable in class FlyingPlatform
holds current X axis attitude
xStart - Variable in class ElevationSegment
first column logical coordinate

Y

yAngle - Variable in class FlyingPlatform
holds current Y axis attitude

Z

zAngle - Variable in class FlyingPlatform
holds current Z axis attitude
zStart - Variable in class ElevationSegment
first row logical coordinate

A B C D E F G H I K L M N O P Q R S T U V W X Y Z