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