MEPP2 Project
progressivecompression_dialog.cpp
Go to the documentation of this file.
1 // Copyright (c) 2012-2022 University of Lyon and CNRS (France).
2 // All rights reserved.
3 //
4 // This file is part of MEPP2; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published
6 // by the Free Software Foundation; either version 3 of the License,
7 // or (at your option) any later version.
8 //
9 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12 #include "ui_progressivecompression_dialog.h"
15  QWidget *parent)
16  : QDialog(parent), ui(new Ui::ProgressiveCompressionDialog)
17 {
18  ui->setupUi(this);
19 }
22 {
23  delete ui;
24 }
26 void
28  int &nb_max_batches,
29  int &min_vertices,
30  std::string &metric,
31  std::string &vkept,
32  std::string &predictor,
33  std::string &filepath,
34  std::string &batchstop)
35 {
36  quantiz = ui->Quantiz->value();
37  nb_max_batches = ui->Numberbatches->value();
38  metric = ui->Metric->currentText().toStdString();
39  vkept = ui->Operator->currentText().toStdString();
40  predictor = ui->Predictor->currentText().toStdString();
41  batchstop = ui->Batchstop->currentText().toStdString();
42  filepath = ui->outputpath->text().toStdString();
43  min_vertices = ui->Minimumvertices->value();
44 
45 }
FEVV::ProgressiveCompressionDialog::ProgressiveCompressionDialog
ProgressiveCompressionDialog(QWidget *parent=0)
Definition: progressivecompression_dialog.cpp:14
progressivecompression_dialog.h
FEVV::ProgressiveCompressionDialog::~ProgressiveCompressionDialog
~ProgressiveCompressionDialog()
Definition: progressivecompression_dialog.cpp:21
FEVV::ProgressiveCompressionDialog::getParameters
void getParameters(int &quantiz, int &nb_batches, int &min_vertices, std::string &metric, std::string &vkept, std::string &predictor, std::string &filepath, std::string &batchstop)
Definition: progressivecompression_dialog.cpp:27
FEVV::ProgressiveCompressionDialog::ui
Ui::ProgressiveCompressionDialog * ui
Definition: progressivecompression_dialog.h:43
FEVV::ProgressiveCompressionDialog
Definition: progressivecompression_dialog.h:23
Ui
Definition: DialogBooleanOperations1.h:17