Commit Graph

1208 Commits

Author SHA1 Message Date
Kristian Bendiksen
4e7541513e #1582 Remove last reference to caf::FixedArray. 2020-08-21 16:17:59 +02:00
jonjenssen
bbc659799e Surfaces: Improve UI and usability for surfaces (#6290)
* Add reload command to surface context menus. Still missing the part that actually reloads the data.

* Add additional check for null ptr to avoid crash

* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)

* Fixes by clang-format

* Include offset and slice index in surface name shown in project explorer

* Allow importing the same file multiple times

* Disable lighting for surfaces, as it doesn't look good for now. Fixes #6084

* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface

* Create new surfaces only on collection context menu

* Make sure tree view icon is enabled/disabled when the check box is clicked

* Fix depth offset for grid case surfaces, missing base function call.

* Make public method .. public.

* Add reload command to surface context menus. Still missing the part that actually reloads the data.

* Add additional check for null ptr to avoid crash

* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)

* Fixes by clang-format

* Include offset and slice index in surface name shown in project explorer

* Allow importing the same file multiple times

* Disable lighting for surfaces, as it doesn't look good for now. Fixes #6084

* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface

* Create new surfaces only on collection context menu

* Make sure tree view icon is enabled/disabled when the check box is clicked

* Fix depth offset for grid case surfaces, missing base function call.

* Make public method .. public.

* Fixes by clang-format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-11 11:34:34 +02:00
Magne Sjaastad
7c8fced4fe Remove obsolete includes 2020-07-01 08:22:26 +02:00
Magne Sjaastad
be67b0cb67 #6093 Wells: Toggling Off a well path leaves perforations visible 2020-06-22 14:31:58 +02:00
Magne Sjaastad
8cc167568c #6033 Surface Properties : Add legend and adjust update functions 2020-06-11 15:03:08 +02:00
Magne Sjaastad
c92b3e3024 Remove unused code 2020-06-11 15:03:08 +02:00
github-actions[bot]
6b5f4dddc9 Fixes by clang-format 2020-06-08 11:09:51 +02:00
github-actions[bot]
674b764cb6 Fixes by misspell-fixer 2020-06-04 08:24:58 +02:00
Gaute Lindkvist
2fe4372dc2 First round of caf::FontTools 2020-06-03 14:00:04 +02:00
Kristian Bendiksen
8da32eddc1 Remove unused RiaColorTables includes. 2020-05-24 17:26:51 +02:00
Magne Sjaastad
04311c64c6 Performance : Move construction of AABB tree out of parallel loop
Crash seen for regression test TestCase_Surfaces
2020-05-21 07:42:22 +02:00
Kristian Bendiksen
2f4ee076de Remove "set-but-unused" variables (generates warnings on gcc 7). 2020-05-20 13:45:59 +02:00
Magne Sjaastad
0c13f132fa #5932 NNC data : Compute geometry when NNC data is asked for 2020-05-15 12:55:25 +02:00
Gaute Lindkvist
ab0b05b31c Improve NNC memory use 2020-05-15 12:55:25 +02:00
Gaute Lindkvist
97dd891d38 Reduce NNC memory use 2020-05-15 12:55:25 +02:00
Magne Sjaastad
3d2ac4b573 Fix misspelled Allan diagram (#5906)
Closes #5816
2020-05-12 15:14:42 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +02:00
Magne Sjaastad
b7aeafc4d5 #5865 Fault and NNC performance : Build NNC geometry when needed 2020-05-04 16:09:29 +02:00
Magne Sjaastad
a615cc78dc #5856 Well Disks : Improve logic to guard when geometry is created 2020-05-04 13:27:09 +02:00
Magne Sjaastad
77734b8b57 #5379 Surface : Add grid case surface 2020-05-04 06:32:37 +02:00
Kristian Bendiksen
4dfa975836 Fix warnings about "statement without effect" on gcc 7 on linux. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
773ec05f7d Remove unused variable. 2020-04-30 12:46:50 +02:00
Magne Sjaastad
1630c5651e #5852 3D view: Avoid creation of viz objects in clearGeometryCache
m_geometries[geomType].clearAndSetReservoir( geomType, rimEclipseCase, m_reservoirView ) was causing relative heavy performance issues. This is related to several structures being allocated and initialized in constructor in some visusualization object. Preferred workflow: Mark the geometry for recreation using the flag, and do the actual work when visualization is to be created.
2020-04-30 12:29:58 +02:00
Magne Sjaastad
f89dcf4e52 Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
83914006fd Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
3f88fe197a Convert to enum class 2020-04-24 11:40:22 +02:00
Gaute Lindkvist
0bd477485a Merge branch 'dev' into feature-analysis-plots-initial 2020-04-23 08:39:27 +02:00
Magne Sjaastad
e8068d7b60 Merge pull request #5822 from OPM/tensor-plot-for-fluxes-5583
Tensor plot for fluxes 5583
2020-04-22 22:10:27 +02:00
Magne Sjaastad
9041bc80fa #5779 Add const to access methods 2020-04-17 13:54:15 +02:00
Magne Sjaastad
bed3381c4c #5766 Sim Well Disks : Improve logic related to display of labels 2020-04-17 13:54:09 +02:00
Kristian Bendiksen
3f988f2d79 #5766 Make it possible to change color of well disks. 2020-04-17 13:54:09 +02:00
Kristian Bendiksen
e5eb2063be #5766 Hide well disk labels when simulation well labels are turned off. 2020-04-17 13:54:08 +02:00
Kristian Bendiksen
5b1e75d259 #5766 Make well disk 4x bigger by default. 2020-04-17 13:54:08 +02:00
Magne Sjaastad
15d727aca7 #5779 Add const to access methods 2020-04-07 21:44:43 +02:00
Magne Sjaastad
5453e766d0 #5766 Sim Well Disks : Improve logic related to display of labels 2020-04-07 08:42:29 +02:00
Kristian Bendiksen
eff3c91e4b #5766 Make it possible to change color of well disks. 2020-04-07 08:42:29 +02:00
Kristian Bendiksen
0be429e0fe #5766 Hide well disk labels when simulation well labels are turned off. 2020-04-07 08:42:29 +02:00
Kristian Bendiksen
6702f21097 #5766 Make well disk 4x bigger by default. 2020-04-07 08:42:29 +02:00
Jacob Støren
adb06f229c Merge dev into feature-analysis-plots-initial 2020-03-31 13:13:47 +02:00
Magne Sjaastad
b064159cbd Add missing include 2020-03-30 10:15:20 +02:00
Magne Sjaastad
98410215e7 Linux : Use std::fabs 2020-03-30 07:36:13 +02:00
Kristian Bendiksen
b566ddbd4b #5548 Remove switch fallthrough (warning on gcc 7). 2020-03-29 22:19:34 +02:00
Kristian Bendiksen
36b278e6c2 #5658: Use brighter colors on well disks. 2020-03-25 20:49:44 +01:00
Kristian Bendiksen
3c2d456996 #5659 Well Disks: Use decimal number format for small numbers 2020-03-25 20:49:44 +01:00
Magne Sjaastad
f131ad77e1 Merge branch 'dev' into feature-analysis-plots-initial 2020-03-06 08:06:48 +01:00
Kristian Bendiksen
c464664c40 #5583 Add visualization for fluxes. 2020-03-04 22:18:01 +01:00
Magne Sjaastad
8c485ab81c Fix several warnings and potentially uninitialized data 2020-03-03 20:22:03 +01:00
Jacob Støren
afea6963b2 Fix linux compile error and warnings 2020-03-03 09:52:53 +01:00
Magne Sjaastad
b497555f87 #5618 Well Disk : Remove black disk to indicate producer 2020-02-28 15:49:55 +01:00
Magne Sjaastad
699a3f9b34 #5380 Surface : Modification of depth 2020-02-20 14:01:12 +01:00