|
ICY Version 1.0.1.0
|
Public Types | |
| enum | IcyColorMapType { RGB, GRAY, ALPHA } |
Public Member Functions | |
| IcyColorMap (String name, IcyColorMapType type) | |
| IcyColorMap (String name) | |
| IcyColorMapType | getType () |
| void | setType (IcyColorMapType value) |
| void | setRedControlPoint (int index, int value) |
| void | setGreenControlPoint (int index, int value) |
| void | setBlueControlPoint (int index, int value) |
| void | setGrayControlPoint (int index, int value) |
| void | setAlphaControlPoint (int index, int value) |
| void | setRGBControlPoint (int index, Color value) |
| void | setARGBControlPoint (int index, Color value) |
| short | getBlue (int index) |
| short | getGreen (int index) |
| short | getRed (int index) |
| short | getAlpha (int index) |
| float | getNormalizedBlue (int index) |
| float | getNormalizedGreen (int index) |
| float | getNormalizedRed (int index) |
| float | getNormalizedAlpha (int index) |
| short | getBlue (float index) |
| short | getGreen (float index) |
| short | getRed (float index) |
| short | getAlpha (float index) |
| float | getNormalizedBlue (float index) |
| float | getNormalizedGreen (float index) |
| float | getNormalizedRed (float index) |
| float | getNormalizedAlpha (float index) |
| void | setRed (int index, short value) |
| void | setGreen (int index, short value) |
| void | setBlue (int index, short value) |
| void | setGray (int index, short value) |
| void | setAlpha (int index, short value) |
| void | setNormalizedRed (int index, float value) |
| void | setNormalizedGreen (int index, float value) |
| void | setNormalizedBlue (int index, float value) |
| void | setNormalizedGray (int index, float value) |
| void | setNormalizedAlpha (int index, float value) |
| void | setRGB (int index, Color value) |
| void | setARGB (int index, Color value) |
| String | getName () |
| void | setName (String name) |
| Color | getColor (int index) |
| void | copyFrom (IcyColorMap srcColorMap) |
| void | addListener (IcyColorMapListener listener) |
| void | removeListener (IcyColorMapListener listener) |
| void | fireEvent (IcyColorMapEvent e) |
| void | changed () |
| void | onChanged (EventHierarchicalChecker compare) |
| void | beginUpdate () |
| void | endUpdate () |
| boolean | isUpdating () |
| String | toString () |
| boolean | loadFromXML (Node node) |
| boolean | saveToXML (Node node) |
Public Attributes | |
| final IcyColorMapBand | red |
| final IcyColorMapBand | green |
| final IcyColorMapBand | blue |
| final IcyColorMapBand | gray |
| final IcyColorMapBand | alpha |
Static Public Attributes | |
| static final int | MAX_LEVEL = 255 |
| static final int | SIZE = 0x100 |
| static final int | MAX_INDEX = SIZE - 1 |
Protected Member Functions | |
| IcyColorMapBand | createColorMapBand (short initValue) |
| void icy.image.colormap.IcyColorMap.addListener | ( | IcyColorMapListener | listener | ) |
Add a listener
| listener |
| void icy.image.colormap.IcyColorMap.beginUpdate | ( | ) |
| void icy.image.colormap.IcyColorMap.changed | ( | ) |
called when colormap data changed
| void icy.image.colormap.IcyColorMap.copyFrom | ( | IcyColorMap | srcColorMap | ) |
Copy data from specified source colormap
| void icy.image.colormap.IcyColorMap.endUpdate | ( | ) |
| void icy.image.colormap.IcyColorMap.fireEvent | ( | IcyColorMapEvent | e | ) |
fire event
| short icy.image.colormap.IcyColorMap.getAlpha | ( | float | index | ) |
Get alpha intensity from a normalized input index
| index |
| short icy.image.colormap.IcyColorMap.getAlpha | ( | int | index | ) |
Get alpha intensity from an input index
| index |
| short icy.image.colormap.IcyColorMap.getBlue | ( | float | index | ) |
Get blue intensity from a normalized input index
| index |
| short icy.image.colormap.IcyColorMap.getBlue | ( | int | index | ) |
Get blue intensity from an input index
| index |
| Color icy.image.colormap.IcyColorMap.getColor | ( | int | index | ) |
Gets a Color object representing the color at the specified index
| index | the index of the color map to retrieve |
| short icy.image.colormap.IcyColorMap.getGreen | ( | float | index | ) |
Get green intensity from a normalized input index
| index |
| short icy.image.colormap.IcyColorMap.getGreen | ( | int | index | ) |
Get green intensity from an input index
| index |
| String icy.image.colormap.IcyColorMap.getName | ( | ) |
| float icy.image.colormap.IcyColorMap.getNormalizedAlpha | ( | int | index | ) |
Get alpha normalized intensity from an input index
| index |
| float icy.image.colormap.IcyColorMap.getNormalizedAlpha | ( | float | index | ) |
Get normalized alpha intensity from a normalized input index
| index |
| float icy.image.colormap.IcyColorMap.getNormalizedBlue | ( | float | index | ) |
Get normalized blue intensity from a normalized input index
| index |
| float icy.image.colormap.IcyColorMap.getNormalizedBlue | ( | int | index | ) |
Get normalized blue intensity from an input index
| index |
| float icy.image.colormap.IcyColorMap.getNormalizedGreen | ( | int | index | ) |
Get normalized green intensity from an input index
| index |
| float icy.image.colormap.IcyColorMap.getNormalizedGreen | ( | float | index | ) |
Get normalized green intensity from a normalized input index
| index |
| float icy.image.colormap.IcyColorMap.getNormalizedRed | ( | int | index | ) |
Get normalized red intensity from an input index
| index |
| float icy.image.colormap.IcyColorMap.getNormalizedRed | ( | float | index | ) |
Get normalized red intensity from a normalized input index
| index |
| short icy.image.colormap.IcyColorMap.getRed | ( | float | index | ) |
Get red intensity from a normalized input index
| index |
| short icy.image.colormap.IcyColorMap.getRed | ( | int | index | ) |
Get red intensity from an input index
| index |
| IcyColorMapType icy.image.colormap.IcyColorMap.getType | ( | ) |
| boolean icy.image.colormap.IcyColorMap.isUpdating | ( | ) |
| boolean icy.image.colormap.IcyColorMap.loadFromXML | ( | Node | node | ) |
LOAD
Implements icy.file.xml.XMLPersistent.
| void icy.image.colormap.IcyColorMap.onChanged | ( | EventHierarchicalChecker | object | ) |
fire changed event
Implements icy.common.IcyChangedListener.
| void icy.image.colormap.IcyColorMap.removeListener | ( | IcyColorMapListener | listener | ) |
Remove a listener
| listener |
| boolean icy.image.colormap.IcyColorMap.saveToXML | ( | Node | node | ) |
SAVE
Implements icy.file.xml.XMLPersistent.
| void icy.image.colormap.IcyColorMap.setAlpha | ( | int | index, |
| short | value | ||
| ) |
Set alpha intensity to specified index
| void icy.image.colormap.IcyColorMap.setAlphaControlPoint | ( | int | index, |
| int | value | ||
| ) |
Set a alpha control point to specified index and value
| void icy.image.colormap.IcyColorMap.setARGB | ( | int | index, |
| Color | value | ||
| ) |
Set ARGB color to specified index
| void icy.image.colormap.IcyColorMap.setARGBControlPoint | ( | int | index, |
| Color | value | ||
| ) |
Set ARGB control point values to specified index
| void icy.image.colormap.IcyColorMap.setBlue | ( | int | index, |
| short | value | ||
| ) |
Set blue intensity to specified index
| void icy.image.colormap.IcyColorMap.setBlueControlPoint | ( | int | index, |
| int | value | ||
| ) |
Set a blue control point to specified index and value
| void icy.image.colormap.IcyColorMap.setGray | ( | int | index, |
| short | value | ||
| ) |
Set gray intensity to specified index
| void icy.image.colormap.IcyColorMap.setGrayControlPoint | ( | int | index, |
| int | value | ||
| ) |
Set a gray control point to specified index and value
| void icy.image.colormap.IcyColorMap.setGreen | ( | int | index, |
| short | value | ||
| ) |
Set green intensity to specified index
| void icy.image.colormap.IcyColorMap.setGreenControlPoint | ( | int | index, |
| int | value | ||
| ) |
Set a green control point to specified index and value
| void icy.image.colormap.IcyColorMap.setName | ( | String | name | ) |
| name | the name to set |
| void icy.image.colormap.IcyColorMap.setNormalizedAlpha | ( | int | index, |
| float | value | ||
| ) |
Set alpha intensity (normalized) to specified index
| void icy.image.colormap.IcyColorMap.setNormalizedBlue | ( | int | index, |
| float | value | ||
| ) |
Set blue intensity (normalized) to specified index
| void icy.image.colormap.IcyColorMap.setNormalizedGray | ( | int | index, |
| float | value | ||
| ) |
Set gray intensity (normalized) to specified index
| void icy.image.colormap.IcyColorMap.setNormalizedGreen | ( | int | index, |
| float | value | ||
| ) |
Set green intensity (normalized) to specified index
| void icy.image.colormap.IcyColorMap.setNormalizedRed | ( | int | index, |
| float | value | ||
| ) |
Set red intensity (normalized) to specified index
| void icy.image.colormap.IcyColorMap.setRed | ( | int | index, |
| short | value | ||
| ) |
Set red intensity to specified index
| void icy.image.colormap.IcyColorMap.setRedControlPoint | ( | int | index, |
| int | value | ||
| ) |
Set a red control point to specified index and value
| void icy.image.colormap.IcyColorMap.setRGB | ( | int | index, |
| Color | value | ||
| ) |
Set RGB color to specified index
| void icy.image.colormap.IcyColorMap.setRGBControlPoint | ( | int | index, |
| Color | value | ||
| ) |
Set RGB control point values to specified index
| void icy.image.colormap.IcyColorMap.setType | ( | IcyColorMapType | value | ) |
| value | the type to set |
ALPHA band
BLUE band
GRAY band
GREEN band
final int icy.image.colormap.IcyColorMap.MAX_LEVEL = 255 [static] |
define the wanted max level (never change it)
RED band
final int icy.image.colormap.IcyColorMap.SIZE = 0x100 [static] |
define colormap size
1.7.3