IsoSurface Rendering of an AR Representation

rlaramee
Class VisOptionsDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--rlaramee.VisOptionsDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.AdjustmentListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class VisOptionsDialog
extends javax.swing.JDialog
implements java.awt.event.AdjustmentListener

See Also:
Serialized Form

Inner Class Summary
(package private)  class VisOptionsDialog.SliderListener
           
 
Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Inner classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock
 
Field Summary
private  javax.swing.JLabel brightnessLabel
           
private  javax.swing.JSlider brightnessSlider
           
private static int curBrt
           
private static int curHue
           
private static int curMax
           
private static int curMinErrCol
           
private static int curSat
           
private  javax.swing.JLabel hueLabel
           
private  javax.swing.JSlider hueSlider
           
private static int INITBRT
           
private static int INITHUE
           
private static int INITMAX
           
private static int INITMINERR
           
private static int INITSAT
           
private static int MAXBRT
           
private static int MAXHUE
           
private  javax.swing.JLabel maxLabel
           
private static int MAXMAX
           
private static int MAXMINERR
           
private static int MAXSAT
           
private  javax.swing.JSlider maxSlider
           
private static int MINBRT
           
private static int MINHUE
           
private  javax.swing.JLabel minLabel
           
private static int MINMAX
           
private static int MINMINERR
           
private static int MINSAT
           
private  javax.swing.JSlider minSlider
           
private  javax.swing.JLabel saturationLabel
           
private  javax.swing.JSlider saturationSlider
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
base, keepBlocking, modal, nameCounter, resizable, serialVersionUID, title
 
Fields inherited from class java.awt.Window
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, state, warningString, weakThis, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y
 
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
VisOptionsDialog(javax.swing.JFrame frame)
           
 
Method Summary
 void adjustmentValueChanged(java.awt.event.AdjustmentEvent evt)
           
static int getBrightness()
           
static int getErrorMax()
           
static int getHue()
          Accessor functions
static int getMinErrorColor()
           
static int getSaturation()
           
private  javax.swing.JSlider makeSlider(javax.swing.JLabel label, javax.swing.JPanel panel, int low, int high, int init)
           
static void setBrightness(int newval)
           
static void setErrorMax(int newval)
           
static void setHue(int newval)
           
static void setMinErrorColor(int newval)
           
static void setSaturation(int newval)
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, createRootPaneException, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
, addNotify, conditionalShow, constructComponentName, dispose, disposeImpl, getTitle, hide, hideAndDisposeHandler, initIDs, interruptBlocking, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addOwnedWindow, addWindowListener, adjustListeningChildren, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, eventEnabled, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postProcessKeyEvent, postWindowEvent, preProcessKeyEvent, processEvent, readObject, removeOwnedWindow, removeWindowListener, resetGC, setCursor, setFocusOwner, setWarningString, toBack, toFront, transferFocus, writeObject
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, numListening, paint, paintComponents, paintHeavyweightComponents, postsOldMouseEvents, preferredSize, print, printComponents, printHeavyweightComponents, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, 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, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

hueLabel

private javax.swing.JLabel hueLabel

hueSlider

private javax.swing.JSlider hueSlider

brightnessLabel

private javax.swing.JLabel brightnessLabel

brightnessSlider

private javax.swing.JSlider brightnessSlider

saturationLabel

private javax.swing.JLabel saturationLabel

saturationSlider

private javax.swing.JSlider saturationSlider

minLabel

private javax.swing.JLabel minLabel

minSlider

private javax.swing.JSlider minSlider

maxLabel

private javax.swing.JLabel maxLabel

maxSlider

private javax.swing.JSlider maxSlider

MAXHUE

private static final int MAXHUE

MINHUE

private static final int MINHUE

INITHUE

private static final int INITHUE

MAXBRT

private static final int MAXBRT

MINBRT

private static final int MINBRT

INITBRT

private static final int INITBRT

MAXSAT

private static final int MAXSAT

MINSAT

private static final int MINSAT

INITSAT

private static final int INITSAT

MAXMAX

private static final int MAXMAX

MINMAX

private static final int MINMAX

INITMAX

private static final int INITMAX

MAXMINERR

private static final int MAXMINERR

MINMINERR

private static final int MINMINERR

INITMINERR

private static final int INITMINERR

curHue

private static int curHue

curSat

private static int curSat

curBrt

private static int curBrt

curMax

private static int curMax

curMinErrCol

private static int curMinErrCol
Constructor Detail

VisOptionsDialog

public VisOptionsDialog(javax.swing.JFrame frame)
Method Detail

makeSlider

private javax.swing.JSlider makeSlider(javax.swing.JLabel label,
                                       javax.swing.JPanel panel,
                                       int low,
                                       int high,
                                       int init)

adjustmentValueChanged

public void adjustmentValueChanged(java.awt.event.AdjustmentEvent evt)
Specified by:
adjustmentValueChanged in interface java.awt.event.AdjustmentListener

getHue

public static int getHue()
Accessor functions

setHue

public static void setHue(int newval)

getBrightness

public static int getBrightness()

setBrightness

public static void setBrightness(int newval)

getSaturation

public static int getSaturation()

setSaturation

public static void setSaturation(int newval)

getErrorMax

public static int getErrorMax()

setErrorMax

public static void setErrorMax(int newval)

getMinErrorColor

public static int getMinErrorColor()

setMinErrorColor

public static void setMinErrorColor(int newval)

IsoSurface Rendering of an AR Representation