public class InspectPatchTrianglesMode extends Object implements Mode
LayerSet.getOverlay(), the
triangle of the transform mesh in the Patch under the cursor.| Modifier and Type | Class and Description |
|---|---|
protected class |
InspectPatchTrianglesMode.Inspector |
| Modifier and Type | Field and Description |
|---|---|
protected Display |
display |
protected InspectPatchTrianglesMode.Inspector |
inspector |
protected ShapeProxy |
proxy |
| Constructor and Description |
|---|
InspectPatchTrianglesMode(Display display) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply() |
boolean |
cancel() |
boolean |
canChangeLayer() |
boolean |
canPan() |
boolean |
canZoom() |
GraphicsSource |
getGraphicsSource() |
Rectangle |
getRepaintBounds() |
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() |
protected final Display display
protected final ShapeProxy proxy
protected final InspectPatchTrianglesMode.Inspector inspector
public InspectPatchTrianglesMode(Display display)
public GraphicsSource getGraphicsSource()
getGraphicsSource in interface Modepublic boolean canChangeLayer()
canChangeLayer in interface Modepublic boolean isDragging()
isDragging in interface Modepublic void undoOneStep()
undoOneStep in interface Modepublic void redoOneStep()
redoOneStep in interface Modepublic void mousePressed(MouseEvent me, int x_p, int y_p, double magnification)
mousePressed in interface Modepublic 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 Modepublic 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 Modepublic void srcRectUpdated(Rectangle srcRect, double magnification)
srcRectUpdated in interface Modepublic void magnificationUpdated(Rectangle srcRect, double magnification)
magnificationUpdated in interface Modepublic Rectangle getRepaintBounds()
getRepaintBounds in interface ModeCopyright © 2015–2021 Fiji. All rights reserved.