A singleton for keeping raster summaries (most statistics). It stores an internal map of raster conn info str and their respective summaries.
More...
#include <RasterSummaryManager.h>
A singleton for keeping raster summaries (most statistics). It stores an internal map of raster conn info str and their respective summaries.
- See also
- RasterSummary, BandSummary.
Definition at line 56 of file RasterSummaryManager.h.
te::rst::RasterSummaryManager::~RasterSummaryManager |
( |
| ) |
|
te::rst::RasterSummaryManager::RasterSummaryManager |
( |
| ) |
|
|
protected |
Adds a new entry in the summary manager.
- Parameters
-
raster | The raster to be added. |
summary | The raster summary of the respective raster. The manager will take its ownership. |
- Note
- If the raster was already added, the summary will be replaced.
It searches for a raster summary.
- Parameters
-
raster | The raster to be found. |
- Returns
- The calculated raster summary, or a null summary otherwise.
It searches for a raster summary. If not found it creates the summary and returns it.
- Parameters
-
raster | The raster to be found. |
types | The desired types of summary to be calculated (min, max, ...). |
readall | Force the reading the entire image (can be slow) for computing min and max values. |
- Returns
- The calculated raster summary.
It returns a reference to the singleton instance.
- Returns
- A reference to the singleton instance.
void te::rst::RasterSummaryManager::remove |
( |
const Raster * |
raster | ) |
|
Removes the summary from the specified raster.
- Parameters
-
raster | The raster to remove the summary. |
std::map<std::string, RasterSummary*> te::rst::RasterSummaryManager::m_rasterSummaries |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/raster/RasterSummaryManager.h