public interface DataStructFactory
Modifier and Type | Method and Description |
---|---|
ColorInterpretation |
createColorInterpretation(String colorInterpretationConstant)
Gets a new instance of a ColorInterpretation object
|
ColorInterpretation |
createColorInterpretation(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(Point2D ul,
Point2D lr)
Builds a extent using upper left coordinate and lower right coordinate
|
Extent |
createExtent(Point2D ul,
Point2D lr,
Point2D ur,
Point2D ll)
Builds a extent using the four coordinates
|
Extent |
createExtent(Rectangle2D r)
Builds a extent using a rectangle
|
GeoPoint |
createGeoPoint()
Creates a empty geopoint
|
GeoPoint |
createGeoPoint(Point2D p,
Point2D m)
Creates a geopoint with values
|
NoData |
createNoData(Number noData,
Number nativeNoData,
String fileName)
Builds a new NoData for DEMs
|
NoData |
createNoData(Number noData,
Number nativeNoData,
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,
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(Point2D ul, Point2D lr)
ul
- upper left coordinatelr
- lower right coordinateExtent createExtent(Point2D ul, Point2D lr, Point2D ur, 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(Rectangle2D r)
r
- Rectangle 2DExtent createExtent()
NoData createNoData(Number noData, Number nativeNoData, 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(Number noData, Number nativeNoData, 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(Point2D p, Point2D m)
p
- m
- ColorInterpretation createColorInterpretation(String[] colorInterp)
A
- list of color interpretation stringsColorInterpretation createColorInterpretation(String colorInterpretationConstant)
A
- constant defined in ColorInterpretation
interface.
It can be RGB, BGR, ARGB, PALETTE or GRAYSCALEViewPortData createViewPortData(IProjection proj, Extent extent, Dimension2D size)
proj
- extent
- size
- ViewPortData createViewPortData()