public class ReorderData extends DynamicCommand
moduleService, pluginService| Constructor and Description |
|---|
ReorderData() |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
getDataset() |
int |
getNewAxisIndex(int index)
Gets newAxes[index] which is the position within existing Dataset's axes.
|
protected void |
initAxes() |
void |
run()
Runs the plugin and reorders data as specified by user.
|
void |
setDataset(Dataset dataset) |
void |
setNewAxisIndex(int index,
int fromPosition)
Sets newAxes[index] from existingAxes[fromPosition]
|
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancelcancel, getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInput, addInput, addOutput, addOutput, removeInput, removeOutputcancel, getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutputpublic Dataset getDataset()
public void setDataset(Dataset dataset)
public void setNewAxisIndex(int index,
int fromPosition)
index - The index within the new axis orderfromPosition - The index within the current axis orderpublic int getNewAxisIndex(int index)
index - The index within the new axis orderpublic void run()
protected void initAxes()
Copyright © 2014–2022 ImageJ. All rights reserved.