Contrast output parameters. More...
#include <Contrast.h>
Public Member Functions | |
AbstractParameters * | clone () const |
Create a clone copy of this instance. More... | |
const OutputParameters & | operator= (const OutputParameters ¶ms) |
OutputParameters () | |
OutputParameters (const OutputParameters &) | |
void | reset () throw ( te::rp::Exception ) |
Clear all internal allocated resources and reset the parameters instance to its initial state. More... | |
~OutputParameters () | |
Public Attributes | |
std::string | m_createdOutRasterDSType |
Output raster data source type (as described in te::raster::RasterFactory ), leave empty if the result must be written to the raster pointed m_outRasterPtr. More... | |
std::map< std::string, std::string > | m_createdOutRasterInfo |
The necessary information to create the raster (as described in te::raster::RasterFactory), leave empty if the result must be written to the raster pointed m_outRasterPtr. More... | |
std::auto_ptr< te::rst::Raster > | m_createdOutRasterPtr |
A pointer to the created output raster instance, or an empty pointer empty if the result must be written to the raster pointed m_outRasterPtr. More... | |
std::vector< unsigned int > | m_outRasterBands |
Bands to be processed from the output raster. More... | |
te::rst::Raster * | m_outRasterPtr |
A pointer to a valid initiated raster instance where the result must be written, leave NULL to create a new instance(in this case the other output parameters must be used). More... | |
Contrast output parameters.
The result will be written to the raster instance pointed by m_outRasterPtr (in this case the output bands must also be passed by m_outRasterBands ); or written to a new raster instance created inside the given data source pointed by m_outDataSourcePtr (in this case the data set name must be supplied - m_outDataSetName ).
Definition at line 184 of file Contrast.h.
te::rp::Contrast::OutputParameters::OutputParameters | ( | ) |
Definition at line 126 of file Contrast.cpp.
References te::rp::Contrast::reset().
te::rp::Contrast::OutputParameters::OutputParameters | ( | const OutputParameters & | other | ) |
Definition at line 131 of file Contrast.cpp.
References te::rp::Algorithm::operator=(), and te::rp::Contrast::reset().
te::rp::Contrast::OutputParameters::~OutputParameters | ( | ) |
Definition at line 137 of file Contrast.cpp.
References te::rp::Contrast::reset().
|
virtual |
Create a clone copy of this instance.
Implements te::common::AbstractParameters.
Definition at line 164 of file Contrast.cpp.
const Contrast::OutputParameters & te::rp::Contrast::OutputParameters::operator= | ( | const OutputParameters & | params | ) |
Definition at line 151 of file Contrast.cpp.
References m_createdOutRasterDSType, m_createdOutRasterInfo, m_outRasterBands, m_outRasterPtr, and te::rp::Contrast::reset().
|
virtual |
Clear all internal allocated resources and reset the parameters instance to its initial state.
Implements te::common::AbstractParameters.
Definition at line 142 of file Contrast.cpp.
Referenced by te::qt::widgets::ContrastWizard::execute().
std::string te::rp::Contrast::OutputParameters::m_createdOutRasterDSType |
Output raster data source type (as described in te::raster::RasterFactory ), leave empty if the result must be written to the raster pointed m_outRasterPtr.
Definition at line 194 of file Contrast.h.
Referenced by te::qt::widgets::ContrastWizardPage::apply(), te::qt::widgets::ContrastWizard::execute(), te::rp::Contrast::execute(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), and operator=().
std::map< std::string, std::string > te::rp::Contrast::OutputParameters::m_createdOutRasterInfo |
The necessary information to create the raster (as described in te::raster::RasterFactory), leave empty if the result must be written to the raster pointed m_outRasterPtr.
Definition at line 196 of file Contrast.h.
Referenced by te::qt::widgets::ContrastWizardPage::apply(), te::qt::widgets::ContrastWizard::execute(), te::rp::Contrast::execute(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), and operator=().
std::auto_ptr< te::rst::Raster > te::rp::Contrast::OutputParameters::m_createdOutRasterPtr |
A pointer to the created output raster instance, or an empty pointer empty if the result must be written to the raster pointed m_outRasterPtr.
Definition at line 190 of file Contrast.h.
Referenced by te::qt::widgets::ContrastWizardPage::apply(), te::rp::Contrast::execute(), and te::qt::widgets::ContrastDialog::on_okPushButton_clicked().
std::vector< unsigned int > te::rp::Contrast::OutputParameters::m_outRasterBands |
Bands to be processed from the output raster.
Definition at line 192 of file Contrast.h.
Referenced by te::rp::Contrast::execDecorrelationEnhancement(), te::rp::Contrast::execHistogramEqualizationContrast(), te::rp::Contrast::execLinearContrast(), te::rp::Contrast::execLogContrast(), te::rp::Contrast::execSetMeanAndStdContrast(), te::rp::Contrast::execSquareContrast(), te::rp::Contrast::execSquareRootContrast(), te::qt::widgets::ContrastWizard::execute(), te::rp::Contrast::execute(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), and operator=().
te::rst::Raster* te::rp::Contrast::OutputParameters::m_outRasterPtr |
A pointer to a valid initiated raster instance where the result must be written, leave NULL to create a new instance(in this case the other output parameters must be used).
Definition at line 188 of file Contrast.h.
Referenced by te::qt::widgets::ContrastWizardPage::apply(), te::rp::Contrast::execDecorrelationEnhancement(), te::rp::Contrast::execHistogramEqualizationContrast(), te::rp::Contrast::execLinearContrast(), te::rp::Contrast::execLogContrast(), te::rp::Contrast::execSetMeanAndStdContrast(), te::rp::Contrast::execSquareContrast(), te::rp::Contrast::execSquareRootContrast(), te::rp::Contrast::execute(), te::qt::widgets::ContrastDialog::on_okPushButton_clicked(), and operator=().