public class CoverageRenderer
extends java.lang.Object
Constructor and Description |
---|
CoverageRenderer(PreferencesExt store)
constructor
|
Modifier and Type | Method and Description |
---|---|
ColorScale |
getColorScale() |
ProjectionImpl |
getDataProjection() |
ProjectionImpl |
getDisplayProjection() |
int |
getLevel() |
int |
getTime() |
java.lang.String |
getXYvalueStr(ProjectionPoint loc) |
void |
renderPlanView(java.awt.Graphics2D g,
java.awt.geom.AffineTransform dFromN)
Do the rendering to the given Graphics2D object.
|
void |
setColorScale(ColorScale cs) |
ucar.nc2.ui.coverage2.DataState |
setCoverage(CoverageCollection coverageDataset,
Coverage grid) |
void |
setDataMinMaxType(ColorScale.MinMaxType type) |
void |
setDataProjection(ProjectionImpl dataProjection) |
void |
setDrawBB(boolean drawBB) |
void |
setDrawContourLabels(boolean drawContourLabels) |
void |
setDrawContours(boolean drawContours) |
void |
setDrawGridLines(boolean drawGrid) |
void |
setEnsemble(int ensemble) |
void |
setHorizStride(int horizStride) |
void |
setLevel(int level) |
void |
setRunTime(int runtime) |
void |
setSlice(int slice) |
void |
setTime(int time) |
void |
setViewProjection(ProjectionImpl project) |
public CoverageRenderer(PreferencesExt store)
public ColorScale getColorScale()
public void setColorScale(ColorScale cs)
public void setDataMinMaxType(ColorScale.MinMaxType type)
public ucar.nc2.ui.coverage2.DataState setCoverage(CoverageCollection coverageDataset, Coverage grid)
public ProjectionImpl getDataProjection()
public void setDataProjection(ProjectionImpl dataProjection)
public ProjectionImpl getDisplayProjection()
public void setViewProjection(ProjectionImpl project)
public void setDrawBB(boolean drawBB)
public void setDrawGridLines(boolean drawGrid)
public void setDrawContours(boolean drawContours)
public void setDrawContourLabels(boolean drawContourLabels)
public int getLevel()
public void setLevel(int level)
public int getTime()
public void setTime(int time)
public void setRunTime(int runtime)
public void setEnsemble(int ensemble)
public void setSlice(int slice)
public void setHorizStride(int horizStride)
public java.lang.String getXYvalueStr(ProjectionPoint loc)
public void renderPlanView(java.awt.Graphics2D g, java.awt.geom.AffineTransform dFromN)
g
- Graphics2D object: has clipRect and AffineTransform set.dFromN
- transforms "Normalized Device" to Device coordinates