Class AdaptiveMouseController

All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, ICameraMouseController

public class AdaptiveMouseController extends AWTCameraMouseController
  • Field Details

    • currentQuality

      protected Quality currentQuality
    • currentHiDPI

      protected boolean currentHiDPI
    • canvas

      protected ICanvas canvas
    • gl

      protected GL gl
    • painter

      protected EmulGLPainter painter
    • policy

      protected AdaptiveRenderingPolicy policy
      An optimization policy
    • mustOptimizeMouseDrag

      protected boolean mustOptimizeMouseDrag
      Keep track if optimization should be triggered or not. Defined at mouse pressed.
    • isFirstDrag

      protected boolean isFirstDrag
      Keep track if this is the first mouse drag event since the last mouse released event. This is used to trigger optimization only once when multiple successive mouse drag events are received.
    • adaptByDroppingFace

      protected AbstractAdativeRenderingHandler adaptByDroppingFace
    • adaptByDroppingFaceAndColoringWire

      protected AdaptByDroppingFaceAndKeepingWireframeWithColor adaptByDroppingFaceAndColoringWire
    • adaptByDroppingWireframe

      protected AdaptByDroppingWireframe adaptByDroppingWireframe
    • adaptByDroppingHiDPI

      protected AdaptByDroppingHiDPI adaptByDroppingHiDPI
    • adaptByDroppingSmoothColor

      protected AdaptByDroppingSmoothColor adaptByDroppingSmoothColor
    • adaptByKeepingBoundingBoxOnly

      protected AdaptByKeepingBoundingBoxOnly adaptByKeepingBoundingBoxOnly
    • adaptByPerformanceKnowledge

      protected AdaptByPerformanceKnowledge adaptByPerformanceKnowledge
    • droppedWireframeToReset

      protected List<Wireframeable> droppedWireframeToReset
      Keep track of drawable that have had their wireframe disabled for optimization in order to re-activate at mouse release.
    • droppedFaceAndColoredWireframeToReset

      protected List<Wireframeable> droppedFaceAndColoredWireframeToReset
      Keep track of drawable that have had their face disabled for optimization in order to re-activate at mouse release.
  • Constructor Details

    • AdaptiveMouseController

      public AdaptiveMouseController()
    • AdaptiveMouseController

      public AdaptiveMouseController(Chart chart, AdaptiveRenderingPolicy policy)
    • AdaptiveMouseController

      public AdaptiveMouseController(Chart chart)
  • Method Details