Class WarpingPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class WarpingPanel extends JPanel
See Also:
  • Field Details

    • MODIFIED_OUTSIDE_WARP_KEY

      public static final String MODIFIED_OUTSIDE_WARP_KEY
    • RECONSTRUCTION_VECTORS_KEY

      public static final String RECONSTRUCTION_VECTORS_KEY
      Will be an empty Collection if MODIFIED_OUTSIDE_WARP_KEY returns true
    • transformations

      public static String[] transformations
    • transformationsTooltips

      public static String[] transformationsTooltips
    • transComboBox

      public static JComboBox transComboBox
  • Constructor Details

  • Method Details

    • addWarping

      public UndoableCommand addWarping(UndoableCommand wrappeeCommand)
      Method used by Draw/Delete incremental warping vector toos
    • generateWarpingVectorsCommand

      public UndoableCommand generateWarpingVectorsCommand()
    • isAutoHidingLayers

      public boolean isAutoHidingLayers()
    • triangleMap

      public Map triangleMap(org.locationtech.jts.geom.Envelope sourceLayerEnvelope, Collection vectorFeatures, Collection sourceHints, Collection destinationHints)
    • warpConditionsMet

      public boolean warpConditionsMet()
    • currentSourceLayer

      public Layer currentSourceLayer()
      Returns:
      null if the combo box is empty
    • executeCommand

      public UndoableCommand executeCommand()
    • isWarpingIncrementally

      public boolean isWarpingIncrementally()
    • updateComponents

      public void updateComponents()
    • addWarpingVectorGeneration

      public UndoableCommand addWarpingVectorGeneration(UndoableCommand wrappeeCommand) throws NoninvertibleTransformException
      Throws:
      NoninvertibleTransformException
    • updateTransformationComponents

      public void updateTransformationComponents()
    • executeAffineProjectiveCommand

      public UndoableCommand executeAffineProjectiveCommand()
    • checkValid

      public static void checkValid(FeatureCollection featureCollection)