Commit f6f7672d authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot

Merge topic '18389-invert-threshold'

b8ce4395 Add Invert option to Threshold Filter
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Andrew Bauer's avatarAndrew Bauer <bauer.andrew.c@gmail.com>
Merge-request: !2870
parents 2a02301e b8ce4395
Pipeline #125317 failed with stage
in 0 seconds
......@@ -157,6 +157,7 @@ SET (TESTS_WITH_INLINE_COMPARES
${CMAKE_CURRENT_SOURCE_DIR}/SaveLargeScreenshot.xml
${CMAKE_CURRENT_SOURCE_DIR}/Slice.xml
${CMAKE_CURRENT_SOURCE_DIR}/TestIsoVolume.xml
${CMAKE_CURRENT_SOURCE_DIR}/Threshold.xml
${CMAKE_CURRENT_SOURCE_DIR}/TransferFunctionResetOnVisibilityChange.xml
${CMAKE_CURRENT_SOURCE_DIR}/UpdateTransferFunctionRanges.xml
${CMAKE_CURRENT_SOURCE_DIR}/XYChart.xml
......@@ -501,7 +502,6 @@ list(APPEND TESTS_WITH_BASELINES
${CMAKE_CURRENT_SOURCE_DIR}/TimeInspector.xml
${CMAKE_CURRENT_SOURCE_DIR}/TimeStepProgressBar.xml
${CMAKE_CURRENT_SOURCE_DIR}/Tessellate.xml
${CMAKE_CURRENT_SOURCE_DIR}/Threshold.xml
${CMAKE_CURRENT_SOURCE_DIR}/UndoRedo.xml
${CMAKE_CURRENT_SOURCE_DIR}/UndoRedo1.xml
${CMAKE_CURRENT_SOURCE_DIR}/UndoRedo2.xml
......
......@@ -16,4 +16,8 @@
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ThresholdBetween/ThresholdBetween_1/DoubleLineEdit" command="set_full_precision_text" arguments="0.44" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/variableToolbar/actionScalarBarVisibility" command="set_boolean" arguments="false" />
<pqcompareview object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CentralWidgetFrame/Viewport" baseline="$PARAVIEW_DATA_ROOT/Baseline/Threshold.png" width="300" height="300" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/Invert/CheckBox" command="set_boolean" arguments="true" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqcompareview object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CentralWidgetFrame/Viewport" baseline="$PARAVIEW_DATA_ROOT/Baseline/ThresholdInvert.png" width="300" height="300" />
</pqevents>
# Threshold filter has new Invert option
The **Threshold** filter usually extracts cells that fall within lower and upper bounds of a data array. A new **Invert** option instead causes it to extract cells outside the lower and upper bounds.
......@@ -7354,6 +7354,16 @@ array.
results.
</Documentation>
</IntVectorProperty>
<IntVectorProperty command="SetInvert"
default_values="0"
name="Invert"
number_of_elements="1">
<BooleanDomain name="bool" />
<Documentation>Invert the threshold results. That is, cells that would have been in the
output with this option off are excluded, while cells that would have been excluded from
the output are included.
</Documentation>
</IntVectorProperty>
<Hints>
<Visibility replace_input="2" />
</Hints>
......
6bd8a3546ac58c25448d06dd7ec385021499c9633629a2b96f88ed49abf2cd9c383fa7d9658195705aa21412581ca4240760c8f0f7a6c8a979ba980b907cba62
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment