Package | Description |
---|---|
icy.gui.lut |
Contains all graphic components related to the Icy LUT (Look Up Table)
|
icy.image.colormap |
Contains the Icy Colormap structure definition and all default Icy colormap
|
Modifier and Type | Method and Description |
---|---|
double |
ColormapViewer.getDistance(IcyColorMapComponent.ControlPoint cp,
java.awt.Point p)
Return distance between control point and the specified point
|
int |
ColormapViewer.getPixelPosX(IcyColorMapComponent.ControlPoint cp)
Get X pixel position
|
int |
ColormapViewer.getPixelPosY(IcyColorMapComponent.ControlPoint cp)
Get Y pixel position
|
boolean |
ColormapViewer.isOverlapped(IcyColorMapComponent.ControlPoint cp,
java.awt.Point p)
Return true if pixel (x, y) is over the control point
|
void |
ColormapViewer.setCurrentElements(IcyColorMapComponent cmc,
IcyColorMapComponent.ControlPoint cp)
set current controller or control point
|
void |
ColormapViewer.setPixelPosition(IcyColorMapComponent.ControlPoint cp,
int x,
int y)
Set position from a pixel position
|
Modifier and Type | Method and Description |
---|---|
IcyColorMapComponent.ControlPoint |
IcyColorMapComponent.getControlPoint(int index)
get the control point
|
IcyColorMapComponent.ControlPoint |
IcyColorMapComponent.getControlPointWithIndex(int index,
boolean create)
get the control point at specified index (return null if not found)
|
IcyColorMapComponent.ControlPoint |
IcyColorMapComponent.setControlPoint(int index,
float value)
Set a control point to specified index and value (normalized)
|
IcyColorMapComponent.ControlPoint |
IcyColorMapComponent.setControlPoint(int index,
int value)
Set a control point to specified index and value
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<IcyColorMapComponent.ControlPoint> |
IcyColorMapComponent.getControlPoints() |
Modifier and Type | Method and Description |
---|---|
int |
IcyColorMapComponent.ControlPoint.compareTo(IcyColorMapComponent.ControlPoint o) |
void |
IcyColorMapComponent.controlPointAdded(IcyColorMapComponent.ControlPoint controlPoint)
Called when a control point has been added
|
void |
IcyColorMapComponent.controlPointChanged(IcyColorMapComponent.ControlPoint controlPoint)
Called when a control point has been modified
|
void |
IcyColorMapComponent.controlPointRemoved(IcyColorMapComponent.ControlPoint controlPoint)
Called when a control point has been removed
|
void |
IcyColorMapComponent.removeControlPoint(IcyColorMapComponent.ControlPoint controlPoint)
Remove the specified control point
|