![]() |
![]() |
![]() |
|||||||||||||||||
![]() |
![]() |
![]() |
|||||||||||||||||
![]() |
|
![]() |
|||||||||||||||||
![]() |
![]() |
![]() |
![]() |
healpix.plot3d.canvas3d
|
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 valueMethod Detail |
---|
public void setScaleColor(double scaleColor)
ColorTransform
setScaleColor
in interface ColorTransform
scaleColor
- 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)
ColorTransform
Color
using the actual color
tranformation, and minimum and maximum value.
getColor
in interface ColorTransform
val
- value to convert into Colormin
- minimum valuemax
- maximum value
public void computeTransform()
ColorTransform
computeTransform
in interface ColorTransform
public Color3f getColor3f(double val)
public double getScaleColor()
ColorTransform
getScaleColor
in interface ColorTransform
public double getMax()
ColorTransform
getMax
in interface ColorTransform
public 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 |
![]() |
![]() |
![]() |
||||
![]() |
|
![]() |
||||
![]() |
![]() |
![]() |
||||
![]() |
|
![]() |
||||
![]() |
![]() |
![]() |
||||
![]() |
![]() |
![]() |