de.uka.algo.GT3D
Class FlyThroughGenreTime

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by de.uka.algo.GT3D.FlyThroughGenreTime
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class FlyThroughGenreTime
extends javax.swing.JFrame
implements java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.MouseMotionListener, java.awt.event.MouseListener, java.awt.event.MouseWheelListener

See Also:
Serialized Form

Nested Class Summary
 class FlyThroughGenreTime.HeadSet
           
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  java.util.LinkedList<y.base.Edge> acceptedEdges
           
(package private)  javax.media.j3d.Material actionNodeSphereMaterial
           
(package private)  javax.media.j3d.Material adultNodeSphereMaterial
           
(package private)  javax.media.j3d.Material adventureNodeSphereMaterial
           
private  int aimTolerance
           
(package private)  java.util.Set<FlyThroughGenreTime.HeadSet> allHeads
           
(package private)  javax.media.j3d.Material animationNodeSphereMaterial
           
(package private)  javax.media.j3d.ColoringAttributes axisColoringAttributes
           
(package private)  javax.media.j3d.Material axisMaterial
           
(package private)  javax.vecmath.Color3f black
           
(package private)  javax.vecmath.Color3f blue
           
(package private)  javax.media.j3d.Appearance boomAppearance
           
(package private)  javax.media.j3d.Material boomMaterial
           
(package private)  javax.vecmath.Color3f brown
           
private  javax.media.j3d.Canvas3D c3d
           
private  javax.swing.JButton cameraInfo
           
private  javax.vecmath.Matrix3d camHeading
           
private  javax.vecmath.Vector3d camPosition
           
(package private)  java.awt.Point canvasTopLeft
           
(package private)  javax.media.j3d.Material comedyNodeSphereMaterial
           
private  javax.swing.JLabel coordLabel
           
(package private)  double cosmX
           
(package private)  double cosmY
           
(package private)  double cosmZ
           
(package private)  javax.media.j3d.Material crimeNodeSphereMaterial
           
private  int currentPressedKey
           
(package private)  javax.vecmath.Color3f darkblue
           
(package private)  javax.vecmath.Color3f darkergray
           
(package private)  javax.vecmath.Color3f darkgray
           
(package private)  javax.vecmath.Color3f darkgreen
           
(package private)  javax.vecmath.Color3f darkyellow
           
private  javax.vecmath.Vector3d dazuPosition
           
(package private)  javax.media.j3d.Material dramaNodeSphereMaterial
           
private  javax.media.j3d.BranchGroup dynamicParentGroup
           
private  javax.media.j3d.BranchGroup dynamicStuffBG
           
(package private)  javax.media.j3d.ColoringAttributes edgeColoringAttributes
           
(package private)  javax.media.j3d.Material edgeMaterial
           
private  double edgeRelevanceAbsoluteThreshold
           
private  double edgeRelevancePercentageThreshold
           
(package private)  java.util.Map<y.base.Edge,com.sun.j3d.utils.geometry.Cone> edgeToCone
           
(package private)  java.util.Map<y.base.Edge,com.sun.j3d.utils.geometry.Cylinder> edgeToCylinder
           
private  y.base.EdgeMap edgeWeights
           
(package private)  javax.media.j3d.Material familyNodeSphereMaterial
           
(package private)  javax.media.j3d.Material fantasyNodeSphereMaterial
           
(package private)  javax.media.j3d.Material filmnoirNodeSphereMaterial
           
private  com.sun.j3d.utils.geometry.Cylinder fireRay
           
(package private)  javax.media.j3d.ColoringAttributes fireRayColoringAttributes
           
(package private)  javax.media.j3d.Material fireRayMaterial
           
private  javax.media.j3d.TransformGroup flyingCamera
           
private  javax.swing.JButton go
           
(package private)  boolean graphEdgesAreWeighted
           
(package private)  boolean graphIsDirected
           
(package private)  boolean graphNodeWidthRelevant
           
(package private)  javax.vecmath.Color3f green
           
(package private)  javax.media.j3d.ColoringAttributes headColoringAttributes
           
(package private)  javax.media.j3d.Material headMaterial
           
(package private)  int headPrimflags
           
private  javax.media.j3d.BoundingSphere headSpotlightBounds
           
(package private)  javax.media.j3d.Material horrorNodeSphereMaterial
           
private  javax.swing.JButton invertMouseY
           
(package private)  boolean inWeightRelevant
           
private  double keyRollFactor
           
private  double knueppelSensitivity
           
(package private)  javax.vecmath.Color3f lightblue
           
(package private)  javax.vecmath.Color3f lightgray
           
(package private)  javax.vecmath.Color3f lightgreen
           
(package private)  javax.vecmath.Color3f lightred
           
(package private)  javax.vecmath.Color3f lightyellow
           
private  double lookSensitivity
           
private  int maxOutDegree
           
private  javax.swing.JLabel messageLabel
           
private  javax.media.j3d.Transform3D moveCamera
           
private  double moveSensitivity
           
(package private)  javax.media.j3d.Material musicalNodeSphereMaterial
           
(package private)  javax.media.j3d.Material musicNodeSphereMaterial
           
private  double mWheelRollFactor
           
(package private)  double mX
           
(package private)  double mY
           
(package private)  javax.media.j3d.Material mysteryNodeSphereMaterial
           
(package private)  double mZ
           
(package private)  java.lang.String navFile
           
(package private)  javax.media.j3d.ColoringAttributes nodeSphereColoringAttributes
           
(package private)  javax.media.j3d.Material nodeSphereMaterial
           
(package private)  boolean nodeTextureOn
           
(package private)  java.util.Map<y.base.Node,java.lang.Double> nodeToInWeight
           
(package private)  java.util.Map<y.base.Node,javax.vecmath.Vector3f> nodeToLocation
           
(package private)  java.util.Map<y.base.Node,com.sun.j3d.utils.geometry.Sphere> nodeToSphere
           
(package private)  javax.vecmath.Color3f orange
           
(package private)  javax.media.j3d.AlternateAppearance pickAppearance
           
private  com.sun.j3d.utils.picking.PickCanvas pickCanvas
           
(package private)  boolean playOn
           
(package private)  boolean recordOn
           
(package private)  javax.vecmath.Color3f red
           
(package private)  double refX
           
(package private)  double refY
           
(package private) static int resolutionX
           
(package private) static int resolutionY
           
(package private)  boolean restrictArrowCones
           
(package private)  javax.media.j3d.Material romanceNodeSphereMaterial
           
private  double rotation
           
private  javax.vecmath.Matrix3d rotMatX
           
private  javax.vecmath.Matrix3d rotMatY
           
private  javax.vecmath.Matrix3d rotMatYtoMinusZ
           
private  javax.vecmath.Matrix3d rotMatZ
           
private  javax.media.j3d.BranchGroup scene
           
(package private)  javax.media.j3d.Material scifiNodeSphereMaterial
           
(package private)  double sinmX
           
(package private)  double sinmY
           
(package private)  double sinmZ
           
(package private)  java.lang.String sourceGraphString
           
(package private)  java.util.Map<com.sun.j3d.utils.geometry.Sphere,y.base.Node> sphereToNode
           
private  javax.vecmath.Vector3d startPosition
           
private  javax.vecmath.Matrix3d startRotation
           
(package private)  java.io.BufferedReader statsRead
           
(package private)  java.io.BufferedWriter statsWrite
           
private  javax.swing.JButton steuerknueppelButton
           
private  boolean steuerKnueppelMode
           
private  javax.media.j3d.Transform3D T3DFire
           
private  javax.media.j3d.Transform3D T3DFireSub
           
private  javax.vecmath.Vector3f tempRotAxis
           
private  javax.media.j3d.TransformGroup TGFire
           
private  javax.media.j3d.TransformGroup TGFireSub
           
(package private) static java.awt.Robot theRobot
           
(package private)  javax.media.j3d.Material thrillerNodeSphereMaterial
           
private  javax.swing.Timer timer
           
private  int timerMillis
           
(package private)  int tourCounter
           
(package private)  javax.media.j3d.ColoringAttributes tubeColoringAttributes
           
(package private)  float tubeLength
           
(package private)  javax.media.j3d.Material tubeMaterial
           
(package private)  float tubeRadius
           
(package private)  boolean tubeTextureOn
           
(package private)  double tubeTransparency
           
private  javax.vecmath.Matrix3d unitMatrix3D
           
private  com.sun.j3d.utils.universe.ViewingPlatform vPlatform
           
(package private)  javax.media.j3d.Material warNodeSphereMaterial
           
(package private)  javax.media.j3d.Material westernNodeSphereMaterial
           
(package private)  javax.vecmath.Color3f white
           
(package private)  int xDivision
           
(package private)  int yDivision
           
(package private)  javax.vecmath.Color3f yellow
           
(package private)  double Ysign
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FlyThroughGenreTime()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
private  void addStatsToNavFile()
           
private  void createBaseTube(javax.media.j3d.BranchGroup objRoot)
           
private  void createCoordinateSystem(javax.media.j3d.BranchGroup objRoot)
           
private  void createFamousHeads(javax.media.j3d.BranchGroup objRoot, y.view.Graph2D sourceGraph)
           
private  void createLight(javax.media.j3d.BranchGroup objRoot)
           
private  void createNonsense(javax.media.j3d.BranchGroup objRoot)
           
 javax.media.j3d.BranchGroup createSceneGraph()
           
private  void imprintSourceGraph(y.view.Graph2D sourceGraph, javax.media.j3d.BranchGroup objRoot)
           
private  void initializeNavFile()
           
 void keyEvaluation(int keyNumber)
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
static void main(java.lang.String[] args)
           
 void mouseClicked(java.awt.event.MouseEvent m)
           
 void mouseDragged(java.awt.event.MouseEvent m)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent m)
           
 void mousePressed(java.awt.event.MouseEvent m)
           
 void mouseReleased(java.awt.event.MouseEvent m)
           
 void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
           
private  javax.media.j3d.Node placeEdge(y.base.Edge theEdge, float thickness, y.base.Node source, y.base.Node target)
           
 void printCameraStats()
           
private  java.lang.String printVector(javax.vecmath.Vector3d vec, int decDig, int fracDig)
           
private  y.view.Graph2D readSourceGraph()
           
 void resetPosAndHeading()
           
 boolean rotateTheViewer()
           
private  void rotMatReset()
           
private  float spaceOnEdge(y.base.Edge edge)
           
private  void tourPlay()
           
private  void tourRecord()
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

c3d

private javax.media.j3d.Canvas3D c3d

edgeWeights

private y.base.EdgeMap edgeWeights

acceptedEdges

private java.util.LinkedList<y.base.Edge> acceptedEdges

go

private javax.swing.JButton go

cameraInfo

private javax.swing.JButton cameraInfo

invertMouseY

private javax.swing.JButton invertMouseY

steuerknueppelButton

private javax.swing.JButton steuerknueppelButton

messageLabel

private javax.swing.JLabel messageLabel

coordLabel

private javax.swing.JLabel coordLabel

rotation

private double rotation

currentPressedKey

private int currentPressedKey

timer

private javax.swing.Timer timer

timerMillis

private int timerMillis

recordOn

boolean recordOn

playOn

boolean playOn

tourCounter

int tourCounter

navFile

java.lang.String navFile

statsWrite

java.io.BufferedWriter statsWrite

statsRead

java.io.BufferedReader statsRead

flyingCamera

private javax.media.j3d.TransformGroup flyingCamera

moveCamera

private javax.media.j3d.Transform3D moveCamera

vPlatform

private com.sun.j3d.utils.universe.ViewingPlatform vPlatform

pickCanvas

private com.sun.j3d.utils.picking.PickCanvas pickCanvas

scene

private javax.media.j3d.BranchGroup scene

fireRay

private com.sun.j3d.utils.geometry.Cylinder fireRay

dynamicStuffBG

private javax.media.j3d.BranchGroup dynamicStuffBG

dynamicParentGroup

private javax.media.j3d.BranchGroup dynamicParentGroup

TGFire

private javax.media.j3d.TransformGroup TGFire

T3DFire

private javax.media.j3d.Transform3D T3DFire

TGFireSub

private javax.media.j3d.TransformGroup TGFireSub

T3DFireSub

private javax.media.j3d.Transform3D T3DFireSub

headSpotlightBounds

private javax.media.j3d.BoundingSphere headSpotlightBounds

aimTolerance

private int aimTolerance

lookSensitivity

private double lookSensitivity

knueppelSensitivity

private double knueppelSensitivity

moveSensitivity

private double moveSensitivity

keyRollFactor

private double keyRollFactor

mWheelRollFactor

private double mWheelRollFactor

steuerKnueppelMode

private boolean steuerKnueppelMode

edgeRelevancePercentageThreshold

private double edgeRelevancePercentageThreshold

edgeRelevanceAbsoluteThreshold

private double edgeRelevanceAbsoluteThreshold

maxOutDegree

private int maxOutDegree

camHeading

private javax.vecmath.Matrix3d camHeading

camPosition

private javax.vecmath.Vector3d camPosition

rotMatX

private javax.vecmath.Matrix3d rotMatX

rotMatY

private javax.vecmath.Matrix3d rotMatY

rotMatZ

private javax.vecmath.Matrix3d rotMatZ

unitMatrix3D

private javax.vecmath.Matrix3d unitMatrix3D

rotMatYtoMinusZ

private javax.vecmath.Matrix3d rotMatYtoMinusZ

startRotation

private javax.vecmath.Matrix3d startRotation

dazuPosition

private javax.vecmath.Vector3d dazuPosition

startPosition

private javax.vecmath.Vector3d startPosition

tempRotAxis

private javax.vecmath.Vector3f tempRotAxis

mX

double mX

cosmX

double cosmX

sinmX

double sinmX

mY

double mY

cosmY

double cosmY

sinmY

double sinmY

mZ

double mZ

cosmZ

double cosmZ

sinmZ

double sinmZ

refX

double refX

refY

double refY

canvasTopLeft

java.awt.Point canvasTopLeft

Ysign

double Ysign

theRobot

static java.awt.Robot theRobot

resolutionX

static int resolutionX

resolutionY

static int resolutionY

tubeLength

float tubeLength

tubeRadius

float tubeRadius

tubeTransparency

double tubeTransparency

tubeTextureOn

boolean tubeTextureOn

nodeTextureOn

boolean nodeTextureOn

xDivision

int xDivision

yDivision

int yDivision

sourceGraphString

java.lang.String sourceGraphString

graphIsDirected

boolean graphIsDirected

restrictArrowCones

boolean restrictArrowCones

graphEdgesAreWeighted

boolean graphEdgesAreWeighted

inWeightRelevant

boolean inWeightRelevant

graphNodeWidthRelevant

boolean graphNodeWidthRelevant

nodeToSphere

java.util.Map<y.base.Node,com.sun.j3d.utils.geometry.Sphere> nodeToSphere

sphereToNode

java.util.Map<com.sun.j3d.utils.geometry.Sphere,y.base.Node> sphereToNode

nodeToLocation

java.util.Map<y.base.Node,javax.vecmath.Vector3f> nodeToLocation

nodeToInWeight

java.util.Map<y.base.Node,java.lang.Double> nodeToInWeight

edgeToCylinder

java.util.Map<y.base.Edge,com.sun.j3d.utils.geometry.Cylinder> edgeToCylinder

edgeToCone

java.util.Map<y.base.Edge,com.sun.j3d.utils.geometry.Cone> edgeToCone

allHeads

java.util.Set<FlyThroughGenreTime.HeadSet> allHeads

headPrimflags

int headPrimflags

nodeSphereColoringAttributes

javax.media.j3d.ColoringAttributes nodeSphereColoringAttributes

axisColoringAttributes

javax.media.j3d.ColoringAttributes axisColoringAttributes

edgeColoringAttributes

javax.media.j3d.ColoringAttributes edgeColoringAttributes

tubeColoringAttributes

javax.media.j3d.ColoringAttributes tubeColoringAttributes

fireRayColoringAttributes

javax.media.j3d.ColoringAttributes fireRayColoringAttributes

headColoringAttributes

javax.media.j3d.ColoringAttributes headColoringAttributes

axisMaterial

javax.media.j3d.Material axisMaterial

edgeMaterial

javax.media.j3d.Material edgeMaterial

tubeMaterial

javax.media.j3d.Material tubeMaterial

fireRayMaterial

javax.media.j3d.Material fireRayMaterial

boomMaterial

javax.media.j3d.Material boomMaterial

headMaterial

javax.media.j3d.Material headMaterial

boomAppearance

javax.media.j3d.Appearance boomAppearance

pickAppearance

javax.media.j3d.AlternateAppearance pickAppearance

black

javax.vecmath.Color3f black

white

javax.vecmath.Color3f white

red

javax.vecmath.Color3f red

lightred

javax.vecmath.Color3f lightred

blue

javax.vecmath.Color3f blue

lightblue

javax.vecmath.Color3f lightblue

darkblue

javax.vecmath.Color3f darkblue

yellow

javax.vecmath.Color3f yellow

darkyellow

javax.vecmath.Color3f darkyellow

lightyellow

javax.vecmath.Color3f lightyellow

orange

javax.vecmath.Color3f orange

green

javax.vecmath.Color3f green

darkgreen

javax.vecmath.Color3f darkgreen

lightgreen

javax.vecmath.Color3f lightgreen

brown

javax.vecmath.Color3f brown

darkgray

javax.vecmath.Color3f darkgray

lightgray

javax.vecmath.Color3f lightgray

darkergray

javax.vecmath.Color3f darkergray

nodeSphereMaterial

javax.media.j3d.Material nodeSphereMaterial

adultNodeSphereMaterial

javax.media.j3d.Material adultNodeSphereMaterial

musicNodeSphereMaterial

javax.media.j3d.Material musicNodeSphereMaterial

comedyNodeSphereMaterial

javax.media.j3d.Material comedyNodeSphereMaterial

familyNodeSphereMaterial

javax.media.j3d.Material familyNodeSphereMaterial

dramaNodeSphereMaterial

javax.media.j3d.Material dramaNodeSphereMaterial

thrillerNodeSphereMaterial

javax.media.j3d.Material thrillerNodeSphereMaterial

crimeNodeSphereMaterial

javax.media.j3d.Material crimeNodeSphereMaterial

animationNodeSphereMaterial

javax.media.j3d.Material animationNodeSphereMaterial

warNodeSphereMaterial

javax.media.j3d.Material warNodeSphereMaterial

adventureNodeSphereMaterial

javax.media.j3d.Material adventureNodeSphereMaterial

actionNodeSphereMaterial

javax.media.j3d.Material actionNodeSphereMaterial

mysteryNodeSphereMaterial

javax.media.j3d.Material mysteryNodeSphereMaterial

musicalNodeSphereMaterial

javax.media.j3d.Material musicalNodeSphereMaterial

romanceNodeSphereMaterial

javax.media.j3d.Material romanceNodeSphereMaterial

fantasyNodeSphereMaterial

javax.media.j3d.Material fantasyNodeSphereMaterial

scifiNodeSphereMaterial

javax.media.j3d.Material scifiNodeSphereMaterial

westernNodeSphereMaterial

javax.media.j3d.Material westernNodeSphereMaterial

horrorNodeSphereMaterial

javax.media.j3d.Material horrorNodeSphereMaterial

filmnoirNodeSphereMaterial

javax.media.j3d.Material filmnoirNodeSphereMaterial
Constructor Detail

FlyThroughGenreTime

public FlyThroughGenreTime()
Method Detail

createSceneGraph

public javax.media.j3d.BranchGroup createSceneGraph()

createNonsense

private void createNonsense(javax.media.j3d.BranchGroup objRoot)

createFamousHeads

private void createFamousHeads(javax.media.j3d.BranchGroup objRoot,
                               y.view.Graph2D sourceGraph)

readSourceGraph

private y.view.Graph2D readSourceGraph()

imprintSourceGraph

private void imprintSourceGraph(y.view.Graph2D sourceGraph,
                                javax.media.j3d.BranchGroup objRoot)

spaceOnEdge

private float spaceOnEdge(y.base.Edge edge)

placeEdge

private javax.media.j3d.Node placeEdge(y.base.Edge theEdge,
                                       float thickness,
                                       y.base.Node source,
                                       y.base.Node target)

createCoordinateSystem

private void createCoordinateSystem(javax.media.j3d.BranchGroup objRoot)

createLight

private void createLight(javax.media.j3d.BranchGroup objRoot)

createBaseTube

private void createBaseTube(javax.media.j3d.BranchGroup objRoot)

rotMatReset

private void rotMatReset()

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyEvaluation

public void keyEvaluation(int keyNumber)

addStatsToNavFile

private void addStatsToNavFile()

initializeNavFile

private void initializeNavFile()

tourRecord

private void tourRecord()

tourPlay

private void tourPlay()

resetPosAndHeading

public void resetPosAndHeading()

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

rotateTheViewer

public boolean rotateTheViewer()
                        throws java.io.IOException
Throws:
java.io.IOException

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent m)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent m)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

printVector

private java.lang.String printVector(javax.vecmath.Vector3d vec,
                                     int decDig,
                                     int fracDig)

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent m)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

printCameraStats

public void printCameraStats()

mousePressed

public void mousePressed(java.awt.event.MouseEvent m)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent m)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseWheelMoved

public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
Specified by:
mouseWheelMoved in interface java.awt.event.MouseWheelListener

main

public static void main(java.lang.String[] args)