public class TransientSelectBox extends Object
Constructor and Description |
---|
TransientSelectBox(OverlayTransform overlay,
DisplayImpl display,
int downX,
int downY)
Constructs a selection box.
|
Modifier and Type | Method and Description |
---|---|
DisplayImpl |
getActiveDisplay()
Returns the display on which this TSB exists.
|
double[][] |
getCornersDomain()
Gets domain coordinates of box corners Corners are returned as a
double[4][2].
|
DataImpl |
getData()
Returns a VisAD data object representing this box.
|
int |
getX1()
Gets X coordinate of the first endpoint.
|
int |
getX2()
Gets X coordinate of the second endpoint.
|
int |
getY1()
Gets Y coordinate of the first endpoint.
|
int |
getY2()
Gets Y coordinate of the second endpoint.
|
void |
setCorner(int x,
int y)
Sets coordinates of draggable box corner.
|
public TransientSelectBox(OverlayTransform overlay, DisplayImpl display, int downX, int downY)
public void setCorner(int x, int y)
public DisplayImpl getActiveDisplay()
public DataImpl getData()
public double[][] getCornersDomain()
public int getX1()
public int getX2()
public int getY1()
public int getY2()
Copyright © 2015–2022 SciJava. All rights reserved.