Class SymmetryPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SymmetryPanel extends ControlPanel
Control panel for symmetry plane.
See Also:
  • Field Details

  • Constructor Details

    • SymmetryPanel

      public SymmetryPanel(ActionListener action)
      Creates new form SymmetryPanelNew
  • Method Details

    • getAlgorithm

      public String getAlgorithm()
      Returns chosen symmetry algorithm
      Returns:
      chosen symmetry algorithm
    • getIcon

      public ImageIcon getIcon()
      Description copied from class: ControlPanel
      Returns panel's icon.
      Specified by:
      getIcon in class ControlPanel
      Returns:
      panel's icon
    • getPointSamplingStrength1

      public int getPointSamplingStrength1()
      Return the number of point samples for the fist phase
      Returns:
      the number of point samples
    • getPointSamplingStrength2

      public int getPointSamplingStrength2()
      Return the number of point samples for the second phase
      Returns:
      the number of point samples
    • getPointSamplingStrategy

      public String getPointSamplingStrategy()
      Return selected point sampling strategy
      Returns:
      selected point sampling strategy
    • getShowSamples

      public boolean getShowSamples()
      Returns true if su-samples are to be shown
      Returns:
      true if su-samples are to be shown
    • setShowSamples

      public void setShowSamples(boolean on)
      Selects show samples.
      Parameters:
      on - on/off
    • showHeatmap

      public boolean showHeatmap()
      Returns:
      true if the heatmap is to be shown
    • registerReflectedFace

      public boolean registerReflectedFace()
      Returns:
      true if the reflected face is to be registered
    • getHistogramComponent

      public InteractiveHistogramComponent getHistogramComponent()
      Returns:
      the histogram component
    • getFaceDirectionVectorLength

      public int getFaceDirectionVectorLength()
      Return length of face direction vector
      Returns:
      length of vector
    • isFaceDirectionVectorVisible

      public boolean isFaceDirectionVectorVisible()
      Return visibility of the face direction vector
      Returns:
      true = is visible
    • setFaceDirectionVectorVisible

      public void setFaceDirectionVectorVisible(boolean enabled, boolean visible)
      Enable/disable show of face direction vector Show/hide face direction vector
      Parameters:
      visible - true = is visible
    • setEnableShowSamples

      public void setEnableShowSamples(boolean enable)
      Enables show samples.
      Parameters:
      enable - enable/disable
    • getStaticIcon

      public static ImageIcon getStaticIcon()
      Static implementation of the getIcon() method.
      Returns:
      Control panel icon
    • setComputeFromFPs

      public void setComputeFromFPs(boolean on)
      Enables/disables the selection for the computation of the symmetry from feature points.
      Parameters:
      on - true = enable
    • updatePrecision

      public void updatePrecision(double precision)
      Updates GUI elements that display precision of the symmetry planes
      Parameters:
      precision - Precision of the symmetry plane