Commit 2a77340f authored by Joachim P's avatar Joachim P

Fix widget of AMRCutPlane filter

Also add a test for the feature.
parent 5ad27af6
<?xml version="1.0" ?>
<pqevents>
<pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menuSources" />
<pqevent object="pqClientMainWindow/menubar/menuSources/Alphabetical" command="activate" arguments="AMRGaussianPulseSource" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menuFilters" />
<pqevent object="pqClientMainWindow/menubar/menuFilters/AMR" command="activate" arguments="AMRCutPlane" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionPositiveX" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/InteractivePlane/resetCameraToNormal" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/InteractivePlane/useCameraNormal" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/variableToolbar/actionScalarBarVisibility" command="set_boolean" arguments="false" />
<pqevent object="pqClientMainWindow/axesToolbar/actionShowOrientationAxes" command="set_boolean" arguments="false" />
</pqevents>
......@@ -313,6 +313,7 @@ endif()
list(APPEND TESTS_WITH_BASELINES
${CMAKE_CURRENT_SOURCE_DIR}/4AxesContextView.xml
${CMAKE_CURRENT_SOURCE_DIR}/AccentuatedFilename.xml
${CMAKE_CURRENT_SOURCE_DIR}/AMRCutPlane.xml
${CMAKE_CURRENT_SOURCE_DIR}/AMReXParticlesReader.xml
${CMAKE_CURRENT_SOURCE_DIR}/Annotations.xml
${CMAKE_CURRENT_SOURCE_DIR}/ConvertToMolecule.xml
......@@ -1241,7 +1242,7 @@ if (TARGET paraview)
--test-directory=${PARAVIEW_TEST_DIR}
BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
TEST_SCRIPTS ${CMAKE_CURRENT_SOURCE_DIR}/Calculator54State.xml)
# Test backwards compatibility for Glyph filter change in ParaView 5.6
add_pv_test("pv" "_DISABLE_C"
COMMAND --client $<TARGET_FILE:paraview>
......
......@@ -485,6 +485,7 @@
filter.</Documentation>
</InputProperty>
</SourceProxy>
<!-- ==================================================================== -->
<SourceProxy class="vtkAMRCutPlane"
label="AMR CutPlane"
name="AMRCutPlane">
......@@ -527,7 +528,13 @@
label="Center"
name="Center"
number_of_elements="3"
panel_visibility="never"></DoubleVectorProperty>
panel_visibility="never">
<BoundsDomain default_mode="mid" mode="normal" name="range">
<RequiredProperties>
<Property function="Input" name="Input" />
</RequiredProperties>
</BoundsDomain>
</DoubleVectorProperty>
<DoubleVectorProperty animateable="1"
command="SetNormal"
default_values="0 0 1"
......@@ -535,16 +542,13 @@
name="Normal"
number_of_elements="3"
panel_visibility="never"></DoubleVectorProperty>
<Hints>
<PropertyGroup label="Slice Widget"
type="Plane">
<Property function="Origin"
name="Center" />
<Property function="Normal"
name="Normal" />
</PropertyGroup>
</Hints>
<PropertyGroup label="Plane Parameters" panel_widget="InteractivePlane">
<Property function="Origin" name="Center" />
<Property function="Normal" name="Normal" />
<Property function="Input" name="Input" />
</PropertyGroup>
</SourceProxy>
<!-- ==================================================================== -->
<SourceProxy class="vtkAMRResampleFilter"
label="Resample AMR"
name="AMRResampleFilter">
......
8d3efd3b1af84bbb7b41f97968241adc26096290a96af4d0f877e0e610203a772e5efc65434e1d44a5107fbe507cf1651e2cbc033dc19c908c8e532e8ed01e14
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