public interface DataStructFactory
Modifier and Type | Method and Description |
---|---|
ColorInterpretation |
createColorInterpretation(java.lang.String colorInterpretationConstant)
Gets a new instance of a ColorInterpretation object
|
ColorInterpretation |
createColorInterpretation(java.lang.String[] colorInterp)
Gets a new instance of a ColorInterpretation object
|
RasterDataStore |
createDataStore()
Creates a empty DataStore
|
NoData |
createDefaultNoData(int bandCount,
int dataType)
Builds a new NoData for DEMs
|
Extent |
createExtent()
Builds an empty extent
|
Extent |
createExtent(double x1,
double y1,
double x2,
double y2)
Builds a extent using upper left coordinate and lower right coordinate
|
Extent |
createExtent(java.awt.geom.Point2D ul,
java.awt.geom.Point2D lr)
Builds a extent using upper left coordinate and lower right coordinate
|
Extent |
createExtent(java.awt.geom.Point2D ul,
java.awt.geom.Point2D lr,
java.awt.geom.Point2D ur,
java.awt.geom.Point2D ll)
Builds a extent using the four coordinates
|
Extent |
createExtent(java.awt.geom.Rectangle2D r)
Builds a extent using a rectangle
|
GeoPoint |
createGeoPoint()
Creates a empty geopoint
|
GeoPoint |
createGeoPoint(java.awt.geom.Point2D p,
java.awt.geom.Point2D m)
Creates a geopoint with values
|
NoData |
createNoData(java.lang.Number noData,
java.lang.Number nativeNoData,
java.lang.String fileName)
Builds a new NoData for DEMs
|
NoData |
createNoData(java.lang.Number noData,
java.lang.Number nativeNoData,
java.lang.String fileName,
int bandCount)
Builds a new NoData object
|
Transparency |
createTransparency(int nBands)
Creates a
Transparency object. |
TransparencyRange |
createTransparencyRange()
Builds a TransparencyRange object
|
ViewPortData |
createViewPortData()
Builds a new ViewPortData object
|
ViewPortData |
createViewPortData(IProjection proj,
Extent extent,
java.awt.geom.Dimension2D size)
Builds a new ViewPortData object
|
ColorTableLibrary |
getColorTableLibrary()
Returns the object which represents the color table library
|
TransparencyRange createTransparencyRange()
Transparency createTransparency(int nBands)
Transparency
object. This object is useful to render
with transparency information.ColorTableLibrary getColorTableLibrary()
Extent createExtent(java.awt.geom.Point2D ul, java.awt.geom.Point2D lr)
ul
- upper left coordinatelr
- lower right coordinateExtent createExtent(java.awt.geom.Point2D ul, java.awt.geom.Point2D lr, java.awt.geom.Point2D ur, java.awt.geom.Point2D ll)
ul
- upper left coordinatelr
- lower right coordinateur
- upper right coordinatell
- lower left coordinateExtent createExtent(double x1, double y1, double x2, double y2)
x1
- X upper left coordinatey1
- Y upper left coordinatex2
- X lower right coordinatey2
- Y lower right coordinateExtent createExtent(java.awt.geom.Rectangle2D r)
r
- Rectangle 2DExtent createExtent()
NoData createNoData(java.lang.Number noData, java.lang.Number nativeNoData, java.lang.String fileName, int bandCount)
noData
- value to assign to all bandsnativeNoData
- The native is the original value
saved in the head of the file or its metadata.fileName
- Name of file owner of this nodata value. This string is useful to
save the rmf filebandCount
- Number of bands of the fileNoData createNoData(java.lang.Number noData, java.lang.Number nativeNoData, java.lang.String fileName)
noData
- value to assign to all bandsnativeNoData
- The native is the original value
saved in the head of the file or its metadata.fileName
- Name of file owner of this nodata value. This string is useful to
save the rmf fileNoData createDefaultNoData(int bandCount, int dataType)
dataType
- dataType of this NoDatabandCount
- Number of bandsRasterDataStore createDataStore()
GeoPoint createGeoPoint()
GeoPoint createGeoPoint(java.awt.geom.Point2D p, java.awt.geom.Point2D m)
p
- m
- ColorInterpretation createColorInterpretation(java.lang.String[] colorInterp)
A
- list of color interpretation stringsColorInterpretation createColorInterpretation(java.lang.String colorInterpretationConstant)
A
- constant defined in ColorInterpretation
interface.
It can be RGB, BGR, ARGB, PALETTE or GRAYSCALEViewPortData createViewPortData(IProjection proj, Extent extent, java.awt.geom.Dimension2D size)
proj
- extent
- size
- ViewPortData createViewPortData()