Commit Graph

925 Commits

Author SHA1 Message Date
Magne Sjaastad
9b302d15a3 Grid Box Generator : Improve robustness for invalid bounding box 2018-06-29 16:42:23 +02:00
Magne Sjaastad
a90755c899 Guard null pointer access 2018-06-29 16:42:23 +02:00
Magne Sjaastad
451ce82aa9 Guard null pointer access 2018-06-29 16:42:23 +02:00
Magne Sjaastad
4ae3290e3c #1722 Completion Export : Use RimTools::wellPathCollection 2018-06-29 10:48:45 +02:00
Magne Sjaastad
c79b120031 #3035 Whitespace 2018-06-25 08:24:47 +02:00
Magne Sjaastad
1575a6564a #3035 Consolidate duplicate code 2018-06-25 08:19:29 +02:00
Magne Sjaastad
b317ea9e9e #3035 Fault Truncation: Display a mask for fracture outside grid 2018-06-25 07:45:25 +02:00
Gaute Lindkvist
a0f5db5d7e #2965 Implement option (on by default) to follow time step in 3D view. 2018-06-20 11:46:19 +02:00
Bjørn Erik Jensen
eebd8bef2d Move RigCurveDataTools and RigTimeHistoryCurveMerger to Application/Tools plus rename 2018-06-08 15:10:45 +02:00
Magne Sjaastad
b0ee5a2834 #2969 Fracture Truncations : Visualize fault truncations 2018-05-31 08:30:04 +02:00
Magne Sjaastad
54f5ab66b4 #2969 Add const to currentActiveCellInfo 2018-05-31 08:30:04 +02:00
Gaute Lindkvist
bef7535eff #2941 3d well log curves: Fix crash if the draw surface width becomes larger than well path length 2018-05-18 14:26:52 +02:00
Gaute Lindkvist
9e665d5ab1 3d Well Log Plots: Remove curve filled code 2018-05-18 14:26:52 +02:00
Gaute Lindkvist
68dd0ba13e Switch calculation of extra curve vertices to double precision 2018-05-18 14:26:52 +02:00
Jacob Støren
73c0373264 #2940 Geomech: Display offset in place for intersections 2018-05-18 14:02:54 +02:00
Jacob Støren
c1b4cfc3e6 #2925 3D Well Log Curves: Fix missing plot/curves when Color Result = None. Moved the part generation from appendDynamicGeometryParts to appendStatic... 2018-05-15 18:09:46 +02:00
Gaute Lindkvist
1b6d6e714c #2923 Show sensible curve segments to range limits when points are outside range 2018-05-15 17:16:43 +02:00
Gaute Lindkvist
c959db73a1 #2887 Tidy up 3D well log curve configuration to more obvious documentation. 2018-05-09 15:56:24 +02:00
Magne Sjaastad
52c2a93c05 #2882 CF Visualization : Never show connection factor for parent grid cells 2018-05-09 14:31:30 +02:00
Jacob Støren
43082b4952 #2871 Fault visibility toggle now controls fault label visibility in 2D intersection views also. 2018-05-08 16:26:15 +02:00
Gaute Lindkvist
043eaf7db6 Make new vertex creation more robust
* Require that the length of the new segment is shorter than the *current*
  distance to the end of the original segment, rather than the length of the
  complete original segment.
2018-05-08 09:09:36 +02:00
Gaute Lindkvist
0d8a034886 Fix Linux build by replacing a HUGE_VAL with std::numeric_limits::infinity
* This build problem was introduced when fixing a crash issue that came from
  replacing HUGE_VAL with std::numeric_limits::max
2018-05-07 19:34:22 +02:00
Jacob Støren
20a1e52323 #2850 Fix missing fault-label toggle and color setting awareness in 2D intersection view 2018-05-07 18:06:09 +02:00
Gaute Lindkvist
9125619c41 3D Well Log Curves: Fix crash bug due to wrong value used to force invalid values. 2018-05-07 16:07:13 +02:00
Gaute Lindkvist
c7bf6172f3 #2828 Allow setting curve domain range outside the range of the curve values.
* Note that this implementation simply removes vertices that are outside the range.
* It would look far better to insert vertices at the boundary when a segment is heading
   out of range. This is more complicated.
2018-05-07 14:47:24 +02:00
Gaute Lindkvist
57b3ad82a8 #2791 Fix tensor vector colors so principal to has a single color. 2018-05-07 11:17:51 +02:00
Gaute Lindkvist
78326bb19c #2703 An initial implementation of filled drawing style with problems remaining.
* New vertices are successfully created in the intersections between the
  curve and draw surface triangles
* New vertices are also inserted along the bottom edge of the filled curve.
* However, new vertices will still need to be inserted in the lines connecting the
  top of the curve and the bottom where they intersect with the triangles.
* The option for filled curves remain hidden in the GUI. See #2860.

# Please enter the commit message for your changes. Lines starting
2018-05-07 11:14:25 +02:00
Gaute Lindkvist
fba437f595 #2791 Rename misspelled "principalNumber" in TensorResultPartMgr 2018-05-07 10:13:17 +02:00
Jacob Støren
d413df0aeb #2730 Category and Scalarmapper Legend: Improve the preferred size 2018-05-04 13:33:06 +02:00
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
944baee00e Fix comment in DrawSurfaceGenerator 2018-05-03 13:39:39 +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
Magne Sjaastad
a0e4f71138 #2715 Add direct access to RigFemPartCollection from a GeoMechView 2018-04-25 12:45:58 +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
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
851e68ac31 #2663 Code adjustment to avoid creating a geometry generator when not needed 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
3957027b4b #2657 Final cleanup and refactoring of legends size system 2018-04-20 16:59:10 +02:00
Jacob Støren
03ec76c20a #2657 Add a preferredSize method to the legends 2018-04-20 16:59:10 +02:00
Jacob Støren
1f8d4437bf Remove the unused, unnecessary "position" from several methods and the overlay layout struct 2018-04-20 16:59:10 +02:00
Magne Sjaastad
9e40ba39c8 #2684 Well CF Visualization: Option to turn off CF visualization on closed connections 2018-04-19 22:28:22 +02:00
Magne Sjaastad
e6781e2de4 #2683 Well CF Visualization: Refactor computation of connection factor location 2018-04-19 21:49:01 +02:00
Magne Sjaastad
f365dae014 #2683 Well CF Visualization: Add missing null pointer test 2018-04-19 20:29:24 +02:00
Magne Sjaastad
7156779e3d Rename 2018-04-19 20:20:57 +02:00
Magne Sjaastad
c16c10e774 #2683 Well CF Visualization: Show connection factors on closed connections 2018-04-19 20:18:15 +02:00