public class ColorMap extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
bitClip |
int |
bitShift |
String |
name |
| Modifier and Type | Method and Description |
|---|---|
void |
computeColorMap() |
void |
createColorMap(int numColors,
int numPoints,
float min,
float max) |
byte[] |
getBlueIntValues() |
float[] |
getBluePoints() |
float[] |
getBlueValues() |
Color |
getColor(float val) |
Color |
getColor(float val,
float min,
float max) |
Color[] |
getColors() |
byte[] |
getGreenIntValues() |
float[] |
getGreenPoints() |
float[] |
getGreenValues() |
IndexColorModel |
getIndexColorModel(int numBit) |
float |
getMax() |
float |
getMin() |
byte[] |
getRedIntValues() |
float[] |
getRedPoints() |
float[] |
getRedValues() |
void |
setBlueParam(float[] p,
float[] v) |
void |
setGreenParam(float[] p,
float[] v) |
void |
setMax(float max) |
void |
setMin(float min) |
void |
setRedParam(float[] p,
float[] v) |
String |
toString() |
public String name
public int bitShift
public boolean bitClip
public void computeColorMap()
public void createColorMap(int numColors,
int numPoints,
float min,
float max)
public byte[] getBlueIntValues()
public float[] getBluePoints()
public float[] getBlueValues()
public Color getColor(float val)
public Color getColor(float val, float min, float max)
public Color[] getColors()
public byte[] getGreenIntValues()
public float[] getGreenPoints()
public float[] getGreenValues()
public IndexColorModel getIndexColorModel(int numBit)
public float getMax()
public float getMin()
public byte[] getRedIntValues()
public float[] getRedPoints()
public float[] getRedValues()
public void setBlueParam(float[] p,
float[] v)
public void setGreenParam(float[] p,
float[] v)
public void setMax(float max)
public void setMin(float min)
public void setRedParam(float[] p,
float[] v)
Copyright © 2021. All rights reserved.