All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::Raster
m_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 62 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).

Definition at line 38 of file SegmenterDialog.cpp.

References te::rst::Raster::getNumberOfBands(), m_uiPtr, and on_okPushButton_clicked().

te::qt::widgets::SegmenterDialog::~SegmenterDialog ( )

Destructor.

Definition at line 63 of file SegmenterDialog.cpp.

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.

Definition at line 68 of file SegmenterDialog.cpp.

Member Data Documentation

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

User interface.

Definition at line 100 of file SegmenterDialog.h.

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

Input raster pointer.

Definition at line 101 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 102 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 103 of file SegmenterDialog.h.

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

Definition at line 99 of file SegmenterDialog.h.

Referenced by SegmenterDialog().


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