OGS
VtkVisTabWidget.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// ** INCLUDES **
7#include "ui_VtkVisTabWidgetBase.h"
8
9class vtkAlgorithm;
10
15class VtkVisTabWidget : public QWidget, public Ui_VtkVisTabWidgetBase
16{
17 Q_OBJECT
18
19public:
21 explicit VtkVisTabWidget(QWidget* parent = nullptr);
22
23protected slots:
26
30 void on_edgeColorPickerButton_colorPicked(QColor color);
31 void on_opacitySlider_sliderMoved(int value);
32 void on_scaleZ_textChanged(const QString &text);
33 void on_transX_textChanged(const QString &text)
34 {
35 Q_UNUSED(text);
36 this->translateItem();
37 }
38 void on_transY_textChanged(const QString &text)
39 {
40 Q_UNUSED(text);
41 this->translateItem();
42 }
43 void on_transZ_textChanged(const QString &text)
44 {
45 Q_UNUSED(text);
46 this->translateItem();
47 }
48
49 void SetActiveAttributeOnItem(const QString &name);
50
51private:
54
57
58 void translateItem();
59
61
62signals:
65};
An item in the VtkVisPipeline containing a graphic object to be visualized.
void buildProportiesDialog(VtkVisPipelineItem *item)
Reads the algorithm properties of the given pipeline item and builds a dialog for adjusting these pro...
void setActiveItem(VtkVisPipelineItem *item)
Updates the property panels to show information on the given VtkVisPipelineItem.
void on_transZ_textChanged(const QString &text)
void on_opacitySlider_sliderMoved(int value)
void buildScalarArrayComboBox(VtkVisPipelineItem *item)
Reads the scalar arrays of the given vtk-object and constructs content for the scalar array selection...
void on_edgeColorPickerButton_colorPicked(QColor color)
void on_visibleEdgesCheckBox_stateChanged(int state)
VtkVisPipelineItem * _item
void SetActiveAttributeOnItem(const QString &name)
void on_scaleZ_textChanged(const QString &text)
void on_diffuseColorPickerButton_colorPicked(QColor color)
void on_arrayResetPushButton_clicked()
void on_transY_textChanged(const QString &text)
void on_transX_textChanged(const QString &text)
void requestViewUpdate()
Is emitted when a property was changed.
VtkVisTabWidget(QWidget *parent=nullptr)
Constructor.