OGS
VtkVisTabWidget.h
Go to the documentation of this file.
1
16#pragma once
17
18// ** INCLUDES **
19#include "ui_VtkVisTabWidgetBase.h"
20
21class vtkAlgorithm;
22
27class VtkVisTabWidget : public QWidget, public Ui_VtkVisTabWidgetBase
28{
29 Q_OBJECT
30
31public:
33 explicit VtkVisTabWidget(QWidget* parent = nullptr);
34
35protected slots:
38
42 void on_edgeColorPickerButton_colorPicked(QColor color);
43 void on_opacitySlider_sliderMoved(int value);
44 void on_scaleZ_textChanged(const QString &text);
45 void on_transX_textChanged(const QString &text)
46 {
47 Q_UNUSED(text);
48 this->translateItem();
49 }
50 void on_transY_textChanged(const QString &text)
51 {
52 Q_UNUSED(text);
53 this->translateItem();
54 }
55 void on_transZ_textChanged(const QString &text)
56 {
57 Q_UNUSED(text);
58 this->translateItem();
59 }
60
61 void SetActiveAttributeOnItem(const QString &name);
62
63private:
66
69
70 void translateItem();
71
73
74signals:
77};
An item in the VtkVisPipeline containing a graphic object to be visualized.
Contains a QTreeView of the VtkVisPipeline and a properties panel for adjusting vtkAlgorithms renderi...
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.