Commit Graph

290 Commits

Author SHA1 Message Date
Magne Sjaastad
97c3a330f6 Updated riGetSelectedCases to use a string as type name
Improved how to get currently selected cases
p4#: 21625
2013-05-15 12:03:36 +02:00
Magne Sjaastad
b3a15268f6 Added riGetCases
p4#: 21618
2013-05-15 10:51:41 +02:00
Jacob Støren
cad25bcd59 Caf:PdmUiTree: Rewrote rebuildUiSubTree to become updateUiSubTree
Now the UI state is preserved when refreshing the tree, making it suitable
to use this method more extensively. This paves the way to make changes to the Pdm data structure without considering the ui at all, until a  call to updateUiSubTree gets the ui gracefully into sync.
p4#: 21599
2013-05-13 12:00:52 +02:00
Magne Sjaastad
06d32ae97e Added groupId to case groups
p4#: 21594
2013-05-10 15:35:33 +02:00
CeetronResInsight
cb1c276e01 Fixed missing include (only needed for RHEL6)
p4#: 21591
2013-05-10 11:10:41 +02:00
Magne Sjaastad
eecd069b0a Introduced caseId to RimCase. Project keeps track of largest used ID, and is responsible for assigning ID to cases.
p4#: 21576
2013-05-08 10:41:56 +02:00
Jacob Støren
5c0e55e7c1 Linux compile fixes
p4#: 21550
2013-05-06 12:02:32 +02:00
Jacob Støren
cf664210bf Major cleanup/change in the way things are included.
Needs a Linux compile check.
p4#: 21545
2013-05-06 10:55:00 +02:00
Jacob Støren
e83fe8a471 CellEdge : Added options to turn off specific directions
p4#: 21510
2013-04-30 15:55:12 +02:00
Jacob Støren
1db5d3f03d Set default WellPipe visibility mode to "Visible Cells Filtered"
p4#: 21505
2013-04-30 14:55:59 +02:00
Jacob Støren
be0a2ec728 Legend: Added tick number formatting control
Auto, Fixed and Scientific. Fixed and Scientific respects the precision set.
p4#: 21504
2013-04-30 14:48:53 +02:00
Jacob Støren
60f86cfc3f Result Selection: Result is not changed before user actively selects in the list.
Changig type or porosity model only changes what variables are shown as accessible.
This is also applied to property filters.
Dual porosity support is also added to property filtered. Forgotten before.
p4#: 21499
2013-04-30 13:41:53 +02:00
Magne Sjaastad
445b6edfbd Fixed bug for missing result value during picking for static results
p4#: 21498
2013-04-30 13:34:49 +02:00
Magne Sjaastad
6ef5205343 Added interpolation of observed values to statistics computation
p4#: 21492
2013-04-30 11:36:50 +02:00
Magne Sjaastad
fad4761bc4 Update well information when creating a 3D window on a case
p4#: 21468
2013-04-29 11:08:31 +02:00
Magne Sjaastad
9367a3cb65 Context menu and selection toggle actions
Add toggle menu when all selected items are checkable
p4#: 21466
2013-04-29 08:52:43 +02:00
Magne Sjaastad
3ef803af01 Check for NULL before using pointer
p4#: 21465
2013-04-29 08:32:59 +02:00
Magne Sjaastad
ab8dfb4aad In RimProject, encode/decode into a string the currentIndex from QTreeView.
This will also make sure the active view is restored when opening a project
p4#: 21463
2013-04-26 19:05:35 +02:00
Jacob Støren
3806ff9baf Well cell transparency: Turned off well cell transparency when no well pipe is visible.
For results visulaization, cell edge and faults faces.
Not yet done for visualization without result colors.
p4#: 21462
2013-04-26 16:46:38 +02:00
Magne Sjaastad
2e2212d7ea Add and delete of script directory from context menu
p4#: 21461
2013-04-26 16:17:36 +02:00
Magne Sjaastad
0b2e19926d Added updateUiIconFromState() in cafPdmUiItem to create disabled icons based on object state
Use updateUiIconFromState() from collection objects
p4#: 21459
2013-04-26 14:47:34 +02:00
Magne Sjaastad
4b8e30e649 Added flip X/Y-axis on RimCase, will invert the sign of coordinates for the given flip axis.
p4#: 21453
2013-04-26 13:19:34 +02:00
Magne Sjaastad
8ccd89d3d1 Added scale to toolbar
p4#: 21452
2013-04-26 11:49:37 +02:00
Jacob Støren
b14b138dae Range Filter: Added option to not propagate rangefilter onto the subgrids
p4#: 21445
2013-04-26 08:53:40 +02:00
Magne Sjaastad
a5b3c233d2 Update icon state for well collection when toggled off
p4#: 21430
2013-04-25 11:09:34 +02:00
Magne Sjaastad
47eb6c7589 Added toggle state to property filter collection
p4#: 21429
2013-04-25 10:57:52 +02:00
Magne Sjaastad
7b2ec05383 Added toggle option for range filter collection
p4#: 21428
2013-04-25 10:48:44 +02:00
Magne Sjaastad
f730707448 Update animation toolbar when changing well data source case
p4#: 21424
2013-04-25 09:54:41 +02:00
Magne Sjaastad
8fc9d06edb Toggle on off visibility of wells in well collection
p4#: 21419
2013-04-25 09:07:29 +02:00
Magne Sjaastad
c0bfc9bbe1 Call display update once after setting toggle state for a selection of wells
p4#: 21417
2013-04-25 08:47:01 +02:00
Magne Sjaastad
884dd46551 Moved well label into well head group
p4#: 21415
2013-04-25 06:33:37 +02:00
Jacob Støren
10e6fbc5bd Range filter: Add grid type drop-down list to enable LGR-grid range filtering
TP#3995
p4#: 21408
2013-04-24 12:00:45 +02:00
Magne Sjaastad
4ad0a05822 Improved ordering and grouping of parameters for wells and well collection
p4#: 21404
2013-04-24 10:38:50 +02:00
Magne Sjaastad
586908b9be Refresh animation toolbar using createDisplayModelAndRedraw()
p4#: 21394
2013-04-24 07:57:31 +02:00
Magne Sjaastad
b3c30c1b21 Added support for setting multiple script directories
p4#: 21393
2013-04-24 07:35:31 +02:00
Magne Sjaastad
fc405f0fb8 Implemented copy of view using context menu and keyboard shortcuts
p4#: 21377
2013-04-23 11:24:54 +02:00
Magne Sjaastad
de5542976c Avoid to rebuild the complete project tree view when importing a grid case group
Set cell results as current item in tree view when importing a case
p4#: 21368
2013-04-23 08:11:52 +02:00
Magne Sjaastad
290f8d4e58 Removed obsolete code
p4#: 21363
2013-04-22 14:44:43 +02:00
Magne Sjaastad
b20be8ad25 Check if directory is readable before creating a script collection item
p4#: 21362
2013-04-22 14:37:33 +02:00
Magne Sjaastad
d825b0654c Check for valid pointer before accessing cell result data
p4#: 21359
2013-04-22 13:25:32 +02:00
Magne Sjaastad
8c28e8ff6c Create UI tree items and insert in parent when opening new cases from file. Avoid building the complete tree using onProjectOpenedOrClosed()
p4#: 21357
2013-04-22 11:54:41 +02:00
Jacob Støren
d034717460 Removed unused code
p4#: 21354
2013-04-22 10:11:37 +02:00
Magne Sjaastad
79e7d3604c Expand up to root when creating a view. Removed use of expandAll()
p4#: 21353
2013-04-22 10:04:37 +02:00
Magne Sjaastad
a9e0554635 Use semicolon as string list separator. Fixed bug in tree view state parameter passing.
p4#: 21350
2013-04-22 09:20:57 +02:00
Jacob Støren
6cac031fff Added well pipe visibility filter based on cell visibility.
Only show pipes with wells with open connections in visible cells
p4#: 21349
2013-04-22 09:13:37 +02:00
Magne Sjaastad
638e82d24c Store tree view state in project file
p4#: 21342
2013-04-19 13:20:46 +02:00
Magne Sjaastad
b5b9a736e2 As creation of a font is time consuming, create one application font instance
p4#: 21338
2013-04-19 08:02:36 +02:00
Magne Sjaastad
fc84fce67f Hide active field from property view as this is now handled by checkbox in tree view
p4#: 21337
2013-04-19 07:50:49 +02:00
Magne Sjaastad
acbe59d9c1 Use showWindow as objectToggleField for reservoir views
p4#: 21336
2013-04-19 07:43:37 +02:00
Jacob Støren
cd24e77557 Drawstyle and Faults control Toolbuttons
p4#: 21335
2013-04-18 15:10:57 +02:00
Magne Sjaastad
759a17337b Show checkbox in treeview for range and property filters
p4#: 21332
2013-04-18 08:29:41 +02:00
Magne Sjaastad
78dac434d9 Rename
p4#: 21331
2013-04-18 07:41:00 +02:00
Magne Sjaastad
f9985af7e9 Added source groups in CMake to improve file organization in generated projects
p4#: 21330
2013-04-18 07:33:45 +02:00
Magne Sjaastad
5a79a41da8 Toggle on/off multiple selection using keyboard (space, enter, return)
p4#: 21327
2013-04-17 11:06:47 +02:00
Magne Sjaastad
ec2754ce30 Added checkbox for wells in treeview
p4#: 21325
2013-04-17 08:25:32 +02:00
Magne Sjaastad
9f07daefad Moved MimeData into RimMimeData
p4#: 21317
2013-04-16 11:19:37 +02:00
Jacob Støren
427bf5a2dd Linux compile warning fix
p4#: 21316
2013-04-16 10:46:29 +02:00
Magne Sjaastad
da82770e5f Moved file list from ApplicationCode to ProjectDataModel
p4#: 21315
2013-04-16 10:27:36 +02:00
Magne Sjaastad
8750bfde81 Whitespace
p4#: 21309
2013-04-16 09:53:31 +02:00
Jacob Støren
99ad86b984 Added Z-Scale to the 3D overlay info text
p4#: 21303
2013-04-16 09:03:40 +02:00
Jacob Støren
d89ea1e385 Legend default number precision set to 2
p4#: 21301
2013-04-16 08:50:31 +02:00
Jacob Støren
d65ce7957b Added viewer background color to preferences
p4#: 21284
2013-04-15 13:13:41 +02:00
Magne Sjaastad
e0654c9891 Added progress info when reading well data for statistics case
p4#: 21274
2013-04-12 15:53:37 +02:00
Magne Sjaastad
9b0378f8e0 Added support for selected well data in a statistics case
Now possible to show well data from selected source case for a statistics case
Added state to RimResultCase to monitor data actually read from disk
p4#: 21258
2013-04-12 12:03:04 +02:00
Magne Sjaastad
aea13e1810 Whitespace
p4#: 21256
2013-04-12 11:12:53 +02:00
Jacob Støren
432106c9c5 External file references: Fixed the relocation in the advanced cases
p4#: 21253
2013-04-12 09:43:40 +02:00
Jacob Støren
462bc16ace Rewrite of the searchpath system for external file references
The Relocation code is not yet completely working for the advanced cases
p4#: 21251
2013-04-12 08:31:59 +02:00
Magne Sjaastad
464565f1bf List all grid case groups where statistics data will be deleted based on a drop action
p4#: 21247
2013-04-11 14:14:52 +02:00
Magne Sjaastad
67535b648c Add default name/number to new grid cases
p4#: 21246
2013-04-11 14:08:06 +02:00
Magne Sjaastad
48d2a6c598 Use model index at drop position when asking user for confirm of drop event causing statistics to be deleted
p4#: 21242
2013-04-11 12:06:38 +02:00
Magne Sjaastad
db1dd5dd0d Do not create statistics case in constructor
p4#: 21237
2013-04-11 11:18:40 +02:00
Magne Sjaastad
94a4d83885 Made adding of grid group more robust
p4#: 21236
2013-04-11 11:03:52 +02:00
Magne Sjaastad
e70615d02a Check for valid pointer
p4#: 21235
2013-04-11 10:42:35 +02:00
Magne Sjaastad
dbc9869f61 Fix missing display of wells in tree view
p4#: 21234
2013-04-11 10:35:33 +02:00
Magne Sjaastad
04a987d99b Show context menu when selection is empty
p4#: 21233
2013-04-11 10:11:57 +02:00
Magne Sjaastad
807c6de823 Moved adding of one statistics case to contstructor to make sure the statistics case UI is displayed when creating a new grid case group
p4#: 21232
2013-04-11 08:45:56 +02:00
Magne Sjaastad
665c2ace8b Handle when it is not possible to read cases from disk in a grid group
p4#: 21230
2013-04-10 15:33:34 +02:00
Magne Sjaastad
687bc8aecf Return true when a dynamic result has only one time step
p4#: 21226
2013-04-10 14:55:50 +02:00
Magne Sjaastad
33729d5ed4 Removed invalid assert
p4#: 21222
2013-04-10 13:22:43 +02:00
Magne Sjaastad
927fa6c5e7 Fixed issue related to computation of SOIL. Mark metadata for derived SOIL with mustBeCalculated.
p4#: 21220
2013-04-10 11:37:34 +02:00
Jacob Støren
d0eebb92a8 Removed PERMY as default statistics property
p4#: 21204
2013-04-09 14:36:38 +02:00
Magne Sjaastad
812aee9be4 Text changes
p4#: 21187
2013-04-09 07:52:34 +02:00
Jacob Støren
12294ca853 Statistics Ui: Added default selected properties
p4#: 21185
2013-04-08 17:02:07 +02:00
Magne Sjaastad
bd563df02e Use setter instead of overloaded constructor
p4#: 21177
2013-04-08 14:29:43 +02:00
Jacob Støren
fd67c9dc18 Statistics ui: Replaced status and unlock button with a Calculate/Edit button.
Made Summary description complete and more compact
p4#: 21176
2013-04-08 14:17:39 +02:00
Jacob Støren
1c65fe7e2c Statistics case User interface and behaviour working.
p4#: 21171
2013-04-08 12:16:38 +02:00
Magne Sjaastad
64899f62c2 Detect when project path has changed, and do a explicit update of file path for RimCases.
Do not use initAfterRead
p4#: 21165
2013-04-08 12:01:40 +02:00
Magne Sjaastad
775b9e5bee Update file paths if project file is moved on disk
p4#: 21162
2013-04-08 09:57:40 +02:00
Magne Sjaastad
4ae9182fc6 Extract path from document file name in RimProject
p4#: 21160
2013-04-08 08:44:33 +02:00
Magne Sjaastad
b9ed45af2c If project is moved on disk, execute initAfterRead() to propagate project file name changes to underlying objects
p4#: 21159
2013-04-08 08:36:34 +02:00
Magne Sjaastad
e89b88e47e Added NULL pointer guarding
p4#: 21157
2013-04-08 08:23:06 +02:00
Magne Sjaastad
95d1c98bee Read grid dimensions and verify equality before adding a result case
Harmonized and refactored creation of RimResultCases
p4#: 21156
2013-04-07 17:27:45 +02:00
Magne Sjaastad
da8480a91b Added constructor with three parameters
Added reading of grid dimensions
p4#: 21155
2013-04-07 17:20:58 +02:00
Magne Sjaastad
c7d83893e0 Fixed bug causing function to always return true
p4#: 21149
2013-04-05 14:46:35 +02:00
Magne Sjaastad
ae812a2bbf Implemented check for any results of statistics cases
p4#: 21148
2013-04-05 14:39:34 +02:00
Magne Sjaastad
593a53a5a6 Added delete of a case not part of a case group
p4#: 21144
2013-04-05 14:18:34 +02:00
Jacob Støren
d07783ebaa Start of calculation status/unlocking of Statistics results
p4#: 21143
2013-04-05 13:29:47 +02:00
Magne Sjaastad
700f18391b Added GUI for asking user to confirm change for grid case group
p4#: 21142
2013-04-05 13:22:36 +02:00
Jacob Støren
0fed66deb2 Moved the statistical calculation algorithm code into a separate file.
Added unit test to these calculations, and fixed a calculation error.
p4#: 21140
2013-04-05 10:49:39 +02:00
Jacob Støren
75f089d0d4 Statistics UI is now functional, together with two percentile evaluation methods
Refurbished the calculation algorithm code somewhat
p4#: 21134
2013-04-04 16:53:34 +02:00