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
Magne Sjaastad
7676ba4f20
#2683 Refactoring : Use range based for and rename
2018-04-19 16:20:43 +02:00
Magne Sjaastad
39cb9326e4
#2683 Well CF Visualization: Sim Well pipe color should be gray for closed existing connections
2018-04-19 16:13:18 +02:00
Gaute Lindkvist
bf5d95d873
3D Well Log Curves ( #2672 ): Max and min value control for each curve.
2018-04-19 13:43:12 +02:00
Gaute Lindkvist
5d89ad3a6d
3D Well Log Curves ( #2674 ): Show what the value axis direction is
2018-04-19 13:43:12 +02:00
Bjørn Erik Jensen
e468227dfe
Fix Linux warning
2018-04-18 14:13:37 +02:00
Gaute Lindkvist
01a1f660e7
3D Well Log Curves ( #2746 ): Handle set scale.
...
* Transform to display coordinates *before* calculating normals and generating curves.
2018-04-18 11:33:04 +02:00
Gaute Lindkvist
3303350193
Rename member variable in RivWellPathsPartManager to get rid of spelling error.
2018-04-18 11:33:04 +02:00
Magne Sjaastad
3bc85ce794
#2727 Legends : Rename to RimRegularLegendConfig
2018-04-18 10:10:39 +02:00
Gaute Lindkvist
d7204363a0
3D Well Log Curves ( #2673 ): Consolidate the draw plane position control.
2018-04-18 08:38:15 +02:00
Gaute Lindkvist
9da3f09782
3D Well Log Curves ( #2668 ): Implement Draw-plane width control
...
* Apply a factor between 0.25 and 2.5 times the characteristic cell size
* Make the offset from the pipe scale with the plane width up to a maximum offset.
* Organise the CurveCollection settings into two groups.
2018-04-17 13:44:03 +02:00
Gaute Lindkvist
1180c199b4
3D Well Log Curves ( #2669 ): Implement control of single color.
...
* Set a cycled default whenever a curve is added to a collection.
2018-04-17 13:44:03 +02:00
Gaute Lindkvist
501e80b1ad
3D Well Log Curves( #2671 ): Make curve draw plane background optional
2018-04-17 13:44:03 +02:00
Gaute Lindkvist
092624799e
3D Well Log Curves: Renaming of the term normals in curve/grid-generation
...
* Make it more obvious we are talking about the normals to the 3D well log curve.
2018-04-17 13:44:03 +02:00
Gaute Lindkvist
5e6613d428
3D Well Log Curves ( #2671 ): Apply white background to curve draw plane.
2018-04-17 13:44:02 +02:00
Jacob Støren
5769ba45f1
#2739 Normal intersection box mesh lines now not labled as fault mesh lines
2018-04-17 07:42:41 +02:00
Gaute Lindkvist
fd63ae7531
3D Well path plots: clean up some indentation and remove an unnecessary epsilon
2018-04-13 15:33:37 +02:00
Gaute Lindkvist
b48adbbaa9
3D Well log curves: Use the new generalized interpolation for normals
...
* Don't have to perform the normal generation again for grid points.
2018-04-13 14:56:19 +02:00
Gaute Lindkvist
e8b006d068
3D Well Log Curves ( #2671 ): Split normals, border and surface into several drawables.
...
* Also create a closed LINES_LOOP out of the mesh border.
* This will facilitate using different effects on the different parts.
i.e. solid border and white surface background.
2018-04-13 14:55:44 +02:00
Gaute Lindkvist
6e0b7e2305
Improve 3D Well path plots
...
* Always generate in up-direction and rotate to left/right/down
* Generate a "dominant direction" by interrogating the whole curve, not
just the first and last item.
* Improve maths:
- Generate a projection plane spanned by UP and the dominant direction.
- Project the tangent onto this projection plane.
- Generate normal as the cross product between the projected tangent and
the normal to the projection plane.
- Rotate the normal into left/right/down if required.
2018-04-13 14:55:44 +02:00
Jacob Støren
0bf6db50f9
Fix crash due to empty fault label parts
2018-04-13 11:30:01 +02:00
Jacob Støren
c784deae25
#2437 Add fault-labels to 2d Intersection view
2018-04-10 15:35:37 +02:00
Jacob Støren
fee549de35
Adjust an argument order in RigWellPathGeometryTools
2018-04-09 13:23:09 +02:00
Gaute Lindkvist
b6fb60115a
Refactored after review
2018-04-09 13:14:19 +02:00
Gaute Lindkvist
e93f79790e
Make sure Ternary legends also expand and renamed width method.
2018-04-09 13:14:19 +02:00
Gaute Lindkvist
38aa447dcd
Unify the width of all visible legends.
...
* Calculate the minimum width to fit the content before the render pass.
* Set the actual width of all the legends to the largest of the minimum widths.
* This resizes the legends to always be the same size and reduces the size of you remove
the widest legend.
2018-04-09 13:14:19 +02:00
Gaute Lindkvist
63ffade452
Set background and frame color from the view plus update frame margins.
2018-04-09 13:14:19 +02:00
Gaute Lindkvist
507229f84b
Fixed background color setting for legends and refactored Legend class hierarchy
...
* Added a new cafTitledOverlayFrame as a base-class for all ResInsight legend classes
* Inherits cvf::OverlayItem
2018-04-09 13:14:19 +02:00
Magne Sjaastad
98c8f3305d
Add missing include
2018-04-05 14:47:03 +02:00