|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthealpix.plot3d.canvas3d.SineColorTransform
public class SineColorTransform
A Sine color transform. WOM originally coded.
| Field Summary | |
|---|---|
double |
scaleColor
The scale color. |
| Constructor Summary | |
|---|---|
SineColorTransform(double min,
double max)
Creates a new SineColorTransform object from minimum and max data values. |
|
| Method Summary | |
|---|---|
void |
computeTransform()
Compute the color transformation. |
Color |
getColor(double val)
Get the Color of a value using the defined scale color |
Color |
getColor(double val,
double min,
double max)
Converts a value into a Color using the actual color
tranformation, and minimum and maximum value. |
Color3f |
getColor3f(double val)
Get Color3f from a value |
double |
getMax()
Gets the maximum data value used by this color transformation. |
double |
getMin()
Gets the minimum data value used by this color transformation. |
double |
getScaleColor()
Gets the color scale factor |
void |
setScaleColor(double scaleColor)
Sets the color scale factor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double scaleColor
| Constructor Detail |
|---|
public SineColorTransform(double min,
double max)
min - minimum valuemax - maximum value| Method Detail |
|---|
public void setScaleColor(double scaleColor)
ColorTransform
setScaleColor in interface ColorTransformscaleColor - color scale factorpublic Color getColor(double val)
Color of a value using the defined scale color
val - value
Color
public Color getColor(double val,
double min,
double max)
ColorTransformColor using the actual color
tranformation, and minimum and maximum value.
getColor in interface ColorTransformval - value to convert into Colormin - minimum valuemax - maximum value
public void computeTransform()
ColorTransform
computeTransform in interface ColorTransformpublic Color3f getColor3f(double val)
Color3f from a value
val - value
Color3fpublic double getScaleColor()
ColorTransform
getScaleColor in interface ColorTransformpublic double getMax()
ColorTransform
getMax in interface ColorTransformpublic double getMin()
ColorTransform
getMin in interface ColorTransform
|
"Built from revision exported" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||