OGS
VtkVisTabWidget.h
Go to the documentation of this file.
1
16
#pragma once
17
18
// ** INCLUDES **
19
#include "ui_VtkVisTabWidgetBase.h"
20
21
class
vtkAlgorithm;
22
27
class
VtkVisTabWidget
:
public
QWidget,
public
Ui_VtkVisTabWidgetBase
28
{
29
Q_OBJECT
30
31
public
:
33
explicit
VtkVisTabWidget
(QWidget* parent =
nullptr
);
34
35
protected
slots:
37
void
setActiveItem
(
VtkVisPipelineItem
* item);
38
39
void
on_arrayResetPushButton_clicked
();
40
void
on_diffuseColorPickerButton_colorPicked
(QColor color);
41
void
on_visibleEdgesCheckBox_stateChanged
(
int
state);
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
63
private
:
65
void
buildProportiesDialog
(
VtkVisPipelineItem
* item);
66
68
void
buildScalarArrayComboBox
(
VtkVisPipelineItem
* item);
69
70
void
translateItem
();
71
72
VtkVisPipelineItem
*
_item
{
nullptr
};
73
74
signals:
76
void
requestViewUpdate
();
77
};
VtkVisPipelineItem
An item in the VtkVisPipeline containing a graphic object to be visualized.
Definition
VtkVisPipelineItem.h:43
VtkVisTabWidget
Contains a QTreeView of the VtkVisPipeline and a properties panel for adjusting vtkAlgorithms renderi...
Definition
VtkVisTabWidget.h:28
VtkVisTabWidget::buildProportiesDialog
void buildProportiesDialog(VtkVisPipelineItem *item)
Reads the algorithm properties of the given pipeline item and builds a dialog for adjusting these pro...
Definition
VtkVisTabWidget.cpp:249
VtkVisTabWidget::setActiveItem
void setActiveItem(VtkVisPipelineItem *item)
Updates the property panels to show information on the given VtkVisPipelineItem.
Definition
VtkVisTabWidget.cpp:62
VtkVisTabWidget::on_transZ_textChanged
void on_transZ_textChanged(const QString &text)
Definition
VtkVisTabWidget.h:55
VtkVisTabWidget::on_opacitySlider_sliderMoved
void on_opacitySlider_sliderMoved(int value)
Definition
VtkVisTabWidget.cpp:192
VtkVisTabWidget::buildScalarArrayComboBox
void buildScalarArrayComboBox(VtkVisPipelineItem *item)
Reads the scalar arrays of the given vtk-object and constructs content for the scalar array selection...
Definition
VtkVisTabWidget.cpp:353
VtkVisTabWidget::on_edgeColorPickerButton_colorPicked
void on_edgeColorPickerButton_colorPicked(QColor color)
Definition
VtkVisTabWidget.cpp:184
VtkVisTabWidget::on_visibleEdgesCheckBox_stateChanged
void on_visibleEdgesCheckBox_stateChanged(int state)
Definition
VtkVisTabWidget.cpp:164
VtkVisTabWidget::_item
VtkVisPipelineItem * _item
Definition
VtkVisTabWidget.h:72
VtkVisTabWidget::translateItem
void translateItem()
Definition
VtkVisTabWidget.cpp:231
VtkVisTabWidget::SetActiveAttributeOnItem
void SetActiveAttributeOnItem(const QString &name)
Definition
VtkVisTabWidget.cpp:385
VtkVisTabWidget::on_scaleZ_textChanged
void on_scaleZ_textChanged(const QString &text)
Definition
VtkVisTabWidget.cpp:200
VtkVisTabWidget::on_diffuseColorPickerButton_colorPicked
void on_diffuseColorPickerButton_colorPicked(QColor color)
Definition
VtkVisTabWidget.cpp:155
VtkVisTabWidget::on_arrayResetPushButton_clicked
void on_arrayResetPushButton_clicked()
Definition
VtkVisTabWidget.cpp:53
VtkVisTabWidget::on_transY_textChanged
void on_transY_textChanged(const QString &text)
Definition
VtkVisTabWidget.h:50
VtkVisTabWidget::on_transX_textChanged
void on_transX_textChanged(const QString &text)
Definition
VtkVisTabWidget.h:45
VtkVisTabWidget::requestViewUpdate
void requestViewUpdate()
Is emitted when a property was changed.
VtkVisTabWidget::VtkVisTabWidget
VtkVisTabWidget(QWidget *parent=nullptr)
Constructor.
Definition
VtkVisTabWidget.cpp:32
Applications
DataExplorer
VtkVis
VtkVisTabWidget.h
Generated by
1.10.0