Commit Graph

371 Commits

Author SHA1 Message Date
Magne Sjaastad
81c92d2781 #1230 Added infrastructure for loadAndUpdate of StimPlan data 2017-02-17 09:29:46 +01:00
Magne Sjaastad
758ac9ef8c #1214 Generalized export of snapshot images for all plot window types 2017-02-14 15:03:54 +01:00
Magne Sjaastad
fa0e0d32ef #1214 Use last imported grid file location as fallback path 2017-02-14 14:59:08 +01:00
Jacob Støren
a25bfd4513 #1213 Well allocation plot is now only created when requested.
Also made the fields in FlowPlotCollection private.
2017-02-14 08:10:39 +01:00
Magne Sjaastad
92f4abe7c2 #1214 Implemented snapshot of well allocation plot 2017-02-13 15:47:24 +01:00
Magne Sjaastad
9aa98a3895 #1078 Assign default colors when a new well is created 2017-02-13 13:26:05 +01:00
Magne Sjaastad
3c3e0d96ff #1180 Added color table framework files and color tables 2017-02-10 08:22:26 +01:00
Magne Sjaastad
d24bf527bf Assign default colors to wells when importing case from file 2017-02-02 10:35:15 +01:00
Jacob Støren
6fad753c4d #1131 Added update of the plot treeview when changing preferences 2017-01-19 17:58:04 +01:00
Jacob Støren
43249f7af8 Refactor related to #1106, #1107, #1109, #1113. Refactored the MDI control
of windows. This might introduce problems.
2017-01-19 17:54:01 +01:00
Magne Sjaastad
723e0f9286 #1107 #1111 Added update of well allocation plot from 3D view 2017-01-13 13:32:17 +01:00
Magne Sjaastad
ccb88c6520 Rename 2017-01-13 13:32:17 +01:00
Magne Sjaastad
8970d93a4d #1068 Renamed to RigEclipseCaseData 2017-01-10 09:51:39 +01:00
Jacob Støren
03cf09d90a System: Created a general basename cleanup function, and applied that when creating filenames from userdescription etc. Related to #1054 preparations 2017-01-04 10:45:04 +01:00
Magne Sjaastad
ebf5b01234 #1018 Force update of display model for scheduled updates before taking snapshot 2016-12-22 08:45:50 +01:00
Magne Sjaastad
22d09c0517 #1013 System : Regression tests for plot images 2016-11-29 15:18:55 +01:00
Magne Sjaastad
1df60054bd System : Removed unused code 2016-11-28 16:51:18 +01:00
Magne Sjaastad
e5e423f3c2 #1007 System : Fixed issue reported on GCC 5.4.0 2016-11-28 11:30:03 +01:00
Magne Sjaastad
ea43cda989 System : Improved description of command line system commands 2016-11-28 09:03:36 +01:00
Magne Sjaastad
71d632dbc7 System : Improved description of command line system commands 2016-11-28 08:59:20 +01:00
Magne Sjaastad
b5f7da628d Eclipse Input Data : Added input case to recent files list 2016-11-28 07:25:04 +01:00
Magne Sjaastad
29f766edc7 #963 Batch : Parse multiple entries of replaceCase and replaceSourceCases 2016-11-25 14:21:50 +01:00
Magne Sjaastad
44b5eab736 #1002 System : Improve restore of main windows from minimized state 2016-11-24 14:47:20 +01:00
Magne Sjaastad
e0d7849576 System : Improved handling of missing files 2016-11-24 10:51:20 +01:00
Magne Sjaastad
73e4174fe7 Summary : Make sure loading of plot data is only done once 2016-11-10 09:26:53 +01:00
Magne Sjaastad
f14b4ab4d0 #878 Command Line : Added support for snapshot of plots 2016-11-09 12:22:07 +01:00
Magne Sjaastad
cb468f0c48 #908 Replace file summary case with Eclipse summary case when grid is imported 2016-11-07 15:57:21 +01:00
Magne Sjaastad
67894ecef0 #279 Activate riuMainWindow before taking snapshots during regression tests 2016-11-01 11:50:38 +01:00
Magne Sjaastad
5a63b841b8 #850 Removed obsolete code 2016-10-27 08:35:57 +02:00
Magne Sjaastad
b091333daa #916 If possible, hide plots when importing 3D case, and hide 3D windows when importing summary case 2016-10-24 16:01:19 +02:00
Magne Sjaastad
81686707ec #916 Summary : Preferences - Autogenerate plot if summary is found, and default vector filter 2016-10-24 13:54:35 +02:00
Magne Sjaastad
e87788d138 #849 Hide main window instead of close to avoid rebuild of contained project 2016-10-06 15:02:11 +02:00
Magne Sjaastad
b4d6e40247 #849 Added import summary case command 2016-10-06 15:02:11 +02:00
Magne Sjaastad
d719491a33 #846 Added Open Last Used Project feature 2016-10-05 10:42:08 +02:00
Magne Sjaastad
98643a7b84 #846 Make sure plots widgets are updated when the plot main window is created 2016-10-05 10:04:41 +02:00
Magne Sjaastad
c8b73dad68 #846 Moved recent file management to RiaApplication 2016-10-05 08:54:40 +02:00
Magne Sjaastad
2d5295cf74 #846 Store window state for mainwindows in project and moved features into ApplicationCommands 2016-10-05 08:54:39 +02:00
Magne Sjaastad
8277080c2e #846 If plot window is hidden, do not open plot window when loading case with summary data 2016-10-04 13:14:39 +02:00
Magne Sjaastad
16f8fc186e #846 Removed obsolete flag to closeProject and make sure project is closed when last main window is closed 2016-10-04 11:03:54 +02:00
Magne Sjaastad
3a2454cba0 #851 Added "Open 3D Window" tool button in plot window. Raise mainWindow when activated from toolbar 2016-10-04 11:03:53 +02:00
Magne Sjaastad
33abbed1fd #882 RiaApplication : Renamed to lastUsedDialogDirectory and added currentProjectPath. Use project path as fallback path for LAS export 2016-09-21 09:46:17 +02:00
Magne Sjaastad
1b38326d83 #279 Include cleanup 2016-09-01 13:01:17 +02:00
Magne Sjaastad
0128baddff #279 Use frame buffer objects for snapshots when available, otherwise use grabFrameBuffer() 2016-08-31 17:34:31 +02:00
Magne Sjaastad
457c3c732b #569 Added font sizes 12, 24, and 32 2016-08-29 14:25:50 +02:00
Jacob Støren
b46c6ebcf8 #809 Created Formation Names project items.
#819 Added delete command to Formation names
#808 Added an import Formation Names command
2016-08-24 08:30:12 +02:00
Magne Sjaastad
f9047ab77f (#806) Improved layout of items in preferences 2016-08-09 13:45:08 +02:00
Magne Sjaastad
58047a6509 #569 Added custom font for labels in 3D scene and added font size to preferences 2016-08-09 13:43:13 +02:00
Magne Sjaastad
4bfef4ead0 Merged in changes from maintenance branch 2016-08-04 11:12:53 +02:00
Magne Sjaastad
2c96599327 #744 Error message for snapshots in Batch mode 2016-07-15 10:55:20 +02:00
Magne Sjaastad
7584e03883 Added context menu NewSummaryPlot for summary cases 2016-07-01 11:34:37 +02:00
Magne Sjaastad
7e89fb4b49 (#777) Show default summary curves when importing an Eclipse case with summary data 2016-06-30 14:01:50 +02:00
Magne Sjaastad
ac5402ca5a Added updateViewerWidgetWindowTitle for summary plots 2016-06-29 14:41:17 +02:00
Magne Sjaastad
cac86dcec9 Fixed mouse interaction with well log plots and tracks 2016-06-29 14:41:14 +02:00
Magne Sjaastad
3b55f98dbd Added ShowPlotWindow feature 2016-06-29 14:40:37 +02:00
Magne Sjaastad
119881dc7d Removed obsolete code related to actions, menus and dock widgets 2016-06-29 14:40:20 +02:00
Magne Sjaastad
bbf1574feb Wired up application logic related to new RiuMainPlotWindow 2016-06-29 14:38:11 +02:00
Magne Sjaastad
e92624a862 Moved setting for main windows geometry and toolbar state to RiuMainWindowBase 2016-06-29 14:38:06 +02:00
Magne Sjaastad
aef466087d Established RiuMainPlotWindow 2016-06-29 14:37:41 +02:00
Jacob Støren
40388b308b #739 Added summary case classes. Use those from the summary curves. Made save/restore work again for the summary plots. File format for Summary stuff are changed. 2016-05-31 13:48:22 +02:00
Jacob Støren
5732b5008f Cached result variables in the summary reader
Fixed late field initialization
Additional cleanup and rename
2016-05-31 13:48:22 +02:00
Jacob Støren
38c15f57f2 #739 Show sum plot on creation. Load when opening project. Delete on close project 2016-05-25 14:05:31 +02:00
Magne Sjaastad
21f8b722b1 Redirect stdout and stderr to console using freopen_s
Previous redirection code does not work on VS2015, this commit works on
both VS2010 and VS2015
2016-05-04 15:11:42 +02:00
Magne Sjaastad
5fb04e9526 [System] Added support for display of regression images on top of each other in regression report
Use a slider concept (using CSS) to switch between generated and base
image
2016-01-11 08:00:05 +01:00
Magne Sjaastad
9c8a75a237 Do not modify fault settings when preparing for regression test 2015-12-11 10:45:48 +01:00
Jacob Støren
d84db62ebb System: Do not change the preferences when running regression tests.
We need the flexibility in the tests.
2015-12-10 12:21:01 +01:00
Magne Sjaastad
47bb20368a System : Fixed memory leaks 2015-12-09 13:52:25 +01:00
Magne Sjaastad
dc6a50ec3c Renamed from setCurrentObjectInTreeView to selectAsCurrentItem 2015-12-07 10:07:51 +01:00
Magne Sjaastad
de41755320 (#687) Added option RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS to enable unit tests 2015-12-03 11:38:59 +01:00
Magne Sjaastad
d2537a207f (#687) Improved launch of unit tests from command line 2015-12-03 10:33:38 +01:00
Jacob Støren
ee11d4fde7 (#672) Refactoring and Fix of side effects introduced by 704f4fa 2015-12-01 12:27:19 +01:00
Jacob Støren
7b9f2b41ed CppCheck fixes, Errors Warnings and performance 2015-11-27 16:37:26 +01:00
Magne Sjaastad
ac714ca2ea (#630) Give warning if user tries to save project to a read only file
Add saved file to recent file list
2015-11-20 10:50:23 +01:00
Magne Sjaastad
7cd2cd0f50 (#632) Add Eclipse cell to selection and show in 3D view and time history plot
Consolidated remove of model based on name in RimView
Cleanup selection and time history plot when project is closed
2015-11-09 19:05:31 +01:00
Magne Sjaastad
f12684964e Show class names only in Debug configuration 2015-10-30 11:45:55 +01:00
Magne Sjaastad
6c864c5bed (#622) Show warning when hiding LAS curves in TVD plots
This warning can be disabled from preferences
2015-10-30 11:42:11 +01:00
Magne Sjaastad
bc85ecd6ab Make sure all project windows are closed down as part of closeProject() 2015-10-28 15:30:20 +01:00
Magne Sjaastad
09a2579c49 Update icon state for range filters as part of loading project, not from initAfterRead 2015-10-28 12:23:24 +01:00
Magne Sjaastad
01224dd5e6 System : Removed unused variables 2015-10-26 10:18:57 +01:00
Magne Sjaastad
0405584bb6 System : Replaced tab with four spaces in ApplicationCode and subfolders 2015-10-23 15:46:25 +02:00
Magne Sjaastad
d022f70248 System : Improved robustness for regression tests
Clear list of reservoir views to be updated when closing project
Guard for null pointer when evaluating reservoir views for update
2015-10-23 14:13:14 +02:00
Jacob Støren
b18ae1a14a Fixed crash introduced by b15b23b856 2015-10-22 16:46:58 +02:00
Jacob Støren
b15b23b856 (#540) Removed the Visible Cells Sync from Gui.
Moved UpateOverrides from init afterRead to OpenProject
2015-10-22 16:02:28 +02:00
Magne Sjaastad
63d401b6e6 Added unit test to Testing menu
Launch of unit tests (gtests) is also possible from command line
parameter "unittest"
2015-10-05 16:09:51 +02:00
Jacob Støren
30f3796bab Slight progress-bar improvement 2015-09-28 08:21:51 +02:00
Magne Sjaastad
9b288970c1 (#495) Linux fixes 2015-09-25 16:45:46 +02:00
Magne Sjaastad
061288f1c3 (#495) Removed use of StdInclude 2015-09-25 15:57:50 +02:00
Magne Sjaastad
4424c110be Transformed static functions from ViewLinker to dynamic functions in RimView 2015-09-25 11:17:51 +02:00
Magne Sjaastad
3658724958 Preferences: More space for ssihub and checkbox to left of some item texts 2015-09-22 08:39:53 +02:00
Jacob Støren
bc13971fec Clear the views to regenerate when finished regenerating
This inefficiency has been there forever ...
2015-09-21 18:54:29 +02:00
Magne Sjaastad
a4b57a11a4 Added display of class names to preferences
Use flag in pdmUiTreeViewEditor to control display of class names
2015-09-18 19:24:02 +02:00
Magne Sjaastad
d9b070c0ef Use current project name as suggested project file Save As name 2015-09-18 18:49:53 +02:00
Jacob Støren
b55beb7e13 (#401) Update dependent views after independent ones
The dependent views needs the visibility from their masters
2015-09-18 17:08:57 +02:00
Pål Hagen
095d974e38 (#435) WIP - Reading metadata from LAS files 2015-09-14 16:33:28 +02:00
Jacob Støren
8b801bac50 (#442) Permanent fix. Needed to handle the new plot views properly 2015-09-10 08:14:28 +02:00
Jacob Støren
2288130f6a (#396) Several fixes regarding Project with plots.
Plots loads the curve data on project open
Plots are removed on project close
Still missing some updates (curve names ...)
2015-09-03 08:22:06 +02:00
Jacob Støren
30e2495849 Remove duplicate add/remove/setActive viewer methods from MainWindow.
(#408) Added Save Load of WellLog Plot window geometry also
2015-09-03 08:21:57 +02:00
Pål Hagen
0c8600c6dd (#355) Got rid of all RimUiTreeModelPdm includes 2015-08-24 17:42:42 +02:00
Pål Hagen
42656c45ad (#355) Removed old project tree view
RimUiTreeView and RimUiTreeModelPdm are no longer part of the solution.
TODO: Get rid of the source code files when all testing is done
successfully.
2015-08-24 14:56:09 +02:00
Jacob Støren
d371da246f Renamed uiPdmModel() to uiPdmModel_OBSOLETE()
To make it easier to see what code is using the obsolete stuff.
2015-08-14 13:27:17 +02:00
Jacob Støren
235e024533 (#354) Called updateConnectedEditors everywhere updateUiSubTree is called 2015-08-13 21:28:09 +02:00
Magne Sjaastad
beb291e1ce Fixed visibility of items in tree view 2015-08-12 17:46:22 +02:00
Magne Sjaastad
7956269fe4 Fixed missing updateConnectedEditors() as part of opening a new Eclipse case 2015-08-10 18:22:54 +02:00
Magne Sjaastad
90762d0f0f Use uiCapability/xmlCapability instead of capability<caf::PdmUiFieldHandle>()(capability<caf::PdmXmlFieldHandle>() 2015-08-05 13:27:36 +02:00
Magne Sjaastad
57e363896f Replaced uiField() and xmlField() with uiCapability() and xmlCapability() 2015-08-05 12:34:07 +02:00
Magne Sjaastad
690a264c81 Use helper class to read/write using QSettings 2015-08-04 11:47:06 +02:00
Magne Sjaastad
737936d846 Major modularization adjustments
Use uiField() when issuing setUi....() commands
Use PdmChildArrayField instead of PdmPointersFielc
Use PdmChildField instead of PdmField to pdm pointer objects
Use PdmChildArrayField instead of PdmField< std::list< caf::PdmPointer<
type > > >
Use PdmObjectHandle instead of PdmObject
Replaced parentFields(std::vector)  with parentField()
Use PdmUiPropertyViewDialog instead of PdmUiPropertyDialog
2015-07-31 18:58:23 +02:00
Pål Hagen
9a3fbfe0d5 (#80) "RMS" is now the default navigation mode 2015-07-02 14:53:36 +02:00
Pål Hagen
22c0c812af (#80) Refactored navigation mode related code
Made sure that navigation policies are created only one place, in the
new member function RiuViewer::updateNavigationPolicy().
2015-07-02 14:53:35 +02:00
Pål Hagen
c863d087f0 (#80) Added navigation modes
New navigation modes: GeoQuest and RMS. In addition, right mouse button
can now be used for panning in CAD navigation mode.
2015-07-02 14:53:34 +02:00
Pål Hagen
91adc80f90 Setting a flag in the application class while running regression tests 2015-06-26 13:44:16 +02:00
Pål Hagen
7917a89c65 Renamed source files according to new class names 2015-06-26 10:00:45 +02:00
Pål Hagen
fd03a02645 Renamed source files according to new class names 2015-06-26 10:00:44 +02:00
Pål Hagen
cd662dc7d1 Renamed source files according to new class names 2015-06-26 10:00:43 +02:00
Pål Hagen
29f4b6eb31 Renamed source files according to new class names 2015-06-26 10:00:42 +02:00
Pål Hagen
c2561eb287 Renamed source files according to new class names 2015-06-26 10:00:42 +02:00
Pål Hagen
2f34b03135 Renamed source files according to new class names 2015-06-26 10:00:41 +02:00
Pål Hagen
ca7428ca4a Renamed class RimAnalysisModels to RimEclipseCaseCollection 2015-06-26 10:00:40 +02:00
Pål Hagen
051ab1ea24 Renamed class RimResultCase to RimEclipseResultCase 2015-06-26 10:00:35 +02:00
Pål Hagen
dec6791027 Renamed class RimInputCase to RimEclipseInputCase 2015-06-26 10:00:33 +02:00
Jacob Støren
30fcbebc8e Deep fix of #316 and also implements #317
#316 Do not show wrong results ...
#317 Avoid stopping animation when switching results
This commit cleans up some of the inconsistencies etc in the top of the
display model generation logic.
2015-06-09 16:18:11 +02:00
Jacob Støren
9582c27e97 Regression test system: Added 0.4% compare fuzzyness
To reduce differences introduced by hardware differences.
[RegTest Small+Large OK]
2015-06-03 12:14:30 +02:00
Jacob Støren
ca6d9d364d Improved progress bar a bit, for geomech cases 2015-06-03 12:14:21 +02:00
Jacob Støren
2c7a741805 Renamed the files of RimReservoirView to RimEclipseView 2015-05-21 10:34:38 +02:00
Jacob Støren
ed74116376 Rename of RimReservoirView to RimEclipseView
To make the separation to geomech clearer, and alligning it to the
RigCaseNaming
2015-05-21 10:05:33 +02:00
Jacob Støren
969a181897 RimCase reintroduced as baseclass for all cases
Refactored to handle cases generically in  a lot of places.
Mostly complete regarding all these issues, but not tested yet:
Assigning caseId
Update relative path to the case data
RimProject::createDisplayModelAndRedrawAllViews
RimProject::computeUtmAreaOfInterest
Load case data on project open
save snapshots for all views
RegressionTest viewer size
Finding case based on caseId
Giving case information to octave
2015-05-15 18:51:49 +02:00
Jacob Støren
223f8385d2 Renamed base class RimCase to RimEclipseCase
To make room for a RimCase base class that can be used as base class for
RimGeoMechCase as well.
This commit is only the class rename not the file rename.
2015-05-15 08:40:27 +02:00
Jacob Støren
750fc5182c Refactor : Use allCases method instead of traversing
Preparations to allign Geomech and Eclipse cases
2015-05-15 08:18:11 +02:00
Jacob Støren
d6643d9d35 RimView etc: More aligning GeoMech/Eclipse
Now Animation drawstyle works fairly well.
2015-05-08 14:13:26 +02:00
Jacob Støren
3dac8807c7 Refactoring more general stuff into RimView
updateViewerWidget
scheduleUpdateDisplayModelAndRedraw
2015-04-30 10:34:15 +02:00
Jacob Støren
b94ba6ca0b Added nodal results reading to Femreader interface
Adjusted interface
Started to add control code to fire reader and visualization generation
2015-04-25 08:57:34 +02:00
Jacob Støren
27c2c040fe Added the 3D view to the geomech stuff 2015-04-20 16:56:26 +02:00
Jacob Støren
27f6bd9eb5 Start of geomech support
Possible GUI-tree layout
2015-04-20 09:02:33 +02:00
Magne Sjaastad
d9d4fdab3f Compute placeholder results when creating grid case group 2014-10-28 18:33:23 +01:00
Magne Sjaastad
2509fa974f Performance : Now possible to disable load of SOIL on load 2014-10-24 11:38:47 +02:00
Magne Sjaastad
a8ce90e404 Always compute grid faults 2014-09-26 08:15:22 +02:00
Magne Sjaastad
212b41f854 Updated help text 2014-09-24 07:21:26 +02:00
Magne Sjaastad
2d36af4f06 Updated file header for new files 2014-09-24 07:14:52 +02:00
Magne Sjaastad
b4df5419b1 Updated file header for modified files 2014-09-23 15:04:57 +02:00
Magne Sjaastad
314d07e733 SOIL is loaded/computed on demand, removed autocompute from prefs 2014-08-22 07:45:16 +02:00
Magne Sjaastad
b5d1c63966 Renamed to RimFaultResultSlot 2014-08-14 10:56:09 +02:00
Magne Sjaastad
39dc1421c4 Fault visibility : Restructured code 2014-08-14 10:56:08 +02:00
Magne Sjaastad
79fbe65686 Fault result: Moved fault result up one level in tree view 2014-08-14 10:56:06 +02:00
Magne Sjaastad
b2f80c7ef9 Fault result : Use checkbox to enable custom fault visualization
When checkbox is disabled, faults are visualized using current cell
visualization. When checkbox is activated, fault colors or custom fault
result is active
2014-08-14 10:56:05 +02:00
Magne Sjaastad
09f7868eb5 Preferences : Updated default values 2014-08-14 10:56:04 +02:00
Magne Sjaastad
51d4bd6023 Fault result : Moved config from FaultCollection to FaultResultSettings 2014-08-14 10:56:03 +02:00
Magne Sjaastad
cdbc5829ab Fault result : Renamed file and improved interface 2014-08-14 10:56:01 +02:00
Magne Sjaastad
11967c5161 Preferences : Added support for pdm objects recursively 2014-08-14 10:55:59 +02:00
Magne Sjaastad
0d14436b97 Fault result: Added fault result legend 2014-08-14 10:55:59 +02:00
Magne Sjaastad
710b9392ec Fault result: Added custom result to fault result project model 2014-08-14 10:55:58 +02:00
Magne Sjaastad
032a263685 Performance: Control how much data to import from file
User can control if faults, NNCs and simulation wells are to be imported
from file.
2014-08-14 10:55:56 +02:00