Class FeaturePointsPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FeaturePointsPanel extends ControlPanel
Control panel for feature points.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getIcon

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

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

      public FeaturePointListPanel getFeaturePointListPanel()
      Gets the FeaturePointListPanel
      Returns:
      FeaturePointListPanel
    • loadAvailableFps

      public final void loadAvailableFps(DrawableFeaturePoints fps)
      Updates the list of not currently used STANDARD feature points
      Parameters:
      fps - available feature points
    • changeStateOfButtons

      public void changeStateOfButtons(List<Landmark> selected)
      Changes the state of certain buttons based on number of selected feature points
      Parameters:
      selected - currently selected feature points
    • updateFpDescription

      public void updateFpDescription(Landmark fpt, boolean visible)
      Updates the visible description of a feature point
      Parameters:
      fpt - landmarks
      visible - visibility
    • setShowSkeletonCheckBox

      public void setShowSkeletonCheckBox(boolean show)
      Sets the state of the showSkeletonCheckbox
      Parameters:
      show - show or hide
    • setAddButton

      public void setAddButton(boolean state)
      Sets the state of addFpButton
      Parameters:
      state - state
    • setSaveFpChangesButton

      public void setSaveFpChangesButton(boolean state)
      Sets the state of SaveFpChangesButton
      Parameters:
      state - state
    • getNewPrimaryFpList

      public JComboBox getNewPrimaryFpList()
      Gets the newFpList (list of available STANDARD feature points)
      Returns:
      JComboBox
    • getNewSecondaryFpName

      public JTextField getNewSecondaryFpName()
    • getAddPrimaryFpButton

      public JButton getAddPrimaryFpButton()
    • getAddSecondaryFpButton

      public JButton getAddSecondaryFpButton()
    • getNameText

      public String getNameText()
      Gets the text from the nameField
      Returns:
      String
    • setNameText

      public void setNameText(String name)
      Sets the text in the nameField
      Parameters:
      name - new name
    • getDescriptionText

      public String getDescriptionText()
      Gets the text from descriptionField
      Returns:
      description
    • setDescriptionText

      public void setDescriptionText(String description)
      Sets the text in the descriptionField
      Parameters:
      description - new description