public class DefaultDataStructFactory extends java.lang.Object implements DataStructFactory
| Constructor and Description |
|---|
DefaultDataStructFactory() |
| 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
|
public TransparencyRange createTransparencyRange()
DataStructFactorycreateTransparencyRange in interface DataStructFactorypublic Transparency createTransparency(int nBands)
DataStructFactoryTransparency object. This object is useful to render
with transparency information.createTransparency in interface DataStructFactorypublic ColorTableLibrary getColorTableLibrary()
DataStructFactorygetColorTableLibrary in interface DataStructFactorypublic Extent createExtent(java.awt.geom.Point2D ul, java.awt.geom.Point2D lr)
DataStructFactorycreateExtent in interface DataStructFactoryul - upper left coordinatelr - lower right coordinatepublic Extent createExtent(java.awt.geom.Point2D ul, java.awt.geom.Point2D lr, java.awt.geom.Point2D ur, java.awt.geom.Point2D ll)
DataStructFactorycreateExtent in interface DataStructFactoryul - upper left coordinatelr - lower right coordinateur - upper right coordinatell - lower left coordinatepublic Extent createExtent(double x1, double y1, double x2, double y2)
DataStructFactorycreateExtent in interface DataStructFactoryx1 - X upper left coordinatey1 - Y upper left coordinatex2 - X lower right coordinatey2 - Y lower right coordinatepublic Extent createExtent(java.awt.geom.Rectangle2D r)
DataStructFactorycreateExtent in interface DataStructFactoryr - Rectangle 2Dpublic Extent createExtent()
DataStructFactorycreateExtent in interface DataStructFactorypublic NoData createNoData(java.lang.Number noData, java.lang.Number nativeNoData, java.lang.String fileName, int bandCount)
DataStructFactorycreateNoData in interface DataStructFactorynoData - 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 filepublic NoData createNoData(java.lang.Number noData, java.lang.Number nativeNoData, java.lang.String fileName)
DataStructFactorycreateNoData in interface DataStructFactorynoData - 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 filepublic NoData createDefaultNoData(int bandCount, int dataType)
DataStructFactorycreateDefaultNoData in interface DataStructFactorybandCount - Number of bandsdataType - dataType of this NoDatapublic RasterDataStore createDataStore()
DataStructFactorycreateDataStore in interface DataStructFactorypublic GeoPoint createGeoPoint()
DataStructFactorycreateGeoPoint in interface DataStructFactorypublic GeoPoint createGeoPoint(java.awt.geom.Point2D p, java.awt.geom.Point2D m)
DataStructFactorycreateGeoPoint in interface DataStructFactorypublic ColorInterpretation createColorInterpretation(java.lang.String[] colorInterp)
DataStructFactorycreateColorInterpretation in interface DataStructFactorypublic ColorInterpretation createColorInterpretation(java.lang.String colorInterpretationConstant)
DataStructFactorycreateColorInterpretation in interface DataStructFactorypublic ViewPortData createViewPortData(IProjection proj, Extent extent, java.awt.geom.Dimension2D size)
DataStructFactorycreateViewPortData in interface DataStructFactorypublic ViewPortData createViewPortData()
DataStructFactorycreateViewPortData in interface DataStructFactory