public class LUT.LUTChannel extends java.lang.Object
Constructor and Description |
---|
LUT.LUTChannel(int channel) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(LUT.LUTChannelListener listener)
Add a listener.
|
void |
copyColorMap(IcyColorMap colorMap)
Deprecated.
Use
setColorMap(IcyColorMap, boolean) instead. |
void |
copyFrom(LUT.LUTChannel source)
Copy the colormap and scaler data from the specified source
LUT.LUTChannel |
void |
fireEvent(LUT.LUTChannelEvent e)
Fire change event.
|
int |
getChannel() |
IcyColorMap |
getColorMap() |
int |
getComponent()
Deprecated.
Use
getChannel() instead. |
LUT |
getLut() |
double |
getMax() |
double |
getMaxBound() |
double |
getMin() |
double |
getMinBound() |
Scaler |
getScaler() |
boolean |
isEnabled()
Returns the enabled state of this channel LUT
|
void |
removeListener(LUT.LUTChannelListener listener)
Remove a listener.
|
void |
setColorMap(IcyColorMap colorMap)
Deprecated.
Use
setColorMap(IcyColorMap, boolean) instead. |
void |
setColorMap(IcyColorMap colorMap,
boolean setAlpha)
Set the specified colormap (do a copy).
|
void |
setEnabled(boolean value)
Enable/disable specified channel LUT
|
void |
setMax(double value) |
void |
setMaxBound(double value) |
void |
setMin(double value) |
void |
setMinBound(double value) |
void |
setMinMax(double min,
double max) |
void |
setScaler(Scaler source)
Set the specified scaler (do a copy).
|
public LUT.LUTChannel(int channel)
public void copyFrom(LUT.LUTChannel source)
LUT.LUTChannel
public void setScaler(Scaler source)
source
- source scaler to copy frompublic IcyColorMap getColorMap()
public void setColorMap(IcyColorMap colorMap, boolean setAlpha)
colorMap
- source colorspace to copysetAlpha
- also set the alpha information@Deprecated public void setColorMap(IcyColorMap colorMap)
setColorMap(IcyColorMap, boolean)
instead.@Deprecated public void copyColorMap(IcyColorMap colorMap)
setColorMap(IcyColorMap, boolean)
instead.public double getMin()
public void setMin(double value)
public double getMax()
public void setMax(double value)
public void setMinMax(double min, double max)
public double getMinBound()
public double getMaxBound()
public void setMinBound(double value)
public void setMaxBound(double value)
public boolean isEnabled()
public void setEnabled(boolean value)
@Deprecated public int getComponent()
getChannel()
instead.public int getChannel()
public void addListener(LUT.LUTChannelListener listener)
public void removeListener(LUT.LUTChannelListener listener)
public void fireEvent(LUT.LUTChannelEvent e)