|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.PlotState
uk.ac.starlink.ttools.plot.DensityPlotState
public class DensityPlotState
PlotState specialist subclass used for density maps.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot.PlotState |
---|
PlotState.SimpleValueInfo |
Constructor Summary | |
---|---|
DensityPlotState()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
double |
getHiCut()
Gets the upper cut value, as a fraction of the visible bins. |
Shader |
getIndexedShader()
Returns the shader to be used for shading pixels in indexed (non-RGB) mode. |
double |
getLoCut()
Gets the lower cut value, as a fraction of the visible bins. |
boolean |
getLogZ()
Determines whether the colour intensity is to be plotted on a log or linear scale. |
int |
getPixelSize()
Gets the size of each data pixel (bin) in screen pixels. |
boolean |
getRgb()
Determines whether the plot will be coloured. |
boolean |
getWeighted()
Determines whether non-unit weighting is (maybe) in force for this state. |
int |
hashCode()
|
void |
setHiCut(double frac)
Sets the upper cut value, as a fraction of the visible bins. |
void |
setIndexedShader(Shader indexedShader)
Sets the shader object to be used for shading pixels in indexed (non-RGB) mode. |
void |
setLoCut(double frac)
Sets the lower cut value, as a fraction of the visible bins. |
void |
setLogZ(boolean zLog)
Sets whether the colour intensity is to be plotted on a log or linear scale. |
void |
setPixelSize(int psize)
Sets the size of each data pixel (bin) in screen pixels. |
void |
setRgb(boolean rgb)
Sets whether the plot will be coloured. |
void |
setWeighted(boolean weighted)
Sets whether non-unit weighting is (maybe) in force for this state. |
Methods inherited from class uk.ac.starlink.ttools.plot.PlotState |
---|
compare, getAntialias, getAxes, getAxisLabels, getConverters, getFlipFlags, getGrid, getLogFlags, getMainNdim, getPlotData, getRanges, getShaders, getValid, setAntialias, setAxes, setAxisLabels, setConverters, setFlipFlags, setGrid, setLogFlags, setMainNdim, setPlotData, setRanges, setShaders, setValid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DensityPlotState()
Method Detail |
---|
public void setRgb(boolean rgb)
rgb
- true for colour, false for monochromepublic boolean getRgb()
public void setLogZ(boolean zLog)
zLog
- true iff you want logarithmic scaling of intensitypublic boolean getLogZ()
public void setPixelSize(int psize)
psize
- pixel sizepublic int getPixelSize()
public void setLoCut(double frac)
frac
- lower cut value (0-1)public double getLoCut()
public void setHiCut(double frac)
frac
- upper cut value (0-1)public double getHiCut()
public void setWeighted(boolean weighted)
weighted
- whether weights are usedpublic boolean getWeighted()
public void setIndexedShader(Shader indexedShader)
indexedShader
- shaderpublic Shader getIndexedShader()
public boolean equals(Object o)
equals
in class PlotState
public int hashCode()
hashCode
in class PlotState
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |