OGS
|
Contains a QTreeView of the VtkVisPipeline and a properties panel for adjusting vtkAlgorithms rendering and filter settings.
Definition at line 27 of file VtkVisTabWidget.h.
#include <VtkVisTabWidget.h>
Signals | |
void | requestViewUpdate () |
Is emitted when a property was changed. | |
Public Member Functions | |
VtkVisTabWidget (QWidget *parent=nullptr) | |
Constructor. | |
Protected Slots | |
void | setActiveItem (VtkVisPipelineItem *item) |
Updates the property panels to show information on the given VtkVisPipelineItem. | |
void | on_arrayResetPushButton_clicked () |
void | on_diffuseColorPickerButton_colorPicked (QColor color) |
void | on_visibleEdgesCheckBox_stateChanged (int state) |
void | on_edgeColorPickerButton_colorPicked (QColor color) |
void | on_opacitySlider_sliderMoved (int value) |
void | on_scaleZ_textChanged (const QString &text) |
void | on_transX_textChanged (const QString &text) |
void | on_transY_textChanged (const QString &text) |
void | on_transZ_textChanged (const QString &text) |
void | SetActiveAttributeOnItem (const QString &name) |
Private Member Functions | |
void | buildProportiesDialog (VtkVisPipelineItem *item) |
Reads the algorithm properties of the given pipeline item and builds a dialog for adjusting these properties in the GUI. | |
void | buildScalarArrayComboBox (VtkVisPipelineItem *item) |
Reads the scalar arrays of the given vtk-object and constructs content for the scalar array selection box. | |
void | translateItem () |
Private Attributes | |
VtkVisPipelineItem * | _item {nullptr} |
|
explicit |
Constructor.
Definition at line 32 of file VtkVisTabWidget.cpp.
References requestViewUpdate(), SetActiveAttributeOnItem(), and setActiveItem().
|
private |
Reads the algorithm properties of the given pipeline item and builds a dialog for adjusting these properties in the GUI.
Definition at line 249 of file VtkVisTabWidget.cpp.
References VtkVisPipelineItem::compositeFilter(), VtkAlgorithmProperties::GetAlgorithmUserProperties(), VtkAlgorithmProperties::GetAlgorithmUserVectorProperties(), VtkVisPipelineItem::getVtkProperties(), requestViewUpdate(), and WARN().
Referenced by setActiveItem().
|
private |
Reads the scalar arrays of the given vtk-object and constructs content for the scalar array selection box.
Definition at line 353 of file VtkVisTabWidget.cpp.
References VtkVisPipelineItem::GetActiveAttribute(), VtkVisPipelineItem::getScalarArrayNames(), and VtkVisPipelineItem::SetActiveAttribute().
Referenced by setActiveItem().
|
protectedslot |
Definition at line 53 of file VtkVisTabWidget.cpp.
References _item, VtkVisPipelineItem::getVtkProperties(), VtkAlgorithmProperties::RemoveLookupTable(), and VtkVisPipelineItem::SetActiveAttribute().
|
protectedslot |
Definition at line 155 of file VtkVisTabWidget.cpp.
References _item, VtkVisPipelineItem::actor(), and requestViewUpdate().
|
protectedslot |
Definition at line 184 of file VtkVisTabWidget.cpp.
References _item, VtkVisPipelineItem::actor(), and requestViewUpdate().
|
protectedslot |
Definition at line 192 of file VtkVisTabWidget.cpp.
References _item, VtkVisPipelineItem::actor(), and requestViewUpdate().
|
protectedslot |
Definition at line 200 of file VtkVisTabWidget.cpp.
References _item, VtkVisPipelineItem::child(), TreeItem::childCount(), VtkVisPipelineItem::compositeFilter(), requestViewUpdate(), and VtkVisPipelineItem::setScale().
|
inlineprotectedslot |
Definition at line 45 of file VtkVisTabWidget.h.
References translateItem().
|
inlineprotectedslot |
Definition at line 50 of file VtkVisTabWidget.h.
References translateItem().
|
inlineprotectedslot |
Definition at line 55 of file VtkVisTabWidget.h.
References translateItem().
|
protectedslot |
Definition at line 164 of file VtkVisTabWidget.cpp.
References _item, VtkVisPipelineItem::actor(), and requestViewUpdate().
|
signal |
Is emitted when a property was changed.
Referenced by VtkVisTabWidget(), buildProportiesDialog(), on_diffuseColorPickerButton_colorPicked(), on_edgeColorPickerButton_colorPicked(), on_opacitySlider_sliderMoved(), on_scaleZ_textChanged(), on_visibleEdgesCheckBox_stateChanged(), SetActiveAttributeOnItem(), setActiveItem(), and translateItem().
|
protectedslot |
Definition at line 385 of file VtkVisTabWidget.cpp.
References _item, requestViewUpdate(), and VtkVisPipelineItem::SetActiveAttribute().
Referenced by VtkVisTabWidget().
|
protectedslot |
Updates the property panels to show information on the given VtkVisPipelineItem.
Definition at line 62 of file VtkVisTabWidget.cpp.
References _item, VtkVisPipelineItem::actor(), buildProportiesDialog(), buildScalarArrayComboBox(), VtkVisPipelineItem::GetActiveAttribute(), requestViewUpdate(), VtkVisImageItem::transformFilter(), and VtkVisPipelineItem::transformFilter().
Referenced by VtkVisTabWidget().
|
private |
Definition at line 231 of file VtkVisTabWidget.cpp.
References _item, requestViewUpdate(), and VtkVisPipelineItem::setTranslation().
Referenced by on_transX_textChanged(), on_transY_textChanged(), and on_transZ_textChanged().
|
private |
Definition at line 72 of file VtkVisTabWidget.h.
Referenced by on_arrayResetPushButton_clicked(), on_diffuseColorPickerButton_colorPicked(), on_edgeColorPickerButton_colorPicked(), on_opacitySlider_sliderMoved(), on_scaleZ_textChanged(), on_visibleEdgesCheckBox_stateChanged(), SetActiveAttributeOnItem(), setActiveItem(), and translateItem().