Class DetectorShape3DStore

java.lang.Object
org.jlab.geom.gui.DetectorShape3DStore

public class DetectorShape3DStore extends Object
Author:
gavalian
  • Field Details

    • drawRegion

      public Rectangle drawRegion
    • shapeColorEven

      public Color shapeColorEven
    • shapeColorOdd

      public Color shapeColorOdd
    • shapeColorSelected

      public Color shapeColorSelected
    • colorIntensityMap

      public IDetectorShapeIntensity colorIntensityMap
  • Constructor Details

    • DetectorShape3DStore

      public DetectorShape3DStore()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • addShape

      public void addShape(DetectorShape3D shape)
    • getShapes

      public List<DetectorShape3D> getShapes()
    • setIntensityMap

      public void setIntensityMap(IDetectorShapeIntensity intens)
    • getIntensityMap

      public IDetectorShapeIntensity getIntensityMap()
    • updateDrawRegion

      public void updateDrawRegion()
    • getX

      public int getX(float x, int w)
    • getY

      public int getY(float y, int h)
    • getCoordinateX

      public int getCoordinateX(int x, int w)
    • getCoordinateY

      public int getCoordinateY(int y, int h)
    • getSelectedShape

      public DetectorShape3D getSelectedShape(int x, int y, int width, int height)
    • reaset

      public void reaset()
    • draw2D

      public void draw2D(Graphics2D g2d, int xoff, int yoff, int width, int height)