Package org.jlab.geom.gui
Class DetectorShape3DStore
java.lang.Object
org.jlab.geom.gui.DetectorShape3DStore
- Author:
- gavalian
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddShape(DetectorShape3D shape) voiddraw2D(Graphics2D g2d, int xoff, int yoff, int width, int height) intgetCoordinateX(int x, int w) intgetCoordinateY(int y, int h) getName()getSelectedShape(int x, int y, int width, int height) intgetX(float x, int w) intgetY(float y, int h) voidreaset()voidvoidvoid
-
Field Details
-
drawRegion
-
shapeColorEven
-
shapeColorOdd
-
shapeColorSelected
-
colorIntensityMap
-
-
Constructor Details
-
DetectorShape3DStore
public DetectorShape3DStore()
-
-
Method Details
-
getName
-
setName
-
addShape
-
getShapes
-
setIntensityMap
-
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
-
reaset
public void reaset() -
draw2D
-