public class CoverageRenderer extends Object
| Constructor and Description |
|---|
CoverageRenderer(ucar.util.prefs.PreferencesExt store)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
ColorScale |
getColorScale() |
ucar.unidata.geoloc.Projection |
getDataProjection() |
ucar.unidata.geoloc.Projection |
getDisplayProjection() |
int |
getLevel() |
int |
getTime() |
String |
getXYvalueStr(ucar.unidata.geoloc.ProjectionPoint loc) |
void |
renderPlanView(Graphics2D g,
AffineTransform dFromN)
Do the rendering to the given Graphics2D object.
|
void |
setColorScale(ColorScale cs) |
ucar.nc2.ui.coverage2.DataState |
setCoverage(ucar.nc2.ft2.coverage.CoverageCollection coverageDataset,
ucar.nc2.ft2.coverage.Coverage grid) |
void |
setDataMinMaxType(ColorScale.MinMaxType type) |
void |
setDataProjection(ucar.unidata.geoloc.Projection 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(ucar.unidata.geoloc.Projection project) |
public CoverageRenderer(ucar.util.prefs.PreferencesExt store)
public ColorScale getColorScale()
public void setColorScale(ColorScale cs)
public void setDataMinMaxType(ColorScale.MinMaxType type)
public ucar.nc2.ui.coverage2.DataState setCoverage(ucar.nc2.ft2.coverage.CoverageCollection coverageDataset,
ucar.nc2.ft2.coverage.Coverage grid)
public ucar.unidata.geoloc.Projection getDataProjection()
public void setDataProjection(ucar.unidata.geoloc.Projection dataProjection)
public ucar.unidata.geoloc.Projection getDisplayProjection()
public void setViewProjection(ucar.unidata.geoloc.Projection 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 String getXYvalueStr(ucar.unidata.geoloc.ProjectionPoint loc)
public void renderPlanView(Graphics2D g, AffineTransform dFromN)
g - Graphics2D object: has clipRect and AffineTransform set.dFromN - transforms "Normalized Device" to Device coordinates