#include <RasterSlicingWizardPage.h>
Definition at line 63 of file RasterSlicingWizardPage.h.
◆ RasterSlicingWizardPage() [1/2]
te::qt::widgets::RasterSlicingWizardPage::RasterSlicingWizardPage |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~RasterSlicingWizardPage()
te::qt::widgets::RasterSlicingWizardPage::~RasterSlicingWizardPage |
( |
| ) |
|
◆ RasterSlicingWizardPage() [2/2]
◆ applyPreview()
void te::qt::widgets::RasterSlicingWizardPage::applyPreview |
( |
| ) |
|
This function applies preview of raster slicing result.
◆ clearCanvas()
void te::qt::widgets::RasterSlicingWizardPage::clearCanvas |
( |
| ) |
|
This function cleans the canvas.
◆ drawGeom()
void te::qt::widgets::RasterSlicingWizardPage::drawGeom |
( |
| ) |
|
This function draws geometry after the envelope was acquired.
◆ drawPreview()
void te::qt::widgets::RasterSlicingWizardPage::drawPreview |
( |
te::rst::Raster * |
raster | ) |
|
|
protected |
◆ getColorMap()
This function returns the Color Map generated by the user.
- Returns
- A color map representing the legend created by the user.
/note The caller will take ownership of the returned pointer
◆ getCurrentBand()
std::string te::qt::widgets::RasterSlicingWizardPage::getCurrentBand |
( |
| ) |
|
This function returns the band from the raster taht will be used.
- Returns
- A string that represents the band that will be used to slice the raster.
◆ getExtent()
const te::gm::Envelope & te::qt::widgets::RasterSlicingWizardPage::getExtent |
( |
| ) |
|
This function returns the envelope that can be used to trim the raster if the user requests it.
- Returns
- A reference to the Envelope that can be used to trim the raster if the user requests it.
◆ getIndexes()
void te::qt::widgets::RasterSlicingWizardPage::getIndexes |
( |
std::vector< double > & |
indexesVector | ) |
const |
Returns the output indexes values vector.
◆ getParameters()
void te::qt::widgets::RasterSlicingWizardPage::getParameters |
( |
unsigned int & |
inputRasterBand, |
|
|
bool & |
eqHistogram |
|
) |
| |
This function returns the parameters as configured by the user.
- Parameters
-
inputRasterBand | The band from the raster selected by the user. |
slicesNumber | The number of slices that will be used to generate the histogram. |
eqHistogram | A boolean that holds weather the histogram will be equalized or not. |
◆ getRasterFromROI()
void te::qt::widgets::RasterSlicingWizardPage::getRasterFromROI |
( |
| ) |
|
|
protected |
◆ getSRID()
int te::qt::widgets::RasterSlicingWizardPage::getSRID |
( |
| ) |
|
This function returns the srid of the display when the wizard was initiated.
- Returns
- The srid of the display when the wizard was initiated.
◆ isComplete()
bool te::qt::widgets::RasterSlicingWizardPage::isComplete |
( |
| ) |
const |
This function evaluates the page to confirm if the user has completed the minimum configuration required to slice the raster.
In order for this function to return true:
The color map taht will be used on the output layer can not be empty.
- Parameters
-
A | boolean that indicates if the page is complete. |
◆ onEnvelopeAcquired
void te::qt::widgets::RasterSlicingWizardPage::onEnvelopeAcquired |
( |
te::gm::Envelope |
env | ) |
|
|
protectedslot |
◆ onSliceBandComboBoxIndexCHanged
void te::qt::widgets::RasterSlicingWizardPage::onSliceBandComboBoxIndexCHanged |
( |
int |
index | ) |
|
|
protectedslot |
◆ operator=()
◆ setActionGroup()
void te::qt::widgets::RasterSlicingWizardPage::setActionGroup |
( |
QActionGroup * |
actionGroup | ) |
|
This function sets the QActionGroup.
- Parameters
-
◆ setExtent()
void te::qt::widgets::RasterSlicingWizardPage::setExtent |
( |
const te::gm::Envelope & |
extent | ) |
|
This function sets the envelope that will be used to trim tha raster if the user requests it.
- Parameters
-
extent | A reference to the envelope that can be used to trim tha raster. |
◆ setLayer()
This function sets the layer that contains the raster that will be sliced.
- Parameters
-
layer | The layer from which the raster will be obtained. |
◆ setMapDisplay()
This function sets the map display.
- Parameters
-
◆ setSRID()
void te::qt::widgets::RasterSlicingWizardPage::setSRID |
( |
int |
srid = 0 | ) |
|
This function sets the srid of the display when the wizard was initiated.
- Parameters
-
srid | The current srid of the display. |
◆ trimRaster()
bool te::qt::widgets::RasterSlicingWizardPage::trimRaster |
( |
| ) |
|
This function will check if the conditions required to trim the raster have been met.
In order for this function to return true:
The user must select the option to use the visible area; The extent must be valid; The extent must be within the raster;
- Returns
- A boolean that indicates if the raster can be trimmed.
◆ updateHistogram
void te::qt::widgets::RasterSlicingWizardPage::updateHistogram |
( |
| ) |
|
|
protectedslot |
◆ m_chartDisplay
◆ m_colorMapWidget
◆ m_extent
◆ m_geom
std::unique_ptr<te::gm::Geometry> te::qt::widgets::RasterSlicingWizardPage::m_geom |
|
protected |
◆ m_histogramChart
◆ m_mapDisplay
◆ m_raster
std::unique_ptr<te::rst::Raster> te::qt::widgets::RasterSlicingWizardPage::m_raster |
|
protected |
◆ m_rasterLayer
◆ m_rasterPreview
std::unique_ptr<te::rst::Raster> te::qt::widgets::RasterSlicingWizardPage::m_rasterPreview |
|
protected |
◆ m_srid
int te::qt::widgets::RasterSlicingWizardPage::m_srid |
|
private |
◆ m_tool
◆ m_ui
std::unique_ptr<Ui::RasterSlicingWizardPageForm> te::qt::widgets::RasterSlicingWizardPage::m_ui |
|
protected |
The documentation for this class was generated from the following file: