te::qt::widgets::SegmenterDialog Class Reference

A dialog used to execute image segmentation. More...

#include <SegmenterDialog.h>

Inheritance diagram for te::qt::widgets::SegmenterDialog:

Public Member Functions

bool getOutputRaster (boost::shared_ptr< te::rst::Raster > &outputRasterPtr)
 Returns the output result raster. More...
 
 SegmenterDialog (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. More...
 
 ~SegmenterDialog ()
 Destructor. More...
 

Protected Slots

void on_okPushButton_clicked ()
 

Private Attributes

te::rst::Raster const * m_inputRasterPtr
 User interface. More...
 
std::string m_outpuRasterDSType
 Input raster pointer. More...
 
std::map< std::string, std::string > m_outpuRasterInfo
 Output raster data source type (as described in te::raster::RasterFactory ). More...
 
boost::shared_ptr< te::rst::Rasterm_outputRasterPtr
 The necessary information to create the raster (as described in te::raster::RasterFactory). More...
 
Ui::SegmenterForm * m_uiPtr
 

Detailed Description

A dialog used to execute image segmentation.

Definition at line 66 of file SegmenterDialog.h.

Constructor & Destructor Documentation

te::qt::widgets::SegmenterDialog::SegmenterDialog ( 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
inputRasterPtrInput raster pointer.
outpuRasterDSTypeOutput raster data source type (as described in te::raster::RasterFactory ).
outpuRasterInfoThe necessary information to create the raster (as described in te::raster::RasterFactory).
te::qt::widgets::SegmenterDialog::~SegmenterDialog ( )

Destructor.

Member Function Documentation

bool te::qt::widgets::SegmenterDialog::getOutputRaster ( boost::shared_ptr< te::rst::Raster > &  outputRasterPtr)

Returns the output result raster.

Parameters
outputRasterPtrA pointer to the output result raster
Returns
true if OK, false on errors.
void te::qt::widgets::SegmenterDialog::on_okPushButton_clicked ( )
protectedslot

Member Data Documentation

te::rst::Raster const* te::qt::widgets::SegmenterDialog::m_inputRasterPtr
private

User interface.

Definition at line 104 of file SegmenterDialog.h.

std::string te::qt::widgets::SegmenterDialog::m_outpuRasterDSType
private

Input raster pointer.

Definition at line 105 of file SegmenterDialog.h.

std::map< std::string, std::string > te::qt::widgets::SegmenterDialog::m_outpuRasterInfo
private

Output raster data source type (as described in te::raster::RasterFactory ).

Definition at line 106 of file SegmenterDialog.h.

boost::shared_ptr< te::rst::Raster > te::qt::widgets::SegmenterDialog::m_outputRasterPtr
private

The necessary information to create the raster (as described in te::raster::RasterFactory).

Definition at line 107 of file SegmenterDialog.h.

Ui::SegmenterForm* te::qt::widgets::SegmenterDialog::m_uiPtr
private

Definition at line 103 of file SegmenterDialog.h.


The documentation for this class was generated from the following file: