Commit 9962b395 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Adding test (and data) to import Cinema database.

parent 7d1d0020
Pipeline #38396 passed with stage
......@@ -2,8 +2,10 @@
# the data.
paraview_test_load_data_dirs(""
"Iron Xdmf"
amr
ANALYZE
dualSphereAnimation
ensemble-wavelet
EnSight
ExRestarts
FieldDataBlocks
......@@ -14,15 +16,14 @@ paraview_test_load_data_dirs(""
GMV/partial-pyramid
GMV/quadratic_cells
RodPlate
singleSphereAnimation
SLAC/pic-example
SPCTH
SPCTH/Dave_Karelitz_Small
SPCTH/DerivedDensity
VisItBridge
amr
ensemble-wavelet
singleSphereAnimation
)
paraview_test_load_data(""
,REGEX:tensors_.*\\.vti
artifact.dta
......@@ -396,7 +397,6 @@ if("${VTK_RENDERING_BACKEND}" STREQUAL "OpenGL2")
)
endif()
if (PARAVIEW_USE_MPI)
list(APPEND TESTS_WITH_BASELINES
# Test uses D3 which is available in MPI only builds.
......@@ -494,6 +494,23 @@ if(PARAVIEW_ENABLE_PYTHON)
list(APPEND TESTS_WITH_INLINE_COMPARES
${CMAKE_CURRENT_SOURCE_DIR}/FindDataDialog.xml)
endif()
if("${VTK_RENDERING_BACKEND}" STREQUAL "OpenGL2" AND numpy_found)
# Cinema importing capabilities are only available in Python + OpenGL2
# add the cinema database files.
paraview_test_load_data("" "cinema-composite.cdb/image/info.json")
foreach(poseidx RANGE 0 17)
foreach(visidx RANGE 0 1)
paraview_test_load_data_dirs("" "cinema-composite.cdb/image/pose=${poseidx}/vis=${visidx}")
endforeach()
endforeach()
list(APPEND TESTS_WITH_BASELINES
${CMAKE_CURRENT_SOURCE_DIR}/ImportCinema.xml)
# presently, we don't support client-server configurations.
set(ImportCinema_DISABLE_CS TRUE)
set(ImportCinema_DISABLE_CRS TRUE)
endif()
endif()
#------------------------------------------------------------------------------
......
<?xml version="1.0" ?>
<pqevents>
<pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menu_File" />
<pqevent object="pqClientMainWindow/menubar/menu_File" command="activate" arguments="actionFileImportCinemaDatabase" />
<pqevent object="pqClientMainWindow/FileOpenDialog" command="filesSelected" arguments="$PARAVIEW_DATA_ROOT/cinema-composite.cdb/image/info.json" />
<pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menuTools" />
<pqevent object="pqClientMainWindow/menubar/menuTools" command="activate" arguments="actionTesting_Window_Size" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionResetCamera" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionPositiveX" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionNegativeX" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionPositiveY" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionNegativeY" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/variableToolbar/displayColor/Variables" command="activated" arguments="Normals_0" />
<pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mousePress" arguments="1,1,0,11,6,/0:0/0:1" />
<pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mouseRelease" arguments="1,0,0,11,6,/0:0/0:1" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionPositiveX" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/variableToolbar/actionScalarBarVisibility" command="set_boolean" arguments="false" />
<pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menuSources" />
<pqevent object="pqClientMainWindow/menubar/menuSources" command="activate" arguments="SphereSource" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/Radius/LineEdit0" command="set_string" arguments="0.7" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/menubar/menuFilters/pqProxyGroupMenuManager0/Clip" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ClipFunction/ProxySelectionWidget/frame/ChosenProxyWidget/InteractivePlane/useYNormal" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ClipFunction/ProxySelectionWidget/frame/ChosenProxyWidget/InteractivePlane/useZNormal" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ClipFunction/ProxySelectionWidget/frame/ChosenProxyWidget/InteractivePlane/show3DWidget" command="set_boolean" arguments="false" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionNegativeX" command="activate" arguments="" />
</pqevents>
b79d79bf01baf4c61bedd5596ec6319c
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