public class NavDecorations3D extends Object
| Modifier and Type | Method and Description |
|---|---|
static Decoration |
create2dPanDecoration(CubeSurface csurf,
Point pos)
Returns a decoration suitable for a drag pan operation in the two
facing directions.
|
static Decoration |
create2dZoomDecoration(CubeSurface csurf,
Point pos,
double xf,
double yf)
Returns a decoration suitable for a drag zoom in the two facing
directions.
|
static Decoration |
createCenterDragDecoration(CubeSurface csurf,
double zoomFactor,
boolean[] useFlags)
Returns a decoration suitable for a 3d drag zoom centered on the
cube center.
|
static Decoration |
createCenterWheelDecoration(CubeSurface csurf,
double zoomFactor,
boolean[] useFlags)
Returns a decoration suitable for a wheel zoom centered on the
cube center.
|
static Decoration |
createRecenterDecoration(CubeSurface csurf,
Point pos)
Returns a decoration to indicated recentering from a given screen
position to the surface center.
|
public static Decoration createCenterDragDecoration(CubeSurface csurf, double zoomFactor, boolean[] useFlags)
csurf - plotting surfacezoomFactor - zoom factoruseFlags - 3-element array indicating if X,Y,Z directions
are zoomedpublic static Decoration createCenterWheelDecoration(CubeSurface csurf, double zoomFactor, boolean[] useFlags)
csurf - plotting surfacezoomFactor - zoom factoruseFlags - 3-element array indicating if X,Y,Z directions
are zoomedpublic static Decoration create2dZoomDecoration(CubeSurface csurf, Point pos, double xf, double yf)
csurf - plotting surfacepos - screen position around which surface is zoomedxf - zoom factor in mostly-horizontal directionyf - zoom factor in mostly-vertical directionpublic static Decoration create2dPanDecoration(CubeSurface csurf, Point pos)
csurf - plotting surfacepos - reference position for dragpublic static Decoration createRecenterDecoration(CubeSurface csurf, Point pos)
csurf - plotting surfacepos - reference position for new centerCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.