OGS
SurfaceExtractionDialog.h
Go to the documentation of this file.
1
15
#pragma once
16
17
#include <Eigen/Core>
18
#include <QDialog>
19
20
#include "ui_SurfaceExtraction.h"
21
22
namespace
MeshLib
{
23
class
Mesh;
24
}
25
29
class
SurfaceExtractionDialog
:
public
QDialog,
private
Ui_SurfaceExtraction
30
{
31
Q_OBJECT
32
33
public
:
34
explicit
SurfaceExtractionDialog
(QDialog* parent =
nullptr
);
35
~SurfaceExtractionDialog
()
override
=
default
;
36
37
int
getTolerance
()
const
{
return
_tolerance
; }
38
Eigen::Vector3d
const
&
getNormal
()
const
{
return
_dir
; }
39
40
private
slots:
42
void
accept
()
override
;
43
45
void
reject
()
override
{ this->done(QDialog::Rejected); };
46
47
private
:
48
int
_tolerance
{90};
49
Eigen::Vector3d
_dir
{0, 0, -1};
50
};
SurfaceExtractionDialog
A dialog window for managing properties for writing meshes to files.
Definition
SurfaceExtractionDialog.h:30
SurfaceExtractionDialog::_dir
Eigen::Vector3d _dir
Definition
SurfaceExtractionDialog.h:49
SurfaceExtractionDialog::reject
void reject() override
Instructions if the Cancel-Button has been pressed.
Definition
SurfaceExtractionDialog.h:45
SurfaceExtractionDialog::getTolerance
int getTolerance() const
Definition
SurfaceExtractionDialog.h:37
SurfaceExtractionDialog::~SurfaceExtractionDialog
~SurfaceExtractionDialog() override=default
SurfaceExtractionDialog::_tolerance
int _tolerance
Definition
SurfaceExtractionDialog.h:48
SurfaceExtractionDialog::accept
void accept() override
Instructions if the OK-Button has been pressed.
Definition
SurfaceExtractionDialog.cpp:31
SurfaceExtractionDialog::getNormal
Eigen::Vector3d const & getNormal() const
Definition
SurfaceExtractionDialog.h:38
SurfaceExtractionDialog::SurfaceExtractionDialog
SurfaceExtractionDialog(QDialog *parent=nullptr)
Definition
SurfaceExtractionDialog.cpp:19
MeshLib
Definition
ProjectData.h:41
Applications
DataExplorer
DataView
SurfaceExtractionDialog.h
Generated by
1.11.0