|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter2D
com.metsci.glimpse.charts.shoreline.LandShapePainter
public class LandShapePainter
Originally designed to display shoreline data available from the NOAA/NGDC Coastline Extractor tool at http://www.ngdc.noaa.gov/mgg_coastline/
Now capable of painting all LandShapes, NdgcFile shapes as wells as Gshhs shapes. When downloading ndgc data, choose the following options: World Vector Shoreline Compression Method: None Coast Format: Mapgen Coast Preview: No Preview
Field Summary |
---|
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl |
---|
BYTES_PER_FLOAT, logger |
Constructor Summary | |
---|---|
LandShapePainter()
|
Method Summary | |
---|---|
void |
deleteAll()
|
void |
dispose(javax.media.opengl.GLContext context)
|
void |
loadLandFile(java.io.File file,
GeoProjection tangentPlane)
Deprecated. |
void |
loadLandFile(java.io.InputStream in,
GeoProjection tangentPlane)
Deprecated. |
void |
loadLandFile(java.lang.String file,
GeoProjection tangentPlane)
Deprecated. |
void |
loadLandFileAndCenterAxis(java.io.File file,
GeoProjection tangentPlane,
Axis2D axis)
Deprecated. |
void |
loadLandFileAndCenterAxis(LandShapeCapable landFile,
GeoProjection projection,
Axis2D axis)
|
void |
loadLandFileAndCenterAxis(LandShape landShape,
GeoProjection projection,
Axis2D axis)
|
void |
loadNdgcLandFile(java.io.InputStream in,
GeoProjection tangentPlane)
|
void |
loadNgdcLandFile(java.io.File file,
GeoProjection tangentPlane)
|
void |
loadNgdcLandFile(java.lang.String file,
GeoProjection tangentPlane)
|
void |
loadNgdcLandFileAndCenterAxis(java.io.File file,
GeoProjection tangentPlane,
Axis2D axis)
|
void |
paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis)
|
void |
setFill(boolean show)
|
void |
setFillColor(float[] rgba)
|
void |
setFillColor(float r,
float g,
float b,
float a)
|
void |
setLineColor(float[] rgba)
|
void |
setLineColor(float r,
float g,
float b,
float a)
|
void |
setLineDotted(boolean dotted)
|
void |
setLineDotted(int stippleFactor,
short stipplePattern)
|
void |
setLineWidth(int width)
|
void |
setPolyDotted(boolean dotted)
|
void |
setPolyDotted(byte[] stipple)
|
void |
setShowLines(boolean show)
|
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainter2D |
---|
paintTo |
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl |
---|
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LandShapePainter()
Method Detail |
---|
@Deprecated public void loadLandFile(java.io.InputStream in, GeoProjection tangentPlane) throws java.io.IOException
in
- tangentPlane
-
java.io.IOException
public void loadNdgcLandFile(java.io.InputStream in, GeoProjection tangentPlane) throws java.io.IOException
java.io.IOException
@Deprecated public void loadLandFile(java.lang.String file, GeoProjection tangentPlane) throws java.io.IOException
file
- tangentPlane
-
java.io.IOException
public void loadNgdcLandFile(java.lang.String file, GeoProjection tangentPlane) throws java.io.IOException
java.io.IOException
@Deprecated public void loadLandFile(java.io.File file, GeoProjection tangentPlane) throws java.io.IOException
file
- tangentPlane
-
java.io.IOException
public void loadNgdcLandFile(java.io.File file, GeoProjection tangentPlane) throws java.io.IOException
java.io.IOException
@Deprecated public void loadLandFileAndCenterAxis(java.io.File file, GeoProjection tangentPlane, Axis2D axis) throws java.io.IOException
file
- tangentPlane
- axis
-
java.io.IOException
public void loadNgdcLandFileAndCenterAxis(java.io.File file, GeoProjection tangentPlane, Axis2D axis) throws java.io.IOException
java.io.IOException
public void loadLandFileAndCenterAxis(LandShapeCapable landFile, GeoProjection projection, Axis2D axis) throws java.io.IOException
java.io.IOException
public void loadLandFileAndCenterAxis(LandShape landShape, GeoProjection projection, Axis2D axis) throws java.io.IOException
java.io.IOException
public void setLineColor(float r, float g, float b, float a)
public void setLineColor(float[] rgba)
public void setLineWidth(int width)
public void setShowLines(boolean show)
public void setPolyDotted(byte[] stipple)
public void setPolyDotted(boolean dotted)
public void setLineDotted(boolean dotted)
public void setLineDotted(int stippleFactor, short stipplePattern)
public void setFill(boolean show)
public void setFillColor(float[] rgba)
public void setFillColor(float r, float g, float b, float a)
public void deleteAll()
public void dispose(javax.media.opengl.GLContext context)
public void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpsePainter2D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |