circlePattern.viewer.perlin
Class PerlinView

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byrender.RenderApplet
                      extended bycirclePattern.viewer.perlin.PerlinView
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.lang.Runnable, java.io.Serializable

public class PerlinView
extends RenderApplet

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static double[] BG_COLOR
           
static double[] CIRCLE_AMBIENT
           
static double[] CIRCLE_DIFFUSE
           
static int CIRCLE_M
           
static int CIRCLE_N
           
static double[] CIRCLE_SPECULAR
           
static double CIRCLE_SPH_RAD
           
static double CIRCLE_THICK
           
static double FIELD_O_VISION
           
static double[][] LIGHTS
           
static double OUTLINE
           
static double[] SPHERE_AMBIENT
           
static double[] SPHERE_DIFFUSE
           
static int SPHERE_REFINE
           
static double[] SPHERE_SPECULAR
           
static int VIEW_H
           
static int VIEW_W
           
 
Fields inherited from class render.RenderApplet
currentTime, elapsed, enableLod, frameRate, H, im, isDamage, mx, my, phi, renderer, showFPS, startTime, theta, W, world
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PerlinView(java.awt.Frame parent, GenericLayout lo)
           
 
Method Summary
 Geometry circle(double x, double y, double z, double r)
           
 void initialize()
          Override this to initialize the application program.
static void show(GenericLayout lo)
           
 void start()
          Starts the renderer thread.
 void stop()
          Stops the renderer thread.
 
Methods inherited from class render.RenderApplet
addLight, animate, damage, identity, init, keyUp, m, mouseDown, mouseDrag, mouseMove, mouseUp, paint, pop, pull, push, rotateX, rotateY, rotateZ, run, scale, setBgColor, setFL, setFOV, transform, translate, translate, update
 
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, list, list, list, location, lostFocus, mouseEnter, mouseExit, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VIEW_W

public static final int VIEW_W
See Also:
Constant Field Values

VIEW_H

public static final int VIEW_H
See Also:
Constant Field Values

OUTLINE

public static final double OUTLINE
See Also:
Constant Field Values

BG_COLOR

public static final double[] BG_COLOR

FIELD_O_VISION

public static final double FIELD_O_VISION
See Also:
Constant Field Values

LIGHTS

public static final double[][] LIGHTS

SPHERE_REFINE

public static final int SPHERE_REFINE
See Also:
Constant Field Values

SPHERE_DIFFUSE

public static final double[] SPHERE_DIFFUSE

SPHERE_SPECULAR

public static final double[] SPHERE_SPECULAR

SPHERE_AMBIENT

public static final double[] SPHERE_AMBIENT

CIRCLE_DIFFUSE

public static final double[] CIRCLE_DIFFUSE

CIRCLE_SPECULAR

public static final double[] CIRCLE_SPECULAR

CIRCLE_AMBIENT

public static final double[] CIRCLE_AMBIENT

CIRCLE_M

public static final int CIRCLE_M
See Also:
Constant Field Values

CIRCLE_N

public static final int CIRCLE_N
See Also:
Constant Field Values

CIRCLE_THICK

public static final double CIRCLE_THICK
See Also:
Constant Field Values

CIRCLE_SPH_RAD

public static final double CIRCLE_SPH_RAD
See Also:
Constant Field Values
Constructor Detail

PerlinView

public PerlinView(java.awt.Frame parent,
                  GenericLayout lo)
Method Detail

show

public static void show(GenericLayout lo)

start

public void start()
Description copied from class: RenderApplet
Starts the renderer thread.

Overrides:
start in class RenderApplet

stop

public void stop()
Description copied from class: RenderApplet
Stops the renderer thread.

Overrides:
stop in class RenderApplet

initialize

public void initialize()
Override this to initialize the application program.

Overrides:
initialize in class RenderApplet

circle

public Geometry circle(double x,
                       double y,
                       double z,
                       double r)