Main Page
Modules
Namespaces
Classes
Files
File List
File Members
GeometricOpWizardPage.h
Go to the documentation of this file.
1
/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3
This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5
TerraLib is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
TerraLib is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with TerraLib. See COPYING. If not, write to
17
TerraLib Team at <terralib-team@terralib.org>.
18
*/
19
20
/*!
21
\file terralib/vp/qt/GeometricOpWizardPage.h
22
23
\brief This file defines a class for Basic Geometric Operation Wizard Page.
24
*/
25
26
#ifndef __TERRALIB_VP_INTERNAL_GEOMETRICOPWIZARDPAGE_H
27
#define __TERRALIB_VP_INTERNAL_GEOMETRICOPWIZARDPAGE_H
28
29
// TerraLib
30
#ifndef Q_MOC_RUN
31
#include "../../maptools/AbstractLayer.h"
32
#endif
33
#include "../../qt/widgets/utils/DoubleListWidget.h"
34
35
#include "../Config.h"
36
37
// STL
38
#include <memory>
39
40
// Qt
41
#include <QWizardPage>
42
43
// Forward declaration
44
namespace
Ui
{
class
GeometricOpWizardPageForm; }
45
46
namespace
te
47
{
48
namespace
vp
49
{
50
//class RasterNavigatorWidget;
51
52
/*!
53
\class GeometricWizardPage
54
55
\brief This class is GUI used to define the basic geometric operator parameters for the VP operation.
56
*/
57
class
TEVPEXPORT
GeometricOpWizardPage
:
public
QWizardPage
58
{
59
Q_OBJECT
60
61
public
:
62
63
GeometricOpWizardPage
(QWidget* parent = 0);
64
65
~
GeometricOpWizardPage
();
66
67
public
:
68
69
/*!
70
\brief This method is used to set the selected layer for segmenter operation
71
72
\param layer The layer ptr
73
74
\note This layer MUST HAVE a valid geometry object.
75
*/
76
void
setLayer(
te::map::AbstractLayerPtr
layer);
77
78
te::map::AbstractLayerPtr
getLayer();
79
80
std::vector<std::string> getSelectedProps();
81
82
public
slots:
83
84
protected
:
85
86
void
loadAttributes();
87
88
//void listBands();
89
90
private
:
91
92
std::auto_ptr<Ui::GeometricOpWizardPageForm>
m_ui
;
93
std::auto_ptr<te::qt::widgets::DoubleListWidget>
m_widget
;
94
te::map::AbstractLayerPtr
m_layer
;
95
std::vector<std::string>
m_props
;
96
};
97
98
}
// end namespace qt
99
}
// end namespace te
100
101
#endif // __TERRALIB_VP_INTERNAL_GEOMETRICOPWIZARDPAGE_H
te::vp::GeometricOpWizardPage::m_props
std::vector< std::string > m_props
Definition:
GeometricOpWizardPage.h:95
TEVPEXPORT
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition:
Config.h:61
Ui
Definition:
ConfigInputAddressDialog.h:44
te::vp::GeometricOpWizardPage::m_ui
std::auto_ptr< Ui::GeometricOpWizardPageForm > m_ui
Definition:
GeometricOpWizardPage.h:92
te::vp::GeometricOpWizardPage::m_widget
std::auto_ptr< te::qt::widgets::DoubleListWidget > m_widget
Definition:
GeometricOpWizardPage.h:93
te::vp::GeometricOpWizardPage
Definition:
GeometricOpWizardPage.h:57
te
URI C++ Library.
Definition:
AddressGeocodingOp.h:51
te::vp::GeometricOpWizardPage::m_layer
te::map::AbstractLayerPtr m_layer
Definition:
GeometricOpWizardPage.h:94
te::map::AbstractLayerPtr
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
Definition:
AbstractLayer.h:553
CC_master
terralib5
src
terralib
vp
qt
GeometricOpWizardPage.h
Generated on Wed Jun 1 2016 14:10:53 for TerraLib by
1.8.11