Package noaa.coastwatch.render
Provides classes for rendering earth data to images.
The top-level rendering class EarthDataView
uses the data values from one or
more DataVariable
objects to create an
image. A number of EarthDataOverlay
objects may be used to render graphical overlays such as coast or grid
lines on the main view image. Legends may be rendered on or beside
the view image using Legend
objects.
The EarthDataPlot
class groups an
EarthDataView
and various legends to produce a standard
presentation quality data plot.
The subclass ColorEnhancement
is an
EarthDataView
which assigns colors to data values based
on Palette
and EnhancementFunction
objects. The
Palette
class represents an indexed set of colors read
from a special format data file. The EnhancementFunction
class determines the mapping of data values to colors.
The subclass ColorComposite
is an
EarthDataView
that creates an image using three data
values for the red, green, and blue components of each pixel. A color
composite may be used to emphasize certain spectral features in a
satellite image that can only be seen using multiple data channels.
The LineFeatureSource
and LineFeature
classes combine to allow the
reading and rendering of earth polyline data such as coast lines and
political boundaries. LineFeature
objects are normally
used in conjunction with EarthDataOverlay
objects to
provide line annotation for data views.
-
ClassDescriptionAn annotation element handles the specific information for annotation of data with one symbol or string.An annotation overlay annotes a data view with annotation elements.A
ArrowSymbol
is aPointFeatureSymbol
that renders an arrow pointing in the direction of a vector quantity.ABitmaskOverlay
annotates a data view using a data grid and an integer bit mask.ACoastOverlay
annotates an earth data view with coast lines and polygons.AColorArrowSymbol
is similar to a normal arrow but it has the additional feature that arrows are colored according to a color enhancement scheme based on the vector magnitude.A color composite is a data view that creates an image based on three data grid variables, one each for red, green, and blue.TheColorEnhanced
interface gives methods for classes whose data are enhanced with a color palette and enhancement function.A color enhancement is an earth data view that creates an image based on a grid variable, color palette, and enhancement function.TheColorEnhancementSettings
class stores palette and enhancement function information for a color enhancement of a data variable.The color lookup class translates color names to red, green, blue values based on a color names data file.TheColorPointEnhancement
class uses aPalette
andEnhancementFunction
to render aPointFeatureOverlay
to an earth view.AColorWindBarbSymbol
is similar to a normal wind barb but it has the additional feature that barbs are colored according to a color enhancement scheme based on the wind speed.A contour generator creates lists of earth data points that follow lines of constant value in a gridded dataset.TheCrossSymbol
class draws a cross for a point symbol.A color scale annotates a data enhancement plot with a scale of colors from a color palette and tick marks at regular intervals for the data values.TheDataReferenceOverlay
class annotates anEarthDataView
object with row/column grid lines and labels.ADirectionSymbol
is aPointFeatureSymbol
that renders a directional vector.TheEarthContextElement
is a picture element that renders a simplified view of the earth with coastlines and the bounding boxes of a number of arbitrarily shaped areas.An earth data overlay specifies information used for the annotation of an earth data view, for example grid lines, coastlines, symbols, text, and so on.The earth data plot class is used for rendering earth data with legends.TheEarthDataView
class sets up a correspondence between 2D Earth locatable data variables (possibly more than one) and a visual image.The earth image transform class translates between 2D geographic coordinates in latitude, longitude and image coordinates in x, y.An earth plot information legend annotates an earth data view with information about the data source, date, time, projection, and earth location.An enhancement function normalizes a data value to the range [0..1].TheEnhancementFunctionFactory
creates enhancement functions using a simple set of specifications.TheExpressionMaskOverlay
class uses a mathematical expression to compute a data mask.TheFilledShapeOverlay
class may be used to render a list of generic filled shapes.A gamma enhancement is an enhancement function formed by a power law y = (mx + b)^g relationship where g is the gamma value, set to 1/2.2 by default.The graphics services class defines various static methods relating to the java.awt.Graphics2D class.TheGridContainerOverlay
interface marks overlays that use one or moreGrid
objects to display their graphics.The HybridView class is an earth data view that combines a set of data views.An icon element is a picture element that is rendered from image data.TheIconElementFactory
class createsIconElement
objects from either a user-specified file or from built in resource images.The ImageTransform class translates between 2D data coordinates and image coordinates in x and y.TheJavaExpressionMaskOverlay
class uses a mathematical expression in Java syntax to compute a data mask.ALabeledLineOverlay
renders lines and labels on anEarthDataView
.TheLatLonOverlay
class annotates anEarthDataView
view with latitude/longitude grid lines and labels.A legend is used to annotate data with descriptive elements.A linear enhancement is an enhancement function formed by a linear y = mx + b relationship.TheLineFeatureOverlay
class annotates a data view with line features from a line feature source.A vector overlay annotes a data view with vector-specified lines and shapes.A log enhancement is an enhancement function formed by a logarithm y = mlogx + b relationship.AMaskOverlay
annotates a data view using some extra information to form a mask of opaque and transparent pixels at each data location.TheMultilayerBitmaskOverlay
class uses a set ofBitmaskOverlay
objects to colour subsets of bits in the bit mask with different colors.MultiPointFeatureOverlay<T extends PointFeatureSymbol>TheMultiPointFeatureOverlay
class annotes a data view with symbols using data from from multiplePointFeatureOverlay
objects.The OrientationAffineFactory constructs affine transform objects to correctly orient an EarthTransform so that it appears in the on-screen image the way a data user would naturally expect to see it.TheOverlayGroupManager
class can be used to save, load, delete, and get a list of overlay groups.ThePalette
allows the user to associate a name and index color model together as a palette and perform manipulations on the palette colors.ThePaletteFactory
class handles written tables of predefined index color models.ThePathTransformer
class converts line segments of earth location data to projected image data, taking account of discontinuities and boundary cuts in the line segments.A picture element is an annotation element the renders graphics and shapes.ThePlotSymbolFactory
class supplies plot symbols for scatter plots and point feature plots.PointFeatureOverlay<T extends PointFeatureSymbol>ThePointFeatureOverlay
class annotes a data view with symbols using data from aPointFeatureSource
.APointFeatureSymbol
is aPlotSymbol
that may change its rendered appearance slightly depending on the attributes of the feature that it currently holds.ThePoliticalOverlay
class annotates anEarthDataView
with political border lines.ThePolygonFeatureOverlay
class annotes a data view with earth polygons from anPolygonFeatureSource
.A polygon overlay annotes a data view with vector-specified polygon lines and shapes.The renderable interface sets the methods for classes that render to images or graphics contexts.TheShadowGenerator
class creates drop shadows from the non-transparent pixels in an image.TheShapeOverlay
class may be used to render a list of generic shapes.ASimpleSymbol
is aPointFeatureSymbol
that renders aPlotSymbol
and optional text label.The solid background class is an earth data view that creates a solid image of color to help view overlay graphics.A step enhancement is an enhancement function formed by a number of discrete steps.TheSurveyOverlay
class may be used to display the shape of anEarthDataSurvey
object.A text element is an annotation element the renders text strings.TheTextOverlay
class may be used to render a list of text annotation elements.TheTopography
class holds topography data, useful for classes that need topography data for contouring, atmospheric correction, etc.A topography overlay annotates an earth data view with topography lines.TheTransparentOverlay
interface is a marker interface forEarthDataOverlay
classes that use a combination of opaque and transparent pixels.AWindBarbSymbol
is aPointFeatureSymbol
that renders a wind barb according to the WMO rules.TheXSymbol
class draws an X for a point symbol.