gui
Class Matching3DGui

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by gui.Matching3DGui
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class Matching3DGui
extends javax.swing.JComponent

Graphical user interface to configure / execute 3d algorithm

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
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.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  javax.swing.JTextField alpha
           
private  javax.swing.JLabel alphaL
           
private  javax.swing.JRadioButton dontUseDenominator
           
private  javax.swing.JRadioButton filterByAngle
           
private  javax.swing.JRadioButton filterByAnglePlusStd
           
private  javax.swing.JRadioButton filterByMean
           
private  javax.swing.JRadioButton filterByMeanAndStd
           
private  javax.swing.JRadioButton filterByMedian
           
private  javax.swing.JRadioButton finalMatchingWithHungarian
           
private  javax.swing.JRadioButton finalMatchingWithOSB
           
private  javax.swing.ButtonGroup group_denominator
           
private  javax.swing.ButtonGroup group_filter
           
private  javax.swing.ButtonGroup group_finalmatching
           
private  javax.swing.ButtonGroup group_order
           
private  javax.swing.ButtonGroup group_pathdistance
           
private  javax.swing.ButtonGroup group_similarity
           
private  javax.swing.ButtonGroup group_visualization
           
private  javax.swing.JComboBox input
           
private  javax.swing.JTextField nosp
           
private  javax.swing.JLabel nospL
           
private  javax.swing.JTextField numberOfDummyNodes
           
private  javax.swing.JLabel numberOfDummyNodesL
           
private  javax.swing.JButton ok
           
private  javax.swing.JRadioButton orderByPathLength
           
private  javax.swing.JTextField preprocess
           
private  javax.swing.JLabel preprocessL
           
private static long serialVersionUID
           
private  javax.swing.JRadioButton showAllMatchings
           
private  javax.swing.JRadioButton showBoth
           
private  javax.swing.JRadioButton showSkeleton
           
private  javax.swing.JRadioButton showVolume
           
private  java.util.List<vtk.vtkActor> toBeRemoved
           
private  javax.swing.JRadioButton useDefaultOrder
           
private  javax.swing.JRadioButton useDenominator
           
private  javax.swing.JRadioButton useHungarianToExtractSimilarity
           
private  javax.swing.JRadioButton useOriginalPathDistance
           
private  javax.swing.JRadioButton useOSBToExtractSimilarity
           
private  javax.swing.JRadioButton usePathDistanceByPath
           
private  vtk.vtkRenderWindowPanel vtkpanel
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
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
Matching3DGui()
          initialize the GUI, adding all components.
 
Method Summary
 void createExtractSimilarityWith(javax.swing.Box hbox)
           
private  void createFinalMatching(javax.swing.Box hbox)
           
 void createHandleBadMatchings(javax.swing.Box hbox)
           
 void createHungarianConfiguration(javax.swing.Box hbox)
           
 void createInput(javax.swing.Box hbox)
           
 void createOrderEndnodes(javax.swing.Box hbox)
           
 void createPathDistanceBox(javax.swing.Box hbox)
           
 void createPreprocessingSkeletons(javax.swing.Box hbox)
           
 void createVisualization(javax.swing.Box hbox)
           
 java.util.List<DatabaseEntry3D> getDatabaseEntries()
           
static void main(java.lang.String[] args)
          main method.
static void run(int width, int height)
          Start and run a new JFrame.
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

toBeRemoved

private java.util.List<vtk.vtkActor> toBeRemoved

input

private javax.swing.JComboBox input

useOriginalPathDistance

private javax.swing.JRadioButton useOriginalPathDistance

usePathDistanceByPath

private javax.swing.JRadioButton usePathDistanceByPath

useDenominator

private javax.swing.JRadioButton useDenominator

dontUseDenominator

private javax.swing.JRadioButton dontUseDenominator

nospL

private javax.swing.JLabel nospL

nosp

private javax.swing.JTextField nosp

alphaL

private javax.swing.JLabel alphaL

alpha

private javax.swing.JTextField alpha

group_pathdistance

private javax.swing.ButtonGroup group_pathdistance

group_denominator

private javax.swing.ButtonGroup group_denominator

useHungarianToExtractSimilarity

private javax.swing.JRadioButton useHungarianToExtractSimilarity

useOSBToExtractSimilarity

private javax.swing.JRadioButton useOSBToExtractSimilarity

group_similarity

private javax.swing.ButtonGroup group_similarity

useDefaultOrder

private javax.swing.JRadioButton useDefaultOrder

orderByPathLength

private javax.swing.JRadioButton orderByPathLength

group_order

private javax.swing.ButtonGroup group_order

showAllMatchings

private javax.swing.JRadioButton showAllMatchings

filterByMean

private javax.swing.JRadioButton filterByMean

filterByMeanAndStd

private javax.swing.JRadioButton filterByMeanAndStd

filterByMedian

private javax.swing.JRadioButton filterByMedian

filterByAngle

private javax.swing.JRadioButton filterByAngle

filterByAnglePlusStd

private javax.swing.JRadioButton filterByAnglePlusStd

group_filter

private javax.swing.ButtonGroup group_filter

preprocess

private javax.swing.JTextField preprocess

preprocessL

private javax.swing.JLabel preprocessL

numberOfDummyNodes

private javax.swing.JTextField numberOfDummyNodes

numberOfDummyNodesL

private javax.swing.JLabel numberOfDummyNodesL

finalMatchingWithOSB

private javax.swing.JRadioButton finalMatchingWithOSB

finalMatchingWithHungarian

private javax.swing.JRadioButton finalMatchingWithHungarian

group_finalmatching

private javax.swing.ButtonGroup group_finalmatching

showVolume

private javax.swing.JRadioButton showVolume

showSkeleton

private javax.swing.JRadioButton showSkeleton

showBoth

private javax.swing.JRadioButton showBoth

group_visualization

private javax.swing.ButtonGroup group_visualization

vtkpanel

private vtk.vtkRenderWindowPanel vtkpanel

ok

private javax.swing.JButton ok
Constructor Detail

Matching3DGui

public Matching3DGui()
initialize the GUI, adding all components.

Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
Method Detail

getDatabaseEntries

public java.util.List<DatabaseEntry3D> getDatabaseEntries()
                                                   throws java.sql.SQLException,
                                                          java.lang.ClassNotFoundException
Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

createInput

public void createInput(javax.swing.Box hbox)
                 throws java.sql.SQLException,
                        java.lang.ClassNotFoundException
Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

createPathDistanceBox

public void createPathDistanceBox(javax.swing.Box hbox)

createExtractSimilarityWith

public void createExtractSimilarityWith(javax.swing.Box hbox)

createOrderEndnodes

public void createOrderEndnodes(javax.swing.Box hbox)

createHandleBadMatchings

public void createHandleBadMatchings(javax.swing.Box hbox)

createPreprocessingSkeletons

public void createPreprocessingSkeletons(javax.swing.Box hbox)

createVisualization

public void createVisualization(javax.swing.Box hbox)

createHungarianConfiguration

public void createHungarianConfiguration(javax.swing.Box hbox)

createFinalMatching

private void createFinalMatching(javax.swing.Box hbox)

main

public static void main(java.lang.String[] args)
main method. start and run the gui.

Parameters:
args - - none

run

public static void run(int width,
                       int height)
Start and run a new JFrame.

Parameters:
width - the width of the JFrame
height - the height of the JFrame