public abstract class AbstractGeoReferencedImage extends AbstractPropertyChangeObject implements GeoReferencedImage
| Constructor and Description |
|---|
AbstractGeoReferencedImage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOverviewSize(int width,
int height) |
void |
cancelChanges() |
void |
deleteTiePoint(MappedLocation tiePoint) |
void |
drawImage(Graphics2D graphics,
BoundingBox viewBoundingBox,
int viewWidth,
int viewHeight,
boolean useTransform) |
void |
drawRenderedImage(RenderedImage renderedImage,
BoundingBox imageBoundingBox,
Graphics2D graphics,
BoundingBox viewBoundingBox,
int viewWidth,
boolean useTransform) |
protected void |
drawRenderedImage(RenderedImage renderedImage,
Graphics2D graphics,
BoundingBox viewBoundingBox,
int viewWidth,
int viewHeight,
boolean useTransform) |
AffineTransform |
getAffineTransformation(BoundingBox boundingBox) |
static GeneralMatrix |
getAMatrix(List<MappedLocation> mappings,
int imageHeight) |
BoundingBox |
getBoundingBox() |
protected BufferedImage |
getBufferedImage() |
CoordinateSystem |
getCoordinateSystem() |
int[] |
getDpi() |
File |
getFile() |
GeometryFactory |
getGeometryFactory() |
AbstractGeoReferencedImage |
getImage(CoordinateSystem coordinateSystem) |
AbstractGeoReferencedImage |
getImage(CoordinateSystem coordinateSystem,
double resolution) |
AbstractGeoReferencedImage |
getImage(GeometryFactory geometryFactory) |
double |
getImageAspectRatio() |
int |
getImageHeight() |
org.springframework.core.io.Resource |
getImageResource() |
int |
getImageWidth() |
List<Dimension> |
getOverviewSizes() |
RenderedImage |
getRenderedImage() |
double |
getResolution() |
static int[] |
getResolution(ImageReader r) |
List<MappedLocation> |
getTiePoints() |
static GeneralMatrix |
getWeights(int size) |
String |
getWorldFileExtension() |
boolean |
hasBoundingBox() |
boolean |
hasGeometryFactory() |
int |
hashCode() |
boolean |
isHasChanages() |
boolean |
isHasTransform() |
protected void |
loadAuxXmlFile(long modifiedTime) |
protected void |
loadImageMetaData() |
protected void |
loadMetaDataFromImage() |
protected void |
loadProjectionFile() |
protected long |
loadSettings() |
protected void |
loadWorldFile() |
protected void |
loadWorldFile(org.springframework.core.io.Resource worldFile) |
protected void |
loadWorldFileX() |
protected void |
postConstruct() |
void |
propertyChange(PropertyChangeEvent event) |
boolean |
saveChanges() |
void |
setBoundingBox(BoundingBox boundingBox) |
void |
setBoundingBox(double minX,
double maxY,
double pixelWidth,
double pixelHeight) |
void |
setDpi(int... dpi) |
void |
setGeometryFactory(GeometryFactory geometryFactory) |
protected void |
setHasChanges(boolean hasChanges) |
protected void |
setImageHeight(int imageHeight) |
protected void |
setImageResource(org.springframework.core.io.Resource imageResource) |
protected void |
setImageWidth(int imageWidth) |
protected void |
setOverviewSizes(List<Dimension> overviewSizes) |
void |
setRenderedImage(RenderedImage renderedImage) |
protected void |
setResolution(double resolution) |
void |
setTiePoints(List<MappedLocation> tiePoints) |
Map<String,Object> |
toMap()
Convert the object to a Map of property name, value pairs.
|
String |
toString() |
addListener, addListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeSupport, removeListener, removeListenerpublic static GeneralMatrix getAMatrix(List<MappedLocation> mappings, int imageHeight)
public static int[] getResolution(ImageReader r) throws IOException
IOExceptionpublic static GeneralMatrix getWeights(int size)
protected void addOverviewSize(int width,
int height)
public void cancelChanges()
cancelChanges in interface GeoReferencedImagepublic void deleteTiePoint(MappedLocation tiePoint)
deleteTiePoint in interface GeoReferencedImagepublic void drawImage(Graphics2D graphics, BoundingBox viewBoundingBox, int viewWidth, int viewHeight, boolean useTransform)
drawImage in interface GeoReferencedImagepublic void drawRenderedImage(RenderedImage renderedImage, BoundingBox imageBoundingBox, Graphics2D graphics, BoundingBox viewBoundingBox, int viewWidth, boolean useTransform)
protected void drawRenderedImage(RenderedImage renderedImage, Graphics2D graphics, BoundingBox viewBoundingBox, int viewWidth, int viewHeight, boolean useTransform)
public AffineTransform getAffineTransformation(BoundingBox boundingBox)
getAffineTransformation in interface GeoReferencedImagepublic BoundingBox getBoundingBox()
getBoundingBox in interface GeoReferencedImageprotected BufferedImage getBufferedImage()
public CoordinateSystem getCoordinateSystem()
getCoordinateSystem in interface GeoReferencedImagepublic int[] getDpi()
getDpi in interface GeoReferencedImagepublic File getFile()
public GeometryFactory getGeometryFactory()
getGeometryFactory in interface GeoReferencedImagepublic AbstractGeoReferencedImage getImage(CoordinateSystem coordinateSystem)
getImage in interface GeoReferencedImagepublic AbstractGeoReferencedImage getImage(CoordinateSystem coordinateSystem, double resolution)
getImage in interface GeoReferencedImagepublic AbstractGeoReferencedImage getImage(GeometryFactory geometryFactory)
getImage in interface GeoReferencedImagepublic double getImageAspectRatio()
getImageAspectRatio in interface GeoReferencedImagepublic int getImageHeight()
getImageHeight in interface GeoReferencedImagepublic org.springframework.core.io.Resource getImageResource()
getImageResource in interface GeoReferencedImagepublic int getImageWidth()
getImageWidth in interface GeoReferencedImagepublic List<Dimension> getOverviewSizes()
getOverviewSizes in interface GeoReferencedImagepublic RenderedImage getRenderedImage()
getRenderedImage in interface GeoReferencedImagepublic double getResolution()
getResolution in interface GeoReferencedImagepublic List<MappedLocation> getTiePoints()
getTiePoints in interface GeoReferencedImagepublic String getWorldFileExtension()
getWorldFileExtension in interface GeoReferencedImagepublic boolean hasBoundingBox()
hasBoundingBox in interface GeoReferencedImagepublic boolean hasGeometryFactory()
hasGeometryFactory in interface GeoReferencedImagepublic boolean isHasChanages()
isHasChanages in interface GeoReferencedImagepublic boolean isHasTransform()
isHasTransform in interface GeoReferencedImageprotected void loadAuxXmlFile(long modifiedTime)
protected void loadImageMetaData()
protected void loadMetaDataFromImage()
protected void loadProjectionFile()
protected long loadSettings()
protected void loadWorldFile()
protected void loadWorldFile(org.springframework.core.io.Resource worldFile)
protected void loadWorldFileX()
protected void postConstruct()
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpublic boolean saveChanges()
saveChanges in interface GeoReferencedImagepublic void setBoundingBox(BoundingBox boundingBox)
setBoundingBox in interface GeoReferencedImagepublic void setBoundingBox(double minX,
double maxY,
double pixelWidth,
double pixelHeight)
setBoundingBox in interface GeoReferencedImagepublic void setDpi(int... dpi)
setDpi in interface GeoReferencedImagepublic void setGeometryFactory(GeometryFactory geometryFactory)
protected void setHasChanges(boolean hasChanges)
protected void setImageHeight(int imageHeight)
protected void setImageResource(org.springframework.core.io.Resource imageResource)
protected void setImageWidth(int imageWidth)
public void setRenderedImage(RenderedImage renderedImage)
setRenderedImage in interface GeoReferencedImageprotected void setResolution(double resolution)
public void setTiePoints(List<MappedLocation> tiePoints)
setTiePoints in interface GeoReferencedImagepublic Map<String,Object> toMap()
MapSerializerConvert the object to a Map of property name, value pairs. The values can be one of the following supported types. Other values should be converted to one of these values.
toMap in interface MapSerializerCopyright © 2015 Revolution Systems Inc.. All rights reserved.