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
56
parameters for the VP operation.
57
*/
58
class
TEVPEXPORT
GeometricOpWizardPage
:
public
QWizardPage
59
{
60
Q_OBJECT
61
62
public
:
63
64
GeometricOpWizardPage
(QWidget* parent = 0);
65
66
~
GeometricOpWizardPage
();
67
68
public
:
69
/*!
70
\brief This method is used to set the selected layer for segmenter
71
operation
72
73
\param layer The layer ptr
74
75
\note This layer MUST HAVE a valid geometry object.
76
*/
77
void
setLayer(
te::map::AbstractLayerPtr
layer);
78
79
te::map::AbstractLayerPtr
getLayer();
80
81
std::vector<std::string> getSelectedProps();
82
83
public
slots:
84
85
protected
:
86
87
void
loadAttributes();
88
89
//void listBands();
90
91
private
:
92
93
std::auto_ptr<Ui::GeometricOpWizardPageForm>
m_ui
;
94
std::auto_ptr<te::qt::widgets::DoubleListWidget>
m_widget
;
95
te::map::AbstractLayerPtr
m_layer
;
96
std::vector<std::string>
m_props
;
97
};
98
99
}
// end namespace qt
100
}
// end namespace te
101
102
#endif // __TERRALIB_VP_INTERNAL_GEOMETRICOPWIZARDPAGE_H
te::vp::GeometricOpWizardPage::m_props
std::vector< std::string > m_props
Definition:
GeometricOpWizardPage.h:96
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:93
te::vp::GeometricOpWizardPage::m_widget
std::auto_ptr< te::qt::widgets::DoubleListWidget > m_widget
Definition:
GeometricOpWizardPage.h:94
te::vp::GeometricOpWizardPage
Definition:
GeometricOpWizardPage.h:58
te
URI C++ Library.
Definition:
AddressGeocodingOp.h:51
te::vp::GeometricOpWizardPage::m_layer
te::map::AbstractLayerPtr m_layer
Definition:
GeometricOpWizardPage.h:95
te::map::AbstractLayerPtr
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
Definition:
AbstractLayer.h:591
home
castejon
castejon_files
develop
terralib5
git_master
src
terralib
vp
qt
GeometricOpWizardPage.h
Generated on Thu Mar 9 2017 16:41:56 for TerraLib by
1.8.10