OGS
VisPrefsDialog.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "ui_VisPrefs.h"
18
19#include <QDialog>
20#include "GeoLib/Point.h"
21
22class VtkVisPipeline;
24
28class VisPrefsDialog : public QDialog, private Ui_VisPrefsDialog
29{
30 Q_OBJECT
31
32public:
34 VisualizationWidget &widget,
35 QDialog* parent = nullptr);
36
37protected slots:
39 void on_bgColorButton_colorPicked(QColor color);
40
43
46
49
52
55
56private:
61};
Definition of the Point class.
A dialog window for settung up a visualisation preferences.
void on_bgColorButton_colorPicked(QColor color)
Sets the background colour.
VtkVisPipeline & _vtkVisPipeline
void on_superelevationPushButton_pressed()
Sets the given superelevation on all vis pipeline source objects.
void on_loadShowAllCheckBox_stateChanged(int state)
void on_lightAboveBox_clicked()
Adds a light above the scene.
VisPrefsDialog(VtkVisPipeline &pipeline, VisualizationWidget &widget, QDialog *parent=nullptr)
Constructor.
void on_cullBackfacesCheckBox_stateChanged(int state)
Culls backfacing rendering primitives on all actors.
GeoLib::Point _above
GeoLib::Point _below
void on_lightBelowBox_clicked()
Adds a light below the scene.
VisualizationWidget & _visWidget
Widget containing the 3d VTK scene view.
VtkVisPipeline manages the VTK visualization. It is a TreeModel and provides functions for adding and...