#include <RasterSlicingWizardPage.h>
Definition at line 58 of file RasterSlicingWizardPage.h.
te::qt::widgets::RasterSlicingWizardPage::RasterSlicingWizardPage |
( |
QWidget * |
parent = 0 | ) |
|
te::qt::widgets::RasterSlicingWizardPage::~RasterSlicingWizardPage |
( |
| ) |
|
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
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.
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.
void te::qt::widgets::RasterSlicingWizardPage::getParameters |
( |
unsigned int & |
inputRasterBand, |
|
|
unsigned int & |
slicesNumber, |
|
|
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. |
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.
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. |
void te::qt::widgets::RasterSlicingWizardPage::onSliceBandComboBoxIndexCHanged |
( |
int |
index | ) |
|
|
protectedslot |
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. |
This function sets the layer that contains the raster that will be sliced.
- Parameters
-
layer | The layer from which the raster will be obtained. |
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. |
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.
void te::qt::widgets::RasterSlicingWizardPage::updateHistogram |
( |
| ) |
|
|
protectedslot |
std::auto_ptr<te::rst::Raster> te::qt::widgets::RasterSlicingWizardPage::m_raster |
|
protected |
int te::qt::widgets::RasterSlicingWizardPage::m_srid |
|
private |
std::auto_ptr<Ui::RasterSlicingWizardPageForm> te::qt::widgets::RasterSlicingWizardPage::m_ui |
|
protected |
The documentation for this class was generated from the following file: