Commit Graph

6750 Commits

Author SHA1 Message Date
Gaute Lindkvist
23c90bd6eb #2846 Fix bad curve projection
* Project existing points onto triangles first and make sure we choose the right triangle by
   sorting possible projections by distance.
 * Also allow some tolerance for the inside check.
 * Create the new vertices by projecting the curve segment vector onto each triangle plane
   before looking for intersections with the triangle edges.
2018-05-03 13:39:39 +02:00
Gaute Lindkvist
a165172723 #2847 Add a fall back dominant direction (0, -1, 0) if the path does not extrude in z-direction.
* This direction means Left will cause it to go -x and Right +x so that the directions are correct with respect to "Left" and "Right" when you look "North".
2018-05-03 13:39:39 +02:00
Gaute Lindkvist
f6cbf0f34f #2824 Geomech 3d Well Log Curves: update UI and 3d view when user changes settings 2018-05-03 13:39:39 +02:00
Gaute Lindkvist
944baee00e Fix comment in DrawSurfaceGenerator 2018-05-03 13:39:39 +02:00
Bjørn Erik Jensen
58f99a848e #2802 Summary cases import. Display progress info during summary cases creation as well 2018-05-03 13:35:40 +02:00
Bjørn Erik Jensen
ccd0c0d9f9 #2836 Hierarchy import dialog. Insert * in effective filter when path filter is empty 2018-05-03 12:46:15 +02:00
Bjørn Erik Jensen
9150981e13 #2842 Ensemble curve set. Update referring curve sets when adding or removing cases from an ensemble 2018-05-03 12:05:28 +02:00
Bjørn Erik Jensen
6f275e0915 #2844 Ensemble curve set. Fix HUGE_VAL -> numerical_limits 2018-05-03 11:50:19 +02:00
Bjørn Erik Jensen
dd23fa2ead #2844 Ensemble curve set. Show only relevant color modes. Use gray curves for cases without emsemble params 2018-05-03 11:04:01 +02:00
Jacob Støren
8b6c226f5b #2843 Fix missing 2d intersection view name updates 2018-05-03 10:11:30 +02:00
Jacob Støren
2f80e99abc #2829 Add overall handling of std::bad_alloc exception with a message box. Now the user can know what is happening, and possibly save his work. On linux this will only work sometimes unless sysctl vm.overcommit_memory = 2 2018-05-03 10:11:30 +02:00
Bjørn Erik Jensen
92fd4183a9 #2797 Ensemble curves. Support for text ensemble parameters. Unit test 2018-05-03 09:55:13 +02:00
Magne Sjaastad
483f19e5ca #2838 Ensemble Curve Name : Show curve name in parameter legend title 2018-05-02 15:14:20 +02:00
Magne Sjaastad
cff95a1880 #2838 Ensemble Curve Name : Hide Qwt legend if result legend is used 2018-05-02 15:14:20 +02:00
Magne Sjaastad
cfab910272 Remove unused code 2018-05-02 15:14:20 +02:00
Magne Sjaastad
95c11d0085 #2838 Ensemble Curve Name : Call updateConnectedEditors on RimSummaryPlot 2018-05-02 15:14:20 +02:00
Magne Sjaastad
b023bd02a3 #2838 Ensemble Curve Name : Improve logic for display of legend 2018-05-02 15:14:20 +02:00
Gaute Lindkvist
26975e3ce3 Fix unit tests by removing assert in RimWellLogCurveNameConfig 2018-05-02 14:22:49 +02:00
Gaute Lindkvist
ffccb078e8 #2841 Fix bad result when z-clipping is applied. 2018-05-02 14:01:50 +02:00
Gaute Lindkvist
a37957824a Clean up 3D well log generator code. Renamed Grid -> DrawSurface and fixed spelling. 2018-05-02 12:10:05 +02:00
Gaute Lindkvist
6e3d989b2f #2825 Fix curve stitching issues against 3dwell log curve background. 2018-05-02 11:51:36 +02:00
Gaute Lindkvist
1f44ea1ea3 Make draw plane selection for curves be unrelated to 3d Track (somewhat related to #2825).
* Makes more sense user wise and makes for better code.
* Helps refactor code to relate grids to curves so the curves can have access to the grid
   it is being drawn on.
* This will help fix #2825 by being able to project curve points onto the exact triangle geometry.
2018-05-02 11:51:22 +02:00
Gaute Lindkvist
7307b97466 #2823 Switching curve plane does not work
* The previous drawable and geometry was kept if switching to a result type without
  valid points.
* The drawable is then stuck in position until switching back to a result
  type that has valid points.
* This commit fixes this by clearing the geometry every time you draw.
* TODO: cache values when it is possible to do so.
2018-05-02 10:22:37 +02:00
Gaute Lindkvist
04f793c19d #2782 Auto name for 3d Well Log Curves 2018-05-02 10:22:36 +02:00
Bjørn Erik Jensen
b686c1a081 Hierarchy dialog. Removed duplicate definition 2018-04-30 15:33:04 +02:00
Bjørn Erik Jensen
dc81c889ca #2789 Hierarchy dialog. Prevent double file extension 2018-04-30 14:59:13 +02:00
Magne Sjaastad
ccac7643b8 #2820 Legends : Support selection of legend items when clicking in 2D intersection view 2018-04-30 14:47:47 +02:00
Magne Sjaastad
c989d4eb0d Fix crash when picking on legends in 2D intersection view 2018-04-30 14:47:47 +02:00
Magne Sjaastad
9ba93c6385 #2820 Legends: Select tensors when clicking on tensor legend 2018-04-30 14:47:47 +02:00
Bjørn Erik Jensen
d5037bd982 #2812 Origin import dialog. Set arrow cursor while dialog is open 2018-04-30 14:03:46 +02:00
Bjørn Erik Jensen
5ae536cfc7 #2833 Origin import dialog. Prevent error dialog after pressing cancel 2018-04-30 12:53:32 +02:00
Bjørn Erik Jensen
b34deb1038 #2813 Origin import dialog. Add text '+ xxx more files' if number of origin files exceedes 4 2018-04-30 11:26:31 +02:00
Bjørn Erik Jensen
39cfc687bd #2813 Origin import dialog. Copy file name context menu 2018-04-30 10:44:07 +02:00
Magne Sjaastad
6715ef5a8a #2821 Export Completions: Use Split on Well And Completions as default 2018-04-30 08:15:55 +02:00
Magne Sjaastad
0da7686cdb #2760 Ensemble Curves: Show one curve legend 2018-04-30 08:01:17 +02:00
Magne Sjaastad
1a0f242c0b #2780 Ensemble Curve Set : Improve plot title including ensembles 2018-04-30 08:01:17 +02:00
Bjørn Erik Jensen
14d78571a8 #2813 Origin import dialog. Add toggle 'show full paths' 2018-04-27 15:37:35 +02:00
Magne Sjaastad
6bbe025467 Use emtyp() instead of size() 2018-04-27 14:08:12 +02:00
Magne Sjaastad
c0777e4950 #2780 Ensemble Curve Set : Use ensamble name as case name 2018-04-27 14:08:12 +02:00
Magne Sjaastad
67eedc0f46 Move implementation to source file and whitespace cleanup 2018-04-27 14:08:12 +02:00
Magne Sjaastad
44c3e2c602 #2780 Ensemble Curve Set : Add basic auto name of curve set 2018-04-27 14:08:12 +02:00
Magne Sjaastad
c831553cc2 #2816 Summary Curves : Hide legend in Qwt if only one curve is present 2018-04-27 14:08:12 +02:00
Bjørn Erik Jensen
6463a67107 #2813 Origin import dialog. Bold group box titles 2018-04-27 13:21:00 +02:00
Bjørn Erik Jensen
313ae8f505 #2813 Origin import dialog. Spacing between groups 2018-04-27 13:07:53 +02:00
Bjørn Erik Jensen
4c2eeb9a9f #2813 Origin import dialog. Full path in tool tip 2018-04-27 12:43:32 +02:00
Bjørn Erik Jensen
fd3bdff4e5 Hierarchy dialog. Do not clear root path field when clicking cancel in browse dialog 2018-04-27 12:43:32 +02:00
Bjørn Erik Jensen
fa2c188452 #2813 Origin import dialog. Import options group box replaced by label 2018-04-27 12:43:32 +02:00
Bjørn Erik Jensen
9a51343321 #2813 Origin import dialog. Remove misplaced assert 2018-04-27 12:43:32 +02:00
Bjørn Erik Jensen
7ff30a13d1 #2813 Fix logic for removing common root path 2018-04-27 12:43:32 +02:00
Magne Sjaastad
23c439fe6b #2831 StatusBar : Hide statusBar during regression test execution 2018-04-27 12:40:46 +02:00
Magne Sjaastad
f1fbe4d8ac PlotCurve : Remove duplicate code 2018-04-27 11:58:22 +02:00
Magne Sjaastad
ae3cc0010d Reapply import menu improvements in 3bc102bb01
Changes was unitentionally reverted by 132db2bb1e
2018-04-27 09:33:11 +02:00
Bjørn Erik Jensen
0fcdfadddc #2813 Origin summary dialog. 'Ok to all' button 2018-04-27 08:27:16 +02:00
Magne Sjaastad
478955d0f6 #2816 Summary Curves : Replace empty auto name with plot title
Also add a fallback if everything else ends up with an empty name
2018-04-27 07:38:32 +02:00
Magne Sjaastad
6ed6a55c4e #2831 System : Display text in status bar to ensure the widget is created 2018-04-27 06:55:26 +02:00
Magne Sjaastad
c267f32638 Rename to RiuPlotMainWindow 2018-04-27 06:28:08 +02:00
Magne Sjaastad
515ed8a649 #2798 Dock Widgets : Store dock widget state when closed by "x" 2018-04-26 20:40:06 +02:00
Magne Sjaastad
132db2bb1e #2798 Dock Widgets : Improve menus and handling of tabbed dock widgets
Create dock widgets based on static names
Build Windows menu based on static names
Wire up toggleView actions to RiuDockWidgetTools
Change dock widget visibility based on view
2018-04-26 20:05:42 +02:00
Magne Sjaastad
014944b4c0 #2798 Dock Widgets : Raise widget to make it top most widget if tabbed 2018-04-26 19:57:51 +02:00
Magne Sjaastad
97baff4e0f #2798 Dock Widgets : Add RiuDockWidgetTools 2018-04-26 19:52:27 +02:00
Bjørn Erik Jensen
3647792eb9 #2807 Origin summary files. Fix 'OK to all' not working issue 2018-04-26 14:27:23 +02:00
Bjørn Erik Jensen
fb384e596d #2811 Ensemble curve set. Set initial ensemble 2018-04-26 11:48:12 +02:00
Bjørn Erik Jensen
145b85cc1b #2779 Ensemble curves. Add import sub menu 2018-04-26 11:20:47 +02:00
Bjørn Erik Jensen
3bc102bb01 #2779 Ensemble curves. Reorganize import menu in main and plot windows 2018-04-26 10:58:59 +02:00
Bjørn Erik Jensen
ad6ef2a49b #2806 Origin summary files dialog. Replace text 'Apply settings to...' to 'OK to All' 2018-04-26 09:51:35 +02:00
Bjørn Erik Jensen
93304360fa #2810 import ensemble. Import all summary files even though some files miss ensemble parameters 2018-04-26 09:47:43 +02:00
Gaute Lindkvist
029369d187 #2677 Show curve value when clicking the curve
This change will show the following:
   - Curve name
   - Well path name
   - Measured depth
   - name of variable
   - value
2018-04-25 14:13:12 +02:00
Gaute Lindkvist
3a670d94a2 #2801 Fix Cotire build. 2018-04-25 14:13:12 +02:00
Magne Sjaastad
a0e4f71138 #2715 Add direct access to RigFemPartCollection from a GeoMechView 2018-04-25 12:45:58 +02:00
Magne Sjaastad
8383ee12cf #2715 Mohr Circle plot: Early exit if element type is not HEX8P 2018-04-25 12:45:58 +02:00
Magne Sjaastad
9856038524 #2715 Geo Mech : Show element type in Result Info 2018-04-25 12:45:58 +02:00
Magne Sjaastad
bc26fa697c #2715 Mohr Circle plot : Do as little as possible if not visible 2018-04-25 12:45:58 +02:00
Magne Sjaastad
fdcf9f3ba4 #2715 Mohr Circle plot : Hide dock widet by default 2018-04-25 12:45:58 +02:00
Jacob Støren
e86c39b189 #2774 Import Ensemble: Ask for name before importing cases 2018-04-25 12:01:26 +02:00
Jacob Støren
54b21a8a49 Rename of static recursive search dialog method 2018-04-25 11:25:29 +02:00
Jacob Støren
4a7f54689e #2799 Origin Summary Cases: Fix option order in preference dialog 2018-04-25 11:21:30 +02:00
Jacob Støren
cee99af324 #2768 Improved progress feedback in FileHierarchy dialog 2018-04-25 10:17:41 +02:00
Jacob Støren
9f43da2d10 #2768 Fix missing matches when root + path filter ends with an exact dir-name 2018-04-25 10:17:41 +02:00
Jacob Støren
87ccdd06af #2768 First shot on faster search regime. Some issues left 2018-04-25 10:17:41 +02:00
Gaute Lindkvist
a7c72b549b #2790 Progress bar when importing summary cases. 2018-04-25 09:26:12 +02:00
Gaute Lindkvist
c5e4bf93a6 Summary Case Import cleanup (#2795) 2018-04-25 09:25:35 +02:00
Gaute Lindkvist
e953d6800c #2795 Summary Case Import: When importing grids keep going even if summary file import fails. 2018-04-24 15:55:51 +02:00
Gaute Lindkvist
f456911c80 #2794 Summary Case Import: Improve error reporting.
* When an error is found with one summary case file, continue importing all the files that worked.
* Report an error in the log window and a message box afterwards about the case that failed.
* Fix crash when loading .EGRID file without a summary case.
2018-04-24 14:19:08 +02:00
Magne Sjaastad
b6aa35bf11 #2793 RegTest, Fault visibility : Add translation code for older project files 2018-04-24 12:56:28 +02:00
Magne Sjaastad
9ac3d806e2 #2663 Rename 2018-04-23 23:06:21 +02:00
Magne Sjaastad
a9b1883dc8 #2663 Zoom All : Check if completions intersects bounding box of model 2018-04-23 22:52:44 +02:00
Jacob Støren
54c7932806 Fix crashes when reading an odb file fails due to corruption 2018-04-23 16:35:19 +02:00
Gaute Lindkvist
51fb8a6935 #2787 Import summary case does not work on linux
* Make sure summary files are added to class member in getFilesToImportUsingPrefs.
* The code used to return a vector of summary files, now just a boolean and the files
   are meant to be added to the vector for later retrieval.
2018-04-23 14:50:12 +02:00
Gaute Lindkvist
765b170efd 3d Well Log Curves (#2784): call createDisplayModelAndRedraw...() when adding LAS and RFT curves.
* Causes the parts to be created and added to the model.
* This is already done when adding extraction curves.
2018-04-23 11:35:55 +02:00
Gaute Lindkvist
c5e58df751 3d Well Log Curves (#2783): Enable picking with the track background switched off.
* Add part to the model, but set the color mask false, depth test/write off.
* Result is an invisible part that is present for picking.
2018-04-23 11:35:55 +02:00
Jacob Støren
9d406fef8a Fix crash in summary plot due to missing guarding in ensemble legend layout 2018-04-23 11:07:15 +02:00
Jacob Støren
851e68ac31 #2663 Code adjustment to avoid creating a geometry generator when not needed 2018-04-23 10:31:07 +02:00
Jacob Støren
f507a35c8f #2785 Fix crash detected by regression test. 2018-04-23 10:31:07 +02:00
Gaute Lindkvist
803b6b8179 3D Well Log Curves(#2676): Enable pick selection of the 3D Tracks and curves 2018-04-23 08:01:32 +02:00
Jacob Støren
e2d5dd0381 #2657 Improved ensemble curve set legend placement and update 2018-04-20 19:57:40 +02:00
Jacob Støren
22a1448ea6 Fix gcc 6 linux errors 2018-04-20 19:38:21 +02:00
Jacob Støren
c2704727ce #2657 Made a sensible stable default layout 2018-04-20 19:30:12 +02:00
Jacob Støren
977fe0fb96 #2657 Make ensemble curve set legends appear in snapshot images 2018-04-20 18:37:27 +02:00
Jacob Støren
48814e33c4 #2775 Add progress when loading summary cases 2018-04-20 18:36:29 +02:00
Jacob Støren
4d1595681a #2657 Add title to legend, and hide the legend when ensemble curve set are not visible 2018-04-20 18:34:36 +02:00