Uses of Interface
com.bc.ceres.core.ProgressMonitor
-
Packages that use ProgressMonitor Package Description com.bc.ceres.core Provides low-level application classes for service registration, progress monitoring and assertions.com.bc.ceres.core.runtime Provides the module runtime framework.com.bc.ceres.swing.progress Provides UI-support classes for progress monitoring.com.bc.ceres.swing.update Provides a complete Ceres Module Manager UI to Swing applications.org.esa.snap.core.dataio Contains the SNAP product I/O framework.org.esa.snap.core.dataio.dimap This module provides a product reader and writer plug-in for the BEAM-DIMAP product format.org.esa.snap.core.dataio.geometry org.esa.snap.core.dataio.placemark org.esa.snap.core.dataio.rgb org.esa.snap.core.datamodel Contains SNAP's central classes and interfaces used for an in-memory presentation of remote sensing data products.org.esa.snap.core.datamodel.quicklooks org.esa.snap.core.dataop.barithm org.esa.snap.core.dataop.downloadable org.esa.snap.core.gpf SNAP's Graph Processing Framework GPF used for developing and executing raster data operators and graphs of such operators.org.esa.snap.core.gpf.common org.esa.snap.core.gpf.descriptor.dependency org.esa.snap.core.gpf.graph org.esa.snap.core.gpf.operators.tooladapter org.esa.snap.core.gpf.pointop Provides special support for raster data operations that transforms each source pixel into a corresponding target pixel at the same position.org.esa.snap.core.image Provides frequently used JAIOpImage
implementations and theImageManager
utility class.org.esa.snap.core.util Provides several utility classes used throughout SNAP.org.esa.snap.core.util.kmz org.esa.snap.core.util.math Provides utility classes for mathematical operations. -
-
Uses of ProgressMonitor in com.bc.ceres.core
Classes in com.bc.ceres.core that implement ProgressMonitor Modifier and Type Class Description class
NullProgressMonitor
A default progress monitor implementation suitable for subclassing.class
PrintWriterConciseProgressMonitor
A progress monitor which prints progress using aPrintWriter
.class
PrintWriterProgressMonitor
A progress monitor which prints progress using aPrintWriter
.class
ProgressMonitorWrapper
An abstract wrapper around a progress monitor which, unless overridden, forwardsIProgressMonitor
andIProgressMonitorWithBlocking
methods to the wrapped progress monitor.class
SubProgressMonitor
A progress monitor that uses a given amount of work ticks from a parent monitor.Fields in com.bc.ceres.core declared as ProgressMonitor Modifier and Type Field Description static ProgressMonitor
ProgressMonitor. NULL
Methods in com.bc.ceres.core that return ProgressMonitor Modifier and Type Method Description static ProgressMonitor
SubProgressMonitor. create(ProgressMonitor monitor, int ticks)
Creates a progress monitor based on the passed in parent monitor.static ProgressMonitor
SubProgressMonitor. createSynchronized(ProgressMonitor monitor, int ticks)
Creates a progress monitor based on the passed in parent monitor.If the parent monitor isNULL
,monitor
is returned, otherwise a newSubProgressMonitor
is created.ProgressMonitor
ProcessObserver. getProgressMonitor()
ProgressMonitor
ProgressMonitorWrapper. getWrappedProgressMonitor()
Returns the wrapped progress monitor.Methods in com.bc.ceres.core with parameters of type ProgressMonitor Modifier and Type Method Description static ProgressMonitor
SubProgressMonitor. create(ProgressMonitor monitor, int ticks)
Creates a progress monitor based on the passed in parent monitor.static ProgressMonitor
SubProgressMonitor. createSynchronized(ProgressMonitor monitor, int ticks)
Creates a progress monitor based on the passed in parent monitor.If the parent monitor isNULL
,monitor
is returned, otherwise a newSubProgressMonitor
is created.void
ProcessObserver.DefaultHandler. onObservationEnded(ProcessObserver.ObservedProcess process, Integer exitCode, ProgressMonitor pm)
void
ProcessObserver.Handler. onObservationEnded(ProcessObserver.ObservedProcess process, Integer exitCode, ProgressMonitor pm)
Called if the process is no longer being observed.void
ProcessObserver.DefaultHandler. onObservationStarted(ProcessObserver.ObservedProcess process, ProgressMonitor pm)
void
ProcessObserver.Handler. onObservationStarted(ProcessObserver.ObservedProcess process, ProgressMonitor pm)
Called if the process is started being observed.void
ProcessObserver.DefaultHandler. onStderrLineReceived(ProcessObserver.ObservedProcess process, String line, ProgressMonitor pm)
void
ProcessObserver.Handler. onStderrLineReceived(ProcessObserver.ObservedProcess process, String line, ProgressMonitor pm)
Called if a new text line that has been received fromstderr
.void
ProcessObserver.DefaultHandler. onStdoutLineReceived(ProcessObserver.ObservedProcess process, String line, ProgressMonitor pm)
void
ProcessObserver.Handler. onStdoutLineReceived(ProcessObserver.ObservedProcess process, String line, ProgressMonitor pm)
Called if a new text line that has been received fromstdout
.ProcessObserver
ProcessObserver. setProgressMonitor(ProgressMonitor progressMonitor)
Default does nothing.Constructors in com.bc.ceres.core with parameters of type ProgressMonitor Constructor Description ProgressMonitorWrapper(ProgressMonitor monitor)
Creates a new wrapper around the given monitor.SubProgressMonitor(ProgressMonitor monitor, int ticks)
Creates a new sub-progress monitor for the given monitor.SubProgressMonitor(ProgressMonitor monitor, int ticks, int style)
Creates a new sub-progress monitor for the given monitor. -
Uses of ProgressMonitor in com.bc.ceres.core.runtime
Methods in com.bc.ceres.core.runtime that return ProgressMonitor Modifier and Type Method Description static ProgressMonitor
RuntimeFactory. createProgressMonitor(RuntimeConfig config)
Creates a default progress monitor for the runtime.Methods in com.bc.ceres.core.runtime with parameters of type ProgressMonitor Modifier and Type Method Description static ModuleRuntime
RuntimeFactory. createRuntime(RuntimeConfig config, String[] commandLineArgs, ProgressMonitor progressMonitor)
Creates a new module runtime with a client supplied progress monitor.Module
ModuleContext. installModule(URL url, ProxyConfig proxyConfig, ProgressMonitor pm)
Installs the module from the given URL.void
RuntimeRunnable. run(Object argument, ProgressMonitor pm)
Executes client code.void
Module. uninstall(ProgressMonitor pm)
Uninstalls this module from its runtime. -
Uses of ProgressMonitor in com.bc.ceres.swing.progress
Classes in com.bc.ceres.swing.progress that implement ProgressMonitor Modifier and Type Class Description class
DialogProgressMonitor
AProgressMonitor
which uses a Swing'sProgressMonitor
to display progress.class
ProgressBarProgressMonitor
AProgressMonitor
which uses a Swing'sProgressMonitor
to display progress.Methods in com.bc.ceres.swing.progress with parameters of type ProgressMonitor Modifier and Type Method Description protected abstract T
ProgressMonitorSwingWorker. doInBackground(ProgressMonitor pm)
Computes a result, or throws an exception if unable to do so. -
Uses of ProgressMonitor in com.bc.ceres.swing.update
Methods in com.bc.ceres.swing.update with parameters of type ProgressMonitor Modifier and Type Method Description Module[]
DefaultModuleManager. getRepositoryModules(ProgressMonitor pm)
Module[]
ModuleManager. getRepositoryModules(ProgressMonitor pm)
Retrieves the list ofmodules
on the repository.Module
DefaultModuleManager. installModule(Module newModule, ProgressMonitor pm)
Module
ModuleManager. installModule(Module newModule, ProgressMonitor pm)
Performs an installation of a new module.void
ModuleManagerMain. run(Object argument, ProgressMonitor pm)
Executes client code.void
DefaultModuleManager. synchronizeWithRepository(ProgressMonitor pm)
void
ModuleManager. synchronizeWithRepository(ProgressMonitor pm)
Synchronizes the this module manager with the specified repository.void
DefaultModuleManager. uninstallModule(Module oldModule, ProgressMonitor pm)
void
ModuleManager. uninstallModule(Module oldModule, ProgressMonitor pm)
* Performs an uninstallation of an existing module.Module
DefaultModuleManager. updateModule(Module oldModule, Module newModule, ProgressMonitor pm)
Module
ModuleManager. updateModule(Module oldModule, Module newModule, ProgressMonitor pm)
Performs an update to a higher version of an existing module. -
Uses of ProgressMonitor in org.esa.snap.core.dataio
Methods in org.esa.snap.core.dataio with parameters of type ProgressMonitor Modifier and Type Method Description void
AbstractProductReader. readBandRasterData(Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
Reads raster data from the data source specified by the given destination band into the given in-memory buffer and region.void
ProductFlipper. readBandRasterData(Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
Reads raster data from the data source specified by the given destination band into the given in-memory buffer and region.void
ProductReader. readBandRasterData(Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
Reads raster data from the data source specified by the given destination band into the given in-memory buffer and region.protected abstract void
AbstractProductReader. readBandRasterDataImpl(int sourceOffsetX, int sourceOffsetY, int sourceWidth, int sourceHeight, int sourceStepX, int sourceStepY, Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
The template method which is called by the method after an optional spatial subset has been applied to the input parameters.protected void
ProductFlipper. readBandRasterDataImpl(int sourceOffsetX, int sourceOffsetY, int sourceWidth, int sourceHeight, int sourceStepX, int sourceStepY, Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
The template method which is called by thereadBandRasterDataSubSampling
method after an optional spatial subset has been applied to the input parameters.protected void
ProductSubsetBuilder. readBandRasterDataImpl(int sourceOffsetX, int sourceOffsetY, int sourceWidth, int sourceHeight, int sourceStepX, int sourceStepY, Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
The template method which is called by thereadBandRasterDataSubSampling
method after an optional spatial subset has been applied to the input parameters.default void
ProductReader. readTiePointGridRasterData(TiePointGrid tpg, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
void
ProductWriter. writeBandRasterData(Band sourceBand, int sourceOffsetX, int sourceOffsetY, int sourceWidth, int sourceHeight, ProductData sourceBuffer, ProgressMonitor pm)
Writes raster data from the given in-memory source buffer into the data sink specified by the given source band and region.static void
ProductIO. writeProduct(Product product, File file, String formatName, boolean incremental, ProgressMonitor pm)
Writes a product with the specified format to the given file.static void
ProductIO. writeProduct(Product product, String filePath, String formatName, ProgressMonitor pm)
Writes a product with the specified format to the given file path. -
Uses of ProgressMonitor in org.esa.snap.core.dataio.dimap
Methods in org.esa.snap.core.dataio.dimap with parameters of type ProgressMonitor Modifier and Type Method Description protected void
DimapProductReader. readBandRasterDataImpl(int sourceOffsetX, int sourceOffsetY, int sourceWidth, int sourceHeight, int sourceStepX, int sourceStepY, Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
The template method which is called by the } method after an optional spatial subset has been applied to the input parameters.void
DimapProductReader. readTiePointGridRasterData(TiePointGrid tpg, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
void
DimapProductWriter. writeBandRasterData(Band sourceBand, int sourceOffsetX, int sourceOffsetY, int sourceWidth, int sourceHeight, ProductData sourceBuffer, ProgressMonitor pm)
Writes raster data from the given in-memory source buffer into the data sink specified by the given source band and region. -
Uses of ProgressMonitor in org.esa.snap.core.dataio.geometry
Methods in org.esa.snap.core.dataio.geometry with parameters of type ProgressMonitor Modifier and Type Method Description static VectorDataNode
VectorDataNodeReader. read(String sourceName, Reader reader, Product product, FeatureUtils.FeatureCrsProvider crsProvider, VectorDataNodeReader.PlacemarkDescriptorProvider placemarkDescriptorProvider, org.opengis.referencing.crs.CoordinateReferenceSystem modelCrs, char delimiterChar, boolean convertToVertices, ProgressMonitor pm)
Reads aVectorDataNode
from the given input.static VectorDataNode
VectorDataNodeReader. read(String sourceName, Reader reader, Product product, FeatureUtils.FeatureCrsProvider crsProvider, VectorDataNodeReader.PlacemarkDescriptorProvider placemarkDescriptorProvider, org.opengis.referencing.crs.CoordinateReferenceSystem modelCrs, char delimiterChar, ProgressMonitor pm)
Reads aVectorDataNode
from the given input. -
Uses of ProgressMonitor in org.esa.snap.core.dataio.placemark
Methods in org.esa.snap.core.dataio.placemark with parameters of type ProgressMonitor Modifier and Type Method Description static void
PlacemarkIO. writePlacemarkKmzFile(OutputStream os, List<PlacemarkData> placemarks, ProgressMonitor pm)
-
Uses of ProgressMonitor in org.esa.snap.core.dataio.rgb
Methods in org.esa.snap.core.dataio.rgb with parameters of type ProgressMonitor Modifier and Type Method Description protected void
ImageProductReader. readBandRasterDataImpl(int sourceOffsetX, int sourceOffsetY, int sourceWidth, int sourceHeight, int sourceStepX, int sourceStepY, Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, ProgressMonitor pm)
-
Uses of ProgressMonitor in org.esa.snap.core.datamodel
Methods in org.esa.snap.core.datamodel with parameters of type ProgressMonitor Modifier and Type Method Description static void
DensityPlot. accumulate(RasterDataNode raster1, double sampleMin1, double sampleMax1, RasterDataNode raster2, double sampleMin2, double sampleMax2, Mask roiMask, int width, int height, byte[] pixelValues, ProgressMonitor pm)
Creates the data for a density plot image from two raster data nodes.static void
StxFactory. accumulate(RasterDataNode rasterDataNode, int level, RenderedImage roiImage, Shape roiShape, org.esa.snap.core.datamodel.StxOp op, ProgressMonitor pm)
protected Stx
Band. computeStxImpl(int level, ProgressMonitor pm)
protected Stx
RasterDataNode. computeStxImpl(int level, ProgressMonitor pm)
Computes the statistics.Stx
StxFactory. create(Mask[] roiMasks, RasterDataNode[] rasters, ProgressMonitor pm)
Computes statistics for the given set of raster data nodes.Stx
StxFactory. create(RasterDataNode raster, ProgressMonitor pm)
Computes statistics for the given raster data node.BufferedImage
RasterDataNode. createColorIndexedImage(ProgressMonitor pm)
Creates an image for this raster data node.ImageInfo
Band. createDefaultImageInfo(double[] histoSkipAreas, ProgressMonitor pm)
ImageInfo
RasterDataNode. createDefaultImageInfo(double[] histoSkipAreas, ProgressMonitor pm)
Creates a default image information instance.BufferedImage
RasterDataNode. createRgbImage(ProgressMonitor pm)
Creates an RGB image for this raster data node.ImageInfo
RasterDataNode. getImageInfo(double[] histoSkipAreas, ProgressMonitor pm)
Gets the image creation information.ImageInfo
RasterDataNode. getImageInfo(ProgressMonitor pm)
Returns the image information for this raster data node.double[]
AbstractBand. getPixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as double array.float[]
AbstractBand. getPixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as float array.int[]
AbstractBand. getPixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as integer array.abstract double[]
RasterDataNode. getPixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as double array.abstract float[]
RasterDataNode. getPixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as float array.abstract int[]
RasterDataNode. getPixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as integer array.double[]
TiePointGrid. getPixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves an array of tie point data interpolated to the product width and height as float array.float[]
TiePointGrid. getPixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves an array of tie point data interpolated to the product with and height as double array.int[]
TiePointGrid. getPixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves an array of tie point data interpolated to the product with and height as integer array.Stx
RasterDataNode. getStx(boolean accurate, ProgressMonitor pm)
Gets the statistics.void
AbstractBand. loadRasterData(ProgressMonitor pm)
Loads the complete underlying raster data.void
RasterDataNode. loadRasterData(ProgressMonitor pm)
Loads the raster data for thisRasterDataNode
.void
RasterDataNode. processRasterData(String message, RasterDataNode.RasterDataProcessor processor, ProgressMonitor pm)
Processes the raster's data.void
RasterDataNode.RasterDataProcessor. processRasterDataBuffer(ProductData buffer, int y0, int numLines, ProgressMonitor pm)
Processes some input raster lines.void
RasterDataNode. quantizeRasterData(double newMin, double newMax, double gamma, byte[] samples, int offset, int stride, ProgressMonitor pm)
byte[]
RasterDataNode. quantizeRasterData(double newMin, double newMax, double gamma, ProgressMonitor pm)
double[]
AbstractBand. readPixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves the band data at the given offset (x, y), width and height as double data.float[]
AbstractBand. readPixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves the band data at the given offset (x, y), width and height as float data.int[]
AbstractBand. readPixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves the band data at the given offset (x, y), width and height as integer data.abstract double[]
RasterDataNode. readPixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves the band data at the given offset (x, y), width and height as int data.abstract float[]
RasterDataNode. readPixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves the band data at the given offset (x, y), width and height as int data.abstract int[]
RasterDataNode. readPixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves the band data at the given offset (x, y), width and height as int data.double[]
TiePointGrid. readPixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves an array of tie point data interpolated to the product with and height as double array.float[]
TiePointGrid. readPixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves an array of tie point data interpolated to the product with and height as float array.int[]
TiePointGrid. readPixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves an array of tie point data interpolated to the product with and height as float array.void
Band. readRasterData(int offsetX, int offsetY, int width, int height, ProductData rasterData, ProgressMonitor pm)
Reads raster data from its associated data source into the given data buffer.abstract void
RasterDataNode. readRasterData(int offsetX, int offsetY, int width, int height, ProductData rasterData, ProgressMonitor pm)
The method behaves exactly asRasterDataNode.readRasterData(int, int, int, int, ProductData)
, but clients can additionally pass aProgressMonitor
.void
TiePointGrid. readRasterData(int offsetX, int offsetY, int width, int height, ProductData rasterData, ProgressMonitor pm)
Reads raster data from this dataset into the user-supplied raster data buffer.void
Band. readRasterDataFully(ProgressMonitor pm)
Reads the complete underlying raster data.abstract void
RasterDataNode. readRasterDataFully(ProgressMonitor pm)
Reads the complete underlying raster data.void
TiePointGrid. readRasterDataFully(ProgressMonitor pm)
Reads the complete underlying raster data.void
AbstractBand. writePixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as double array.void
AbstractBand. writePixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as float array.void
AbstractBand. writePixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as integer array.abstract void
RasterDataNode. writePixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Writes the range of given pixels specified to the specified coordinates as doubles.abstract void
RasterDataNode. writePixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Writes the range of given pixels specified to the specified coordinates as floats.abstract void
RasterDataNode. writePixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Writes the range of given pixels specified to the specified coordinates as integers.void
TiePointGrid. writePixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
This method is not implemented because pixels are read-only in tie-point grids.void
TiePointGrid. writePixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
This method is not implemented because pixels are read-only in tie-point grids.void
TiePointGrid. writePixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
This method is not implemented because pixels are read-only in tie-point grids.void
VirtualBand. writePixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as double array.void
VirtualBand. writePixels(int x, int y, int w, int h, float[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as float array.void
VirtualBand. writePixels(int x, int y, int w, int h, int[] pixels, ProgressMonitor pm)
Retrieves the range of pixels specified by the coordinates as integer array.void
Band. writeRasterData(int offsetX, int offsetY, int width, int height, ProductData rasterData, ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.void
FilterBand. writeRasterData(int offsetX, int offsetY, int width, int height, ProductData rasterData, ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.abstract void
RasterDataNode. writeRasterData(int offsetX, int offsetY, int width, int height, ProductData rasterData, ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.void
TiePointGrid. writeRasterData(int offsetX, int offsetY, int width, int height, ProductData rasterData, ProgressMonitor pm)
Writes data from this product raster into the specified region of the user-supplied raster.void
Band. writeRasterDataFully(ProgressMonitor pm)
Writes the complete underlying raster data.abstract void
RasterDataNode. writeRasterDataFully(ProgressMonitor pm)
Writes the complete underlying raster data.void
TiePointGrid. writeRasterDataFully(ProgressMonitor pm)
Writes the complete underlying raster data. -
Uses of ProgressMonitor in org.esa.snap.core.datamodel.quicklooks
Methods in org.esa.snap.core.datamodel.quicklooks with parameters of type ProgressMonitor Modifier and Type Method Description BufferedImage
QuicklookGenerator. createQuickLookImage(Product product, Band[] quicklookBands, ProgressMonitor pm)
BufferedImage
Quicklook. getImage(ProgressMonitor pm)
BufferedImage
Thumbnail. getImage(ProgressMonitor pm)
-
Uses of ProgressMonitor in org.esa.snap.core.dataop.barithm
Constructors in org.esa.snap.core.dataop.barithm with parameters of type ProgressMonitor Constructor Description RasterDataLoop(int offsetX, int offsetY, int regionWidth, int regionHeight, Term[] terms, ProgressMonitor pm)
Creates an instance of this class for the given region and terms.RasterDataLoop(RasterDataEvalEnv rasterDataEvalEnv, Term[] terms, ProgressMonitor pm)
Creates an instance of this class for the given region and terms. -
Uses of ProgressMonitor in org.esa.snap.core.dataop.downloadable
Classes in org.esa.snap.core.dataop.downloadable that implement ProgressMonitor Modifier and Type Class Description class
StatusProgressMonitor
status bar Progress monitor This is used for showing progress on sub threads within an operator execution -
Uses of ProgressMonitor in org.esa.snap.core.gpf
Methods in org.esa.snap.core.gpf with parameters of type ProgressMonitor Modifier and Type Method Description void
Operator. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
Called by the framework in order to compute a tile for the given target band.void
Operator. computeTileStack(Map<Band,Tile> targetTiles, Rectangle targetRectangle, ProgressMonitor pm)
Called by the framework in order to compute the stack of tiles for the given target bands.void
Operator. doExecute(ProgressMonitor pm)
Executes the operator.void
Operator. execute(ProgressMonitor pm)
Executes the operator.static void
GPF. writeProduct(Product product, File file, String formatName, boolean clearCacheAfterRowWrite, boolean incremental, ProgressMonitor pm)
Writes a product with the specified format to the given file.static void
GPF. writeProduct(Product product, File file, String formatName, boolean incremental, ProgressMonitor pm)
Writes a product with the specified format to the given file. -
Uses of ProgressMonitor in org.esa.snap.core.gpf.common
Methods in org.esa.snap.core.gpf.common with parameters of type ProgressMonitor Modifier and Type Method Description void
BandMathsOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
JaiOp. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
void
MergeOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
ReadOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
SubsetOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
WriteOp. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
void
WriteRGBOp. computeTile(Band band, Tile targetTile, ProgressMonitor pm)
void
WriteOp. computeTileStack(Map<Band,Tile> targetTiles, Rectangle targetRectangle, ProgressMonitor pm)
void
WriteOp. doExecute(ProgressMonitor pm)
void
WriteRGBOp. doExecute(ProgressMonitor pm)
void
WriteOp. writeProduct(ProgressMonitor pm)
Writes the source product. -
Uses of ProgressMonitor in org.esa.snap.core.gpf.descriptor.dependency
Methods in org.esa.snap.core.gpf.descriptor.dependency with parameters of type ProgressMonitor Modifier and Type Method Description void
BundleInstaller. setProgressMonitor(ProgressMonitor monitor)
Sets a progress monitor for this installer. -
Uses of ProgressMonitor in org.esa.snap.core.gpf.graph
Methods in org.esa.snap.core.gpf.graph with parameters of type ProgressMonitor Modifier and Type Method Description Product[]
GraphProcessor. executeGraph(GraphContext graphContext, ProgressMonitor pm)
Executes the graph given byGraphContext
.void
GraphProcessor. executeGraph(Graph graph, ProgressMonitor pm)
Executes the graph using a new defaultGraphContext
. -
Uses of ProgressMonitor in org.esa.snap.core.gpf.operators.tooladapter
Methods in org.esa.snap.core.gpf.operators.tooladapter with parameters of type ProgressMonitor Modifier and Type Method Description void
DefaultOutputConsumer. setProgressMonitor(ProgressMonitor monitor)
void
ToolAdapterOp. setProgressMonitor(ProgressMonitor monitor)
static void
ToolAdapterIO. unzip(Path sourceFile, Path destination, ProgressMonitor progressMonitor, int totalTasks)
Uncompress the source zip file into the destination path.Constructors in org.esa.snap.core.gpf.operators.tooladapter with parameters of type ProgressMonitor Constructor Description DefaultOutputConsumer(String progressPattern, ProgressMonitor pm)
DefaultOutputConsumer(String progressPattern, String errorPattern, ProgressMonitor pm)
DefaultOutputConsumer(String progressPattern, String errorPattern, String stepPattern, ProgressMonitor pm)
-
Uses of ProgressMonitor in org.esa.snap.core.gpf.pointop
Methods in org.esa.snap.core.gpf.pointop with parameters of type ProgressMonitor Modifier and Type Method Description void
SampleOperator. computeTile(Band targetBand, Tile targetTile, ProgressMonitor pm)
Overridden to call thecomputeSample
method for every pixel in the given tile's rectangle.void
PixelOperator. computeTileStack(Map<Band,Tile> targetTileStack, Rectangle targetRectangle, ProgressMonitor pm)
-
Uses of ProgressMonitor in org.esa.snap.core.image
Methods in org.esa.snap.core.image with parameters of type ProgressMonitor Modifier and Type Method Description static ColoredBandImageMultiLevelSource
ColoredBandImageMultiLevelSource. create(RasterDataNode[] rasterDataNodes, ProgressMonitor pm)
static ColoredBandImageMultiLevelSource
ColoredBandImageMultiLevelSource. create(RasterDataNode[] rasterDataNodes, MultiLevelModel model, ProgressMonitor pm)
static ColoredBandImageMultiLevelSource
ColoredBandImageMultiLevelSource. create(RasterDataNode rasterDataNode, ProgressMonitor pm)
void
ImageManager. prepareImageInfos(RasterDataNode[] rasterDataNodes, ProgressMonitor pm)
-
Uses of ProgressMonitor in org.esa.snap.core.util
Methods in org.esa.snap.core.util with parameters of type ProgressMonitor Modifier and Type Method Description static org.geotools.feature.DefaultFeatureCollection
FeatureUtils. clipCollection(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> sourceCollection, org.opengis.referencing.crs.CoordinateReferenceSystem defaultSourceCrs, org.locationtech.jts.geom.Geometry clipGeometry, org.opengis.referencing.crs.CoordinateReferenceSystem clipCrs, String targetID, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, ProgressMonitor pm)
Clips the givensourceCollection
against theclipGeometry
and reprojects the clipped features to the targetCrs.static org.geotools.feature.DefaultFeatureCollection
FeatureUtils. clipFeatureCollectionToProductBounds(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> featureCollection, Product product, FeatureUtils.FeatureCrsProvider crsProvider, ProgressMonitor pm)
static BufferedImage
ProductUtils. createColorIndexedImage(RasterDataNode rasterDataNode, ProgressMonitor pm)
Creates a greyscale image from the given{@link RasterDataNode}
.static BufferedImage
ProductUtils. createDensityPlotImage(RasterDataNode raster1, float sampleMin1, float sampleMax1, RasterDataNode raster2, float sampleMin2, float sampleMax2, Mask roiMask, int width, int height, Color background, BufferedImage image, ProgressMonitor pm)
Creates a density plot image from two raster data nodes.static ImageInfo
ProductUtils. createImageInfo(RasterDataNode[] rasters, boolean assignMissingImageInfos, ProgressMonitor pm)
Creates image creation information.static BufferedImage
ProductUtils. createRgbImage(RasterDataNode[] rasters, ImageInfo imageInfo, ProgressMonitor pm)
Creates a RGB image from the given array of{@link RasterDataNode}
s.void
ResourceInstaller. install(String patternString, ProgressMonitor pm)
Installs all resources found, matching the given pattern.static org.geotools.feature.DefaultFeatureCollection
FeatureUtils. loadShapefileForProduct(File file, Product product, FeatureUtils.FeatureCrsProvider crsProvider, ProgressMonitor pm)
static BufferedImage
ProductUtils. overlayMasks(RasterDataNode raster, BufferedImage overlayBIm, ProgressMonitor pm)
Draws all the masks contained overlay mask group of the given raster to the ovelayBIm image. -
Uses of ProgressMonitor in org.esa.snap.core.util.kmz
Methods in org.esa.snap.core.util.kmz with parameters of type ProgressMonitor Modifier and Type Method Description void
KmzExporter. export(KmlFeature kmlFeature, ZipOutputStream zipOutputStream, ProgressMonitor pm)
-
Uses of ProgressMonitor in org.esa.snap.core.util.math
Methods in org.esa.snap.core.util.math with parameters of type ProgressMonitor Modifier and Type Method Description void
Histogram. aggregate(Object values, boolean unsigned, IndexValidator validator, ProgressMonitor pm)
void
Range. aggregate(Object values, boolean unsigned, IndexValidator validator, ProgressMonitor pm)
static Histogram
Histogram. computeHistogramByte(byte[] values, IndexValidator validator, int numBins, Range range, Histogram histo, ProgressMonitor pm)
Computes the histogram for the values in the givenbyte
array in the given value range.static Histogram
Histogram. computeHistogramDouble(double[] values, IndexValidator validator, int numBins, Range range, Histogram histogram, ProgressMonitor pm)
Computes the histogram for the values in the givendouble
array in the given value range.static Histogram
Histogram. computeHistogramDouble(DoubleList values, IndexValidator validator, int numBins, Range range, Histogram histo, ProgressMonitor pm)
Computes the histogram for the values in the givenHistogram.DoubleList
in the given value range.static Histogram
Histogram. computeHistogramFloat(float[] values, IndexValidator validator, int numBins, Range range, Histogram histogram, ProgressMonitor pm)
Computes the histogram for the values in the givenfloat
array in the given value range.static Histogram
Histogram. computeHistogramGeneric(Object values, boolean unsigned, IndexValidator validator, int numBins, Range range, Histogram histogram, ProgressMonitor pm)
Computes the histogram for the values in the givenHistogram.DoubleList
in the given value range.static Histogram
Histogram. computeHistogramInt(int[] values, IndexValidator validator, int numBins, Range range, Histogram histogram, ProgressMonitor pm)
Computes the histogram for the values in the givenint
array in the given value range.static Histogram
Histogram. computeHistogramShort(short[] values, IndexValidator validator, int numBins, Range range, Histogram histo, ProgressMonitor pm)
Computes the histogram for the values in the givenshort
array in the given value range.static Histogram
Histogram. computeHistogramUByte(byte[] values, IndexValidator validator, int numBins, Range range, Histogram histo, ProgressMonitor pm)
Computes the histogram for the values in the givenbyte
array in the given value range.static Histogram
Histogram. computeHistogramUInt(int[] values, IndexValidator validator, int numBins, Range range, Histogram histogram, ProgressMonitor pm)
Computes the histogram for the values in the givenint
array in the given value range.static Histogram
Histogram. computeHistogramUShort(short[] values, IndexValidator validator, int numBins, Range range, Histogram histo, ProgressMonitor pm)
Computes the histogram for the values in the givenshort
array in the given value range.static Range
Range. computeRangeByte(byte[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenbyte
array.static Range
Range. computeRangeDouble(double[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givendouble
array.static Range
Range. computeRangeDouble(DoubleList values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenRange.DoubleList
.static Range
Range. computeRangeFloat(float[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenfloat
array.static Range
Range. computeRangeGeneric(Object values, boolean unsigned, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenObject
.static Range
Range. computeRangeInt(int[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenint
array.static Range
Range. computeRangeShort(short[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenshort
array.static Range
Range. computeRangeUByte(byte[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenbyte
array.static Range
Range. computeRangeUInt(int[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenint
array.static Range
Range. computeRangeUShort(short[] values, IndexValidator validator, Range range, ProgressMonitor pm)
Computes the value range for the values in the givenshort
array.static void
Quantizer. quantizeByte(byte[] srcValues, int srcMin, int srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeDouble(double[] srcValues, double srcMin, double srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeDouble(DoubleList srcValues, double srcMin, double srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeFloat(float[] srcValues, float srcMin, float srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeGeneric(Object srcValues, boolean srcUnsigned, double srcMin, double srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeInt(int[] srcValues, int srcMin, int srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeShort(short[] srcValues, int srcMin, int srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeUByte(byte[] srcValues, int srcMin, int srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeUInt(int[] srcValues, long srcMin, long srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
static void
Quantizer. quantizeUShort(short[] srcValues, int srcMin, int srcMax, byte[] dstValues, int dstPos, int dstStride, ProgressMonitor pm)
-