public class ReorderAxis extends DynamicCommand
Dataset
. The Dataset is
taken from the active DatasetView
of the active ImageDisplay
.moduleService, pluginService
Constructor and Description |
---|
ReorderAxis() |
Modifier and Type | Method and Description |
---|---|
protected void |
axisChanged() |
int |
getAxis()
Gets the type of the axis to be changed.
|
ImageDisplay |
getDisplay()
Gets the
ImageDisplay to be changed. |
String |
getOrder()
Sets the current specified ordering of planes along an axis.
|
protected void |
initAxes() |
void |
run() |
void |
setAxis(int d)
Sets the axis to be change by referring to its position.
|
void |
setDisplay(ImageDisplay display)
Sets the
ImageDisplay to change. |
void |
setOrder(String order)
Sets the order of planes along an axis.
|
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancel
cancel, getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
cancel, getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutput
public void setDisplay(ImageDisplay display)
ImageDisplay
to change.public ImageDisplay getDisplay()
ImageDisplay
to be changed.public void setAxis(int d)
public int getAxis()
public void setOrder(String order)
order
- The string representing the desired reordering of the axis.public String getOrder()
public void run()
protected void initAxes()
protected void axisChanged()
Copyright © 2014–2022 ImageJ. All rights reserved.