A dialog used to execute image contrast enhencement.
More...
#include <ContrastDialog.h>
A dialog used to execute image contrast enhencement.
Definition at line 62 of file ContrastDialog.h.
te::qt::widgets::ContrastDialog::ContrastDialog |
( |
te::rst::Raster const * |
inputRasterPtr, |
|
|
const std::string & |
outpuRasterDSType, |
|
|
const std::map< std::string, std::string > & |
outpuRasterInfo, |
|
|
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructs a basic dialog which is a child of parent, with widget flags set to f.
- Parameters
-
inputRasterPtr | Input raster pointer. |
outpuRasterDSType | Output raster data source type (as described in te::raster::RasterFactory ). |
outpuRasterInfo | The necessary information to create the raster (as described in te::raster::RasterFactory). |
parent | Parent widget pointer. |
f | Widget flags. |
te::qt::widgets::ContrastDialog::ContrastDialog |
( |
te::rst::Raster const * |
rasterPtr, |
|
|
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructs a basic dialog which is a child of parent, with widget flags set to f.
- Parameters
-
rasterPtr | Raster pointer (this is both input and output raster, the result be written to this raster). |
parent | Parent widget pointer. |
f | Widget flags. |
te::qt::widgets::ContrastDialog::~ContrastDialog |
( |
| ) |
|
bool te::qt::widgets::ContrastDialog::getOutputRaster |
( |
boost::shared_ptr< te::rst::Raster > & |
outputRasterPtr | ) |
|
Returns the output result raster.
- Parameters
-
outputRasterPtr | A pointer to the output result raster |
- Returns
- true if OK, false on errors.
void te::qt::widgets::ContrastDialog::on_okPushButton_clicked |
( |
| ) |
|
|
protectedslot |
std::string te::qt::widgets::ContrastDialog::m_outpuRasterDSType |
|
private |
true if the output raster is the input raster.
Definition at line 118 of file ContrastDialog.h.
std::map< std::string, std::string > te::qt::widgets::ContrastDialog::m_outpuRasterInfo |
|
private |
Output raster data source type (as described in te::raster::RasterFactory ).
Definition at line 119 of file ContrastDialog.h.
bool te::qt::widgets::ContrastDialog::m_outputRasterIsInputRaster |
|
private |
boost::shared_ptr< te::rst::Raster > te::qt::widgets::ContrastDialog::m_outputRasterPtr |
|
private |
The necessary information to create the raster (as described in te::raster::RasterFactory).
Definition at line 120 of file ContrastDialog.h.
Ui::ContrastForm* te::qt::widgets::ContrastDialog::m_uiPtr |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/qt/widgets/rp/ContrastDialog.h