Loading...
Searching...
No Matches
MosaicWizardPage.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/qt/widgets/rp/MosaicWizardPage.h
22
23 \brief This file defines a class for a Mosaic Wizard page.
24*/
25
26#ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_MOSAICWIZARDPAGE_H
27#define __TERRALIB_QT_WIDGETS_RP_INTERNAL_MOSAICWIZARDPAGE_H
28
29// TerraLib
30#include "../../../geometry/GTParameters.h"
31#ifndef Q_MOC_RUN
32#include "../../../maptools/AbstractLayer.h"
33#include "../../../rp/GeoMosaic.h"
34#include "../../../rp/SequenceMosaic.h"
35#include "../../../rp/TiePointsMosaic.h"
36#endif
37#include "../Config.h"
38
39// STL
40#include <memory>
41
42// Qt
43#include <QWizardPage>
44
45
46// Forward declaration
47namespace Ui { class MosaicWizardPageForm; }
48
49namespace te
50{
51 namespace qt
52 {
53 namespace widgets
54 {
55 class TiePointLocatorParametersWidget;
56
57 /*!
58 \class MosaicWizardPage
59
60 \brief This class is GUI used to define the mosaic parameters for the RP mosaic operation.
61 */
62 class TEQTWIDGETSEXPORT MosaicWizardPage : public QWizardPage
63 {
64 Q_OBJECT
65
66 public:
67
69 {
72 MOSAIC_SEQUENCE
73 };
74
75 MosaicWizardPage(QWidget* parent = 0);
76
78
79 bool isComplete() const;
80
82
84
86
87 void setList(std::list<te::map::AbstractLayerPtr>& layerList);
88
90
92
94
96
98
100
102
104
105 void getTargetMeans( std::vector< double >& targetMeans );
106
107 void getTargetStdDevs( std::vector< double >& targetStdDevs );
108
109 public slots:
110
112
113 protected:
114
116
117 protected slots:
118
120
122
123 void addStdDevPushButtonlicked(bool checked);
124
126
127 private:
128
129 std::unique_ptr<Ui::MosaicWizardPageForm> m_ui;
130
132
133 std::list<te::map::AbstractLayerPtr> m_layerList;
134
135 std::vector< std::vector< te::gm::GTParameters::TiePoint > > m_tiePoints; //!< Tie-points between each adjacent raster pair (te::gm::GTParameters::TiePoint::first are raster (with index i) lines/columns, te::gm::GTParameters::TiePoint::second are raster (with index I+1) lines/columns ,and so on).
136
137 };
138
139 } // end namespace widgets
140 } // end namespace qt
141} // end namespace te
142
143#endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_MOSAICWIZARDPAGE_H
This class is GUI used to define the mosaic parameters for the RP mosaic operation.
std::vector< std::vector< te::gm::GTParameters::TiePoint > > m_tiePoints
Tie-points between each adjacent raster pair (te::gm::GTParameters::TiePoint::first are raster (with ...
te::rp::SequenceMosaic::InputParameters getInputSeqParams()
void removeMeanValuePushButtonClicked(bool checked)
std::list< te::map::AbstractLayerPtr > m_layerList
void getTargetStdDevs(std::vector< double > &targetStdDevs)
void addStdDevPushButtonlicked(bool checked)
te::rp::TiePointsMosaic::InputParameters getInputTPParams()
te::rp::SequenceMosaic::OutputParameters getOutputSeqParams()
te::rp::GeoMosaic::OutputParameters getOutputGeoParams()
te::rp::GeoMosaic::InputParameters getInputGeoParams()
te::map::AbstractLayerPtr getTiePointMosaicLayerA()
std::unique_ptr< Ui::MosaicWizardPageForm > m_ui
MosaicWizardPage(QWidget *parent=0)
void getTargetMeans(std::vector< double > &targetMeans)
te::qt::widgets::TiePointLocatorParametersWidget * m_tiePointParameters
Tie Point parameters widget.
void addMeanValuePushButtonClicked(bool checked)
void setList(std::list< te::map::AbstractLayerPtr > &layerList)
void removeStdDevPushButtonlicked(bool checked)
te::rp::TiePointsMosaic::OutputParameters getOutputTPParams()
te::map::AbstractLayerPtr getTiePointMosaicLayerB()
This class is used to define a widget for tie point parameters acquirement.
GeoMosaic input parameters.
Definition: GeoMosaic.h:62
GeoMosaic output parameters.
Definition: GeoMosaic.h:143
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
TerraLib.
#define slots
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:63