public class NonLinearTransformMode extends GroupingMode
GroupingMode.GroupedGraphicsSource, GroupingMode.Painter, GroupingMode.PatchRange, GroupingMode.SimpleThread
display, gs, layer, magnification, originalPatches, painter, ranges, screenPatchRanges, srcRect, updater
Constructor and Description |
---|
NonLinearTransformMode(Display display) |
NonLinearTransformMode(Display display,
List<Displayable> selected) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply() |
boolean |
apply(Set<Layer> sublist) |
protected GroupingMode.GroupedGraphicsSource |
createGroupedGraphicSource() |
protected ini.trakem2.display.NonLinearTransformMode.ScreenPatchRange |
createScreenPathRange(GroupingMode.PatchRange range,
Rectangle srcRect,
double magnification) |
protected void |
doPainterUpdate(Rectangle r,
double m) |
boolean |
isDragging() |
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) |
cancel, canChangeLayer, canPan, canZoom, getGraphicsSource, getRepaintBounds, initThreads, magnificationUpdated, quitThreads, redoOneStep, srcRectUpdated, undoOneStep
public NonLinearTransformMode(Display display, List<Displayable> selected)
public NonLinearTransformMode(Display display)
protected void doPainterUpdate(Rectangle r, double m)
doPainterUpdate
in class GroupingMode
r
- The srcRectm
- The magnificationprotected ini.trakem2.display.NonLinearTransformMode.ScreenPatchRange createScreenPathRange(GroupingMode.PatchRange range, Rectangle srcRect, double magnification)
createScreenPathRange
in class GroupingMode
protected GroupingMode.GroupedGraphicsSource createGroupedGraphicSource()
createGroupedGraphicSource
in class GroupingMode
public void mousePressed(MouseEvent me, int x_p, int y_p, double magnification)
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)
public void mouseReleased(MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_r, int y_r)
public boolean isDragging()
public boolean apply()
Copyright © 2015–2021 Fiji. All rights reserved.