|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthealpix.plot3d.canvas3d.ColorMap
public class ColorMap
Creates a color map using a color transformation of data values.
| Constructor Summary | |
|---|---|
ColorMap(double min,
double max)
Creates a new ColorMap from min and max data values and default color transformation. |
|
ColorMap(double min,
double max,
ColorTransform ctrans)
Creates a new ColorMap object from min and max data values with a color transformation as input. |
|
| Method Summary | |
|---|---|
Color |
getColor(double val)
Converts a value into a Color using the actual color
tranformation, and minimum and maximum value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorMap(double min,
double max)
min - minimum valuemax - maximum value
public ColorMap(double min,
double max,
ColorTransform ctrans)
min - minimum valuemax - maximum valuectrans - a color transformation| Method Detail |
|---|
public Color getColor(double val)
Color using the actual color
tranformation, and minimum and maximum value.
val - value to convert into Color
|
"Built from revision exported" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||