public class MultiInputManagerQuick extends QuickBase<MultiInput>
Constructor and Description |
---|
MultiInputManagerQuick() |
Modifier and Type | Method and Description |
---|---|
void |
checkMisconfigured(BeanInstanceMap defaultInstances)
Checks that a bean's properties conform to expectations.
|
List<IndexedChannel> |
getAdditionalChannels()
Additional channels other than the main one, which are located in the main raster file
|
int |
getChannelIndex()
If either stackAsChannel==true or we have specified additionalChannels this indicated which
channel to use from the stack
|
String |
getInputName() |
List<FilePathBaseAppendToManager> |
getListAppend()
Additional entities that are appended to the multi-input
|
InputsWithDirectory<MultiInput> |
inputs(InputManagerParameters parameters)
Creates a list of inputs given particular parameters.
|
boolean |
isStackAsChannel()
If true, a raster-stack is treated as a single-channel, even if multiple exist (and no
additionalChannel is set)
|
void |
setAdditionalChannels(List<IndexedChannel> additionalChannels)
Additional channels other than the main one, which are located in the main raster file
|
void |
setChannelIndex(int channelIndex)
If either stackAsChannel==true or we have specified additionalChannels this indicated which
channel to use from the stack
|
void |
setInputName(String inputName) |
void |
setListAppend(List<FilePathBaseAppendToManager> listAppend)
Additional entities that are appended to the multi-input
|
void |
setStackAsChannel(boolean stackAsChannel)
If true, a raster-stack is treated as a single-channel, even if multiple exist (and no
additionalChannel is set)
|
fileInputManager, getFiles, getFilterFilesCsv, getNamer, getRegex, getRootName, getStackReaderAppend, setFiles, setFilterFilesCsv, setNamer, setRegex, setRootName, setStackReaderAppend
getStackReader, setStackReader
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void checkMisconfigured(BeanInstanceMap defaultInstances) throws BeanMisconfiguredException
AnchorBean
checkMisconfigured
in class AnchorBean<InputManager<MultiInput>>
defaultInstances
- all available default instances if the DefaultInstance
annotation is usedBeanMisconfiguredException
- if the bean has not been configured properly as XMLpublic InputsWithDirectory<MultiInput> inputs(InputManagerParameters parameters) throws InputReadFailedException
InputManager
inputs
in class InputManager<MultiInput>
parameters
- the parameters.InputReadFailedException
- if inputs cannot be successfully read from the file-system.public String getInputName()
public void setInputName(String inputName)
public List<FilePathBaseAppendToManager> getListAppend()
public void setListAppend(List<FilePathBaseAppendToManager> listAppend)
public List<IndexedChannel> getAdditionalChannels()
If this list has at least one, then we treat the main raster file not as a stack, but break it into separate channels that are each presented as a separate stack to the MultiInput
public void setAdditionalChannels(List<IndexedChannel> additionalChannels)
If this list has at least one, then we treat the main raster file not as a stack, but break it into separate channels that are each presented as a separate stack to the MultiInput
public boolean isStackAsChannel()
public void setStackAsChannel(boolean stackAsChannel)
public int getChannelIndex()
public void setChannelIndex(int channelIndex)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.