public class ThreeChannels extends StackProvider
Constructor and Description |
---|
ThreeChannels() |
Modifier and Type | Method and Description |
---|---|
void |
checkMisconfigured(BeanInstanceMap defaultInstances)
Checks that a bean's properties conform to expectations.
|
static Stack |
createRGBStack(Channel channelRed,
Channel channelGreen,
Channel channelBlue,
VoxelDataType outputType) |
Stack |
get()
Gets or creates an object of type
T . |
ChannelProvider |
getBlue() |
ChannelProvider |
getGreen() |
ChannelProvider |
getRed() |
void |
setBlue(ChannelProvider blue) |
void |
setGreen(ChannelProvider green) |
void |
setRed(ChannelProvider red) |
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void checkMisconfigured(BeanInstanceMap defaultInstances) throws BeanMisconfiguredException
AnchorBean
checkMisconfigured
in class AnchorBean<StackProvider>
defaultInstances
- all available default instances if the DefaultInstance
annotation is usedBeanMisconfiguredException
- if the bean has not been configured properly as XMLpublic Stack get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public static Stack createRGBStack(Channel channelRed, Channel channelGreen, Channel channelBlue, VoxelDataType outputType) throws ProvisionFailedException
ProvisionFailedException
public ChannelProvider getRed()
public void setRed(ChannelProvider red)
public ChannelProvider getGreen()
public void setGreen(ChannelProvider green)
public ChannelProvider getBlue()
public void setBlue(ChannelProvider blue)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.