OGS
VisPrefsDialog.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include "ui_VisPrefs.h"
7
8#include <QDialog>
9#include "GeoLib/Point.h"
10
11class VtkVisPipeline;
13
17class VisPrefsDialog : public QDialog, private Ui_VisPrefsDialog
18{
19 Q_OBJECT
20
21public:
23 VisualizationWidget &widget,
24 QDialog* parent = nullptr);
25
26protected slots:
28 void on_bgColorButton_colorPicked(QColor color);
29
32
35
38
41
44
45private:
50};
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...