Files
ResInsight/ApplicationLibCode/ProjectDataModelCommands/CMakeLists_files.cmake
T
Kristian Bendiksen 77c32a3fa5 #14772 Python: Add snapshot export object methods and forward exportSnapshots to them
- Add RimViewWindow_exportSnapshot on RimViewWindow (3D views and
  plots) with explicit ExportFolder, Prefix, Width, Height and
  FileFormat parameters. Generated as ViewWindow.export_snapshot().
- Add RimProject_exportSnapshots for exporting all views and/or plots
  with a ContentType parameter. Generated as Project.export_snapshots().
- Add RiaDefines::SnapshotFileFormat and SnapshotContentType enums,
  registered as Python StrEnums.
- Extract single-item exportSnapshotOfView()/exportSnapshotOfPlot()
  from the RicSnapshotAll*ToFileFeature loops so the object methods
  and the legacy loops share the implementation.
- RicfExportSnapshots resolves the export folder from the command file
  executor and forwards to the object methods.

Python: the hand-written ViewWindow.export_snapshot() wrapper is
removed (generated method is compatible). PlotWindow.export_snapshot()
and Project.export_snapshots() keep their legacy argument names
(file_prefix, output_format, snapshot_type, plot_format) as deprecated
aliases. Case.export_snapshots_of_all_views() is deprecated in favor
of View.export_snapshot().

Also fix Case.views(), which compared the view id to the case id and
therefore never returned any views.
2026-09-22 14:19:23 +02:00

53 lines
2.7 KiB
CMake

set(SOURCE_GROUP_SOURCE_FILES
${CMAKE_CURRENT_LIST_DIR}/RimcSummaryPlotCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcSummaryCase.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcSummaryResampleData.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcProject.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcElasticProperties.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcStimPlanModelCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcStimPlanModelTemplateCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcStimPlanModelPlotCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcStimPlanModel.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcSurfaceCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcSurface.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcDataContainerDouble.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcDataContainerString.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcDataContainerTime.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellLog.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellLogPlotCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellLogPlot.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellLogTrack.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellPathGeometryDef.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcModeledWellPath.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellPath.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellPathCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcFractureTemplateCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcFractureTemplate.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcThermalFractureTemplate.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcIntersection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcCornerPointCase.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcEclipseCase.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcEclipseStatisticsCase.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcGridView.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcIdenticalGridCaseGroup.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcPressureTable.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcEclipseView.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcFishbonesCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcPolygonCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcDataFilterCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcCombinedFilter.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcRegularSurface.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcPerforationInterval.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcValveTemplateCollection.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellPathCompletionSettings.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellPathValve.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellEventTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcWellEventPerf.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcColorLegend.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcNestedCollectionBase.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcCase.cpp
${CMAKE_CURRENT_LIST_DIR}/RimcViewWindow.cpp
)
list(APPEND CODE_SOURCE_FILES ${SOURCE_GROUP_SOURCE_FILES})