Modifier and Type | Class and Description |
---|---|
class |
ManualAlignMode.Landmarks |
Constructor and Description |
---|
ManualAlignMode(Display display) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply() |
boolean |
cancel() |
boolean |
canChangeLayer() |
boolean |
canPan() |
boolean |
canZoom() |
boolean |
exportLandmarks()
Export landmarks into XML file, in patch coordinates.
|
GraphicsSource |
getGraphicsSource() |
Rectangle |
getRepaintBounds() |
boolean |
importLandmarks()
Import landmarks from XML file.
|
boolean |
isDragging() |
void |
magnificationUpdated(Rectangle srcRect,
double magnification) |
void |
mouseDragged(MouseEvent me,
int x_p,
int y_p,
int x_d,
int y_d,
int x_d_old,
int y_d_old) |
void |
mousePressed(MouseEvent me,
int x_p,
int y_p,
double magnification) |
void |
mouseReleased(MouseEvent me,
int x_p,
int y_p,
int x_d,
int y_d,
int x_r,
int y_r) |
void |
redoOneStep() |
void |
srcRectUpdated(Rectangle srcRect,
double magnification) |
void |
undoOneStep() |
public ManualAlignMode(Display display)
public GraphicsSource getGraphicsSource()
getGraphicsSource
in interface Mode
public boolean canChangeLayer()
canChangeLayer
in interface Mode
public boolean isDragging()
isDragging
in interface Mode
public void mousePressed(MouseEvent me, int x_p, int y_p, double magnification)
mousePressed
in interface Mode
public void mouseDragged(MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_d_old, int y_d_old)
mouseDragged
in interface Mode
public void mouseReleased(MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_r, int y_r)
mouseReleased
in interface Mode
public void undoOneStep()
undoOneStep
in interface Mode
public void redoOneStep()
redoOneStep
in interface Mode
public Rectangle getRepaintBounds()
getRepaintBounds
in interface Mode
public void srcRectUpdated(Rectangle srcRect, double magnification)
srcRectUpdated
in interface Mode
public void magnificationUpdated(Rectangle srcRect, double magnification)
magnificationUpdated
in interface Mode
public boolean exportLandmarks()
public boolean importLandmarks()
Copyright © 2015–2021 Fiji. All rights reserved.