public class StackHandler extends TransformHandler
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VOLUME_RESOLUTION
Default length of each volume rendered spatial axis.
|
static int |
MAX_VOLUME_RESOLUTION
Maximum length of each volume rendered spatial axis.
|
static int |
MIN_VOLUME_RESOLUTION
Minimum length of each volume rendered spatial axis.
|
protected Vector |
positions
Dimensional positions.
|
static int |
STACK_ANIMATION_RATE
Starting FPS for animation for image stacks.
|
animating, animAxis, animSync, animThread, burnDelay, cache, DEFAULT_ANIMATION_RATE, DEFAULT_BURN_DELAY, fps, links, MINIMUM_BURN_DELAY, newLinks, panel, sliderPanel, sliders, window
Constructor and Description |
---|
StackHandler(DisplayWindow dw)
Creates a 3D display transform handler.
|
Modifier and Type | Method and Description |
---|---|
void |
addTransform(DataTransform trans)
Links the given data transform to the display.
|
protected void |
doCustomMaps()
Adds any required custom mappings to the display.
|
protected void |
makePanel()
Constructs GUI controls for the stack handler.
|
void |
restoreState(Element el)
Restores the current state from the given DOM element ("Display").
|
addAxis, doLinks, getAnimationAxis, getAnimationRate, getAxis, getBurnDelay, getCache, getLink, getLinkIndex, getPanel, getPos, getSlider, getSliderPanel, getTransformCount, getTransforms, getWindow, hasTransform, initState, isAnimating, matches, moveTransformDown, moveTransformUp, rebuild, removeAllTransforms, removeTransform, run, saveState, setAnimating, setAnimationAxis, setAnimationRate, setBurnDelay, startAnimation, stateChanged
public static final int STACK_ANIMATION_RATE
public static final int MIN_VOLUME_RESOLUTION
public static final int MAX_VOLUME_RESOLUTION
public static final int DEFAULT_VOLUME_RESOLUTION
protected Vector positions
public StackHandler(DisplayWindow dw)
public void addTransform(DataTransform trans)
addTransform
in class TransformHandler
protected void makePanel()
makePanel
in class TransformHandler
protected void doCustomMaps() throws VisADException, RemoteException
doCustomMaps
in class TransformHandler
VisADException
RemoteException
public void restoreState(Element el) throws SaveException
restoreState
in interface Saveable
restoreState
in class TransformHandler
SaveException
Copyright © 2015–2022 SciJava. All rights reserved.