public class Slice3DView extends Object
Constructor and Description |
---|
Slice3DView() |
Modifier and Type | Method and Description |
---|---|
void |
addCurve(List<double[]> points) |
void |
addDrawable(Drawable d) |
void |
addDrawables(List<Drawable> ds) |
void |
addMouseAdapter(MouseAdapter adapter) |
void |
addShape(Shape s) |
void |
clear() |
static BufferedImage |
createNoImage() |
static BufferedImage |
createNullImage() |
void |
deactivateWheelZoom() |
Point2D |
getScaledLocation(Point2D p) |
Image |
getSlice() |
BufferedImage |
getSnapShot() |
double |
getZoom() |
static void |
main(String[] args) |
void |
removeDrawable(Drawable drawable) |
void |
removeMouseAdapter(MouseAdapter adapter) |
void |
repaint() |
void |
resize() |
void |
setBinary(Image b) |
void |
setCurves(List<List<double[]>> replacements)
Sets the currently displayed set of curves.
|
void |
setSlice(Image s) |
void |
setZoom(double zoom) |
public final JPanel panel
public BufferedImage getSnapShot()
public double getZoom()
public void setSlice(Image s)
public Image getSlice()
public void setBinary(Image b)
public void setCurves(List<List<double[]>> replacements)
replacements
- public void addCurve(List<double[]> points)
public void addShape(Shape s)
public void addDrawable(Drawable d)
public static BufferedImage createNoImage()
public static BufferedImage createNullImage()
public void resize()
public static void main(String[] args)
public void removeDrawable(Drawable drawable)
public void clear()
public void setZoom(double zoom)
public void deactivateWheelZoom()
public void addMouseAdapter(MouseAdapter adapter)
public void removeMouseAdapter(MouseAdapter adapter)
public void repaint()
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.