Jacob Støren
612332cbbc
#5019 Move RimIntersectionHandle to separate files Use in RimIntersectionBox
2019-11-20 10:39:48 +01:00
Jacob Støren
9ed3d8babc
#5019 WIP: Made fields in IntersectionHandle protected
2019-11-20 10:39:48 +01:00
Jacob Støren
8eb94eaabe
Fix bbox invalid assert in RiuViewer in debug build
2019-11-08 10:40:37 +01:00
Magne Sjaastad
0caaaf7159
clang-format : Fixes related to bug in clang-format plugin
...
The LLVM/clang plugin to visual studio has a bug related to single space formatting changes. This commit fixes invalid formatting related to these issues.
2019-11-07 07:37:50 +01:00
Jacob Støren
03b44fc36f
Avoid regenerating gridbox when unchanged
2019-11-05 09:30:58 +01:00
Magne Sjaastad
57cab2457e
clang-format : Set PenaltyBreakAssignment to 130
2019-11-04 15:08:09 +01:00
Magne Sjaastad
7c8cf60dba
clang-format : Set AllowAllParametersOfDeclarationOnNextLine to false
2019-11-04 14:35:41 +01:00
Magne Sjaastad
67e7bb0cf3
Fixes detected by cppcheck ( #4974 )
...
* Janitor : Remove obsolete pointer to dialog
* Janitor : Remove unused functions
* Janitor : Remove unused functions
* Janitor : Add explicit to constructors
* Janitor : Remove unused variables
* Janitor : Remove unused functions related to summary plot templates
* clang-tidy : Use nullptr instead of 0
* clang-tidy : Fix usage of virtual and override
* Upped to version 2019.08.2-dev.05
* Janitor : Remove unused variables
* Janitor : Clean up several cppcheck issues
* Janitor : Add cppcheck config files
* Janitor : Use const when possible
2019-11-03 08:37:03 +01:00
Jacob Støren
b0f8dfa9e6
#4849 Co-visualization: Simple use of the comparison view support in the Viewer classes
...
The feature is ready for testing.
2019-10-11 14:52:49 +02:00
Magne Sjaastad
fe9e567825
#4683 clang-format on all files in ApplicationCode
2019-09-06 10:57:22 +02:00
Magne Sjaastad
3a317504bb
#4683 Fix line endings and execute clang-format
2019-09-06 10:56:43 +02:00
Magne Sjaastad
ef80f5b629
#4683 System : Remove obsolete include of cvfBase.h
2019-09-06 10:52:54 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless ( #4392 )
...
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "
This reverts commit f758a8edb2
.
* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"
This reverts commit df62a41397
.
* Revert "#4379 Documentation : Update command line parser for import of summary files"
This reverts commit d0b5357ed4
.
* Unfinished WIP
* Builds but crashes
* Refactored code now builds and runs
* ResInsight can now run the unittests headless
* Can run some command files successfully
* Build on Linux
* Extra headless hack header
* Moved PdmUiItem hack to cpp file
* Fix headless crash in RimWellAllocationPlot
* Handle error gracefully if ExportSnapshots command is executed from console
* Add caf::QIconProvider and remove some hacks
* Also made the greying out of disabled icons work for a couple of cases where it didn't.
* Linux build fix
* #4380 Reimplement fix df62a41397
by @magnesj on top of Headless code changes
* #4379 Reintroduce kode from d0b5357ed4
by @magnesj
* #4377 Restore f758a8edb2
in new Headless code
2019-05-06 10:36:05 +02:00
Magne Sjaastad
8ce9f63487
#4328 Stimulation wells in 3D-view: Render well head using pipe color
...
If well head is a real connection, render as normal connection. If dummy connection, render as pipe color
2019-04-26 13:30:29 +02:00
Magne Sjaastad
e2d21bb4f9
#4348 System , cppcheck : Remove unused local variables
2019-04-20 14:24:17 +02:00
Magne Sjaastad
3c2f4eb692
#4348 System , cppcheck : Remove unused variables
2019-04-20 14:14:29 +02:00
Gaute Lindkvist
798e3ff19e
#4256 Update fonts in Project and views when changing preferences
2019-04-12 14:47:21 +02:00
Gaute Lindkvist
3e515e82a8
#4324 Make sure centre position of reach circle graphics is also in display coordinates
2019-04-12 12:22:55 +02:00
Gaute Lindkvist
4c3c01a661
#4210 Fix crash when creating contour map
2019-03-22 09:28:47 +01:00
Gaute Lindkvist
1536645e7c
#4132 Temporarily fix contour map crash by commenting out processEvents
2019-02-22 09:06:51 +01:00
Magne Sjaastad
3acd426ead
Whitespace
2019-02-18 11:15:34 +01:00
Magne Sjaastad
7fe0b92839
#4111 Move resultDefinition field to private
2019-02-18 11:07:54 +01:00
Gaute Lindkvist
d70e94ca85
#3996 Shift Measurement text box to not overlap with current segment
...
* Check if line is tending left or tending right and shift box if it is tending left.
2019-02-04 15:29:07 +01:00
Gaute Lindkvist
f15d6dd385
#3997 Use AppEnum for font size in preferences as well so it is more easily shared.
2019-02-04 15:20:56 +01:00
Jacob Støren
58ac488929
#3958 Refactoring : RigResultAccessorFactory simplification
...
To make the result address including basetimestep info reach the CellResultsData class.
2019-01-30 15:25:29 +01:00
Jacob Støren
dbb2a564a2
#3958 Refactoring: RigCaseCellResultsData: Remove the final result index based interface
2019-01-28 16:18:28 +01:00
Jacob Støren
d8eded7d49
#3958 Refactoring: Removed result index from NNC data
2019-01-25 16:19:15 +01:00
Jacob Støren
09011862cd
#3958 Refactoreing: Rename
2019-01-25 16:19:14 +01:00
Jacob Støren
726f5ee596
Remove compiler warnings
2019-01-25 16:19:14 +01:00
Jacob Støren
ccfee8f34a
#3958 Starting refactoring of eclipse results addressing
...
Preparations for time diff results
2019-01-25 16:19:13 +01:00
Gaute Lindkvist
7ede074386
#3970 Contour Maps: Remove a wrong false && that was added to test performance but caused the fix not to be effective.
2019-01-18 08:55:13 +01:00
Gaute Lindkvist
b1ad93f4b9
#3970 Contour Maps: improve edge look
...
* Remove excess tiny triangles around edges
* Remove labels from contour lines that overlap inner contour lines
2019-01-17 20:18:15 +01:00
Magne Sjaastad
64395e8aa3
Remove unused file
2019-01-17 10:01:56 +01:00
Magne Sjaastad
dd004c7051
#3948 HoloLens : Skip labels for annotations and measurements
...
No line visualization is present in HoloLens, so for now we skip labels connected by lines
2019-01-17 09:58:53 +01:00
Gaute Lindkvist
0b9b7e8eb7
#3971 Contour maps: add a label candidate for every segment but use bounding boxes and minimum curve distance to skip.
2019-01-16 14:09:28 +01:00
Gaute Lindkvist
1f754f2b63
#3807 Initial implementation of GeoMech contour maps.
2019-01-16 14:09:28 +01:00
Magne Sjaastad
a32ebe4dff
#3948 HoloLens : Add labels
2019-01-15 14:07:41 +01:00
Magne Sjaastad
5222950476
#3948 HoloLens labels : Add text label source info
2019-01-15 11:51:21 +01:00
Gaute Lindkvist
f3c188ef56
#3807 Rename RimContourMapView to RimEclipseContourMapView
2019-01-11 16:06:53 +01:00
Gaute Lindkvist
31c67e29e4
#3807 Rename RimContourMapProjection to RimEclipseContourMapProjection
2019-01-11 16:06:53 +01:00
Gaute Lindkvist
d1a457bf07
#3943 Stop regenerating map geometry when altering other geometry.
...
* Do this by caching results and clearing the cache in three stages with each dependent on the previous stages:
1. Grid Mapping
2. Results
3. Geometry
* Clearing grid mapping clears results and clearing results clears geometry.
* Some operations require only geometry changes, while others require a full change to grid mapping and consequently everything else.
2019-01-11 10:48:28 +01:00
Magne Sjaastad
d460d3d77d
#3944 clang-tidy : Apply modernize-deprecated-headers
2019-01-11 08:14:53 +01:00
Magne Sjaastad
6db80f40b9
#3856 Update copyright headers
2019-01-09 15:29:24 +01:00
Gaute Lindkvist
a024a772a8
Cache cvf::Effect for text labels locally in RivContourMapProjectionPartMgr
2019-01-09 09:08:46 +01:00
Gaute Lindkvist
c8f9505d1e
Fix crash in text rendering
2019-01-08 20:07:55 +01:00
Gaute Lindkvist
8de9a46c6a
Rename RimContourMapProjection::generateTriangles to generateTrianglesWithVertexValues
...
Signed-off-by: Gaute Lindkvist <lindkvis@gmail.com>
2019-01-08 11:07:37 +01:00
Gaute Lindkvist
7a275be335
#3876 Implement rotated labels on contour maps
2019-01-08 11:07:37 +01:00
Gaute Lindkvist
71cacc550f
#3881 Smooth outer contour line and clip geometry
2019-01-08 11:07:37 +01:00
Magne Sjaastad
f09fa727fa
#3928 Coordinate transform : Add convert of vector of points
2019-01-03 13:16:26 +01:00
Magne Sjaastad
8f85e49849
#3924 Measurements : Rename, fix issues with points in multiple views
2019-01-03 07:18:22 +01:00
Magne Sjaastad
218472fe2c
Merge branch 'dev' into measurement
2019-01-02 14:32:17 +01:00
Gaute Lindkvist
128208d35a
Fix type in RiaColorTools contrastColor
2018-12-21 10:12:58 +01:00
Bjørn Erik Jensen
5976298267
Merge branch 'dev' into measurement
2018-12-21 10:08:41 +01:00
Gaute Lindkvist
9fdec77c94
#3919 Contrast colors for contour lines
2018-12-21 09:48:57 +01:00
Gaute Lindkvist
22f054c6b9
#3919 Apply contrast colours to contour lines as well.
2018-12-21 09:48:57 +01:00
Gaute Lindkvist
6754f837d4
#3876 First label implementation. Not rotated yet.
2018-12-21 09:48:56 +01:00
Bjørn Erik Jensen
21403f4161
#3805 Measurement. Double click in view to reset measurement
2018-12-21 09:23:53 +01:00
Gaute Lindkvist
d259f8f33a
Move display transforms from contour map
2018-12-20 14:10:20 +01:00
Bjørn Erik Jensen
d6f4962ed7
#3806 Measurement. Display text label at last clicked position
2018-12-20 12:34:17 +01:00
Gaute Lindkvist
10da90350f
#3876 Create Counter Clockwise closed polygons out of the contour line segments
2018-12-20 09:47:25 +01:00
Bjørn Erik Jensen
849a623379
#3804 #3805 Measurement. Add toolbar button and interactive picking
2018-12-19 14:41:17 +01:00
Bjørn Erik Jensen
4873381176
#3868 Annotations. Fix polyline visualization and property editor
2018-12-18 12:50:21 +01:00
Bjørn Erik Jensen
c575e1d29e
#3868 Annotations. Remove commented code
2018-12-14 15:34:18 +01:00
Bjørn Erik Jensen
8401e3d9f0
#3868 Annotations. Draw spheres on polylines + toggles conotrolling visibility
2018-12-14 15:32:32 +01:00
Bjørn Erik Jensen
9c750c5287
#3869 Annotations. Closing polyline support
2018-12-13 15:58:32 +01:00
Bjørn Erik Jensen
b4482d20b0
#3723 Annotations. User editable polyline, both in in view and in property editor
2018-12-07 09:11:19 +01:00
Bjørn Erik Jensen
00d767f67c
#3789 Annotations. Text appearance settings. New FontCache class
2018-12-05 14:39:07 +01:00
Bjørn Erik Jensen
e56090dc92
#3788 Annotations. Set texts and icons
2018-12-03 15:29:23 +01:00
Magne Sjaastad
8d0926dd53
Fix Linux build issue
2018-12-03 13:55:48 +01:00
Bjørn Erik Jensen
11e2fe29d4
#3788 Annotations. Mirror global annotations into view annotation collection. Not thorougly testet yet
2018-12-03 13:15:31 +01:00
Jacob Støren
918efd3a27
#3757 Enable Z-buffer testing for text annotations
2018-12-03 11:05:12 +01:00
Jacob Støren
a13201e42e
#3757 Add selection of text annotations by picking
2018-12-03 11:05:12 +01:00
Bjørn Erik Jensen
d3db1a6075
#3777 Annotations. Use Bounding box to decide whether to draw an object or not
2018-11-29 14:28:33 +01:00
Bjørn Erik Jensen
9dc1e8d063
#3778 Annotations. Move z plane settings to in-view collection
2018-11-29 10:13:19 +01:00
Bjørn Erik Jensen
b5f0459843
#3772 Annotations. Draw reach circle center symbol
2018-11-29 08:48:28 +01:00
Jacob Støren
04754d394f
#3776 Add toggle to text and reach circles annotations
2018-11-28 14:36:17 +01:00
Jacob Støren
0f384cf4f7
#3724 Split the line annotation classes into separate files. Cleaned up includes
2018-11-28 12:10:08 +01:00
Bjørn Erik Jensen
c3dd6a14a7
#3763 Annotations. Define annotation plane Z for global annotations
2018-11-28 11:58:38 +01:00
Jacob Støren
29e6e08779
#3724 Added cycling default color to polyline import. Set default line thickness to 2.
...
Refactored away unneccesary complexity. loadAndUpdate when opening project file. Toggle now working
2018-11-27 17:54:42 +01:00
Bjørn Erik Jensen
d8142e3c75
#3758 Annotations. Add appearance settings to line based annotations
2018-11-27 14:27:19 +01:00
Bjørn Erik Jensen
cdaa5e2af6
#3756 Annotation. Refactore features. Add view local text annotations
2018-11-26 15:12:43 +01:00
Jacob Støren
9297c5888c
#3724 , #3723 Several polyline annotation updates
...
Renamed from polyline to polylines.
Split into PolylinesFromFile and UserDefinedPolylines
Add import of polylines from file
2018-11-26 14:10:20 +01:00
Jacob Støren
bb95daee97
#3724 Fix missing drawing of more than one polyline
2018-11-26 14:08:14 +01:00
Bjørn Erik Jensen
5531504e8e
#3706 Annotations. Text annotation border color
2018-11-26 12:49:22 +01:00
Bjørn Erik Jensen
6286a8729b
#3706 Annotations. Simple drilling reach circle
2018-11-26 11:08:38 +01:00
Bjørn Erik Jensen
4dc5c66b03
#3706 Annotations. Working text annotation, no view interaction yet. (and no background transparency)
2018-11-26 09:27:39 +01:00
Gaute Lindkvist
8b7b110440
Merge branch 'dev' into dev-deeper
2018-11-26 09:21:33 +01:00
Bjørn Erik Jensen
35405ebafc
#3706 Annotations. First commit. Not tested
2018-11-23 13:33:59 +01:00
Magne Sjaastad
4f46a9b3cb
#3715 Well connection factor viz : Show fracture well connection factors in cell center
2018-11-23 13:05:34 +01:00
Gaute Lindkvist
a1b7e694a6
#3727 Give packers a more realistic default length
2018-11-22 14:06:03 +01:00
Gaute Lindkvist
ae8cb9d210
#3741 Make it possible to enable/disable all well path components in plots and 3d view.
...
* Add check box to casing design and update of plot
* Add isEnabled() method to component interface which controls plotting.
2018-11-22 13:39:08 +01:00
Gaute Lindkvist
132408ab6f
#3727 Additional packer fixes
2018-11-22 13:39:08 +01:00
Gaute Lindkvist
094ae45dcd
Formatted contour map code and renamed some methods.
2018-11-21 09:33:21 +01:00
Gaute Lindkvist
58c5f066c3
#3700 Fix bugs related to cell positions and grid extent.
2018-11-20 11:31:22 +01:00
Gaute Lindkvist
42d3e65416
#3700 Add visual picking marker and improve map results
...
* Fix "off by half a cell" errors and improve smoothness using averaging and interpolation
2018-11-19 15:24:18 +01:00
Gaute Lindkvist
b20e801ae1
#3701 Larger margins around axis text
2018-11-15 15:02:07 +01:00
Gaute Lindkvist
387741d0c1
#3530 Support picking on 2d Maps.
2018-11-14 13:43:55 +01:00
Magne Sjaastad
4117e266ed
#3686 Completion Export : Use map based on size_t instead of RigCompletionDataGridCell
...
Using RigCompletionDataGridCell as key in a map causes cells with identical local IJK to be treated as same global cell. Use reservoir grid cell index (size_t) as key to be able to handle cells correctly.
2018-11-14 11:40:23 +01:00
Gaute Lindkvist
97f3cbc18d
#3656 Improve display of Y-axis values.
2018-11-12 14:30:18 +01:00
Magne Sjaastad
cfbbcacc23
#3634 Regression Test : Use flag to control OpenMP when building geometry
2018-11-12 07:33:08 +01:00