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
Magne Sjaastad
69b6ca6956
Fix signed / unsigned compare
2018-04-05 14:25:47 +02:00
Magne Sjaastad
9b0427aba9
#2553 Well CF Visualization: Add viz of connection factors on sim wells
2018-04-05 14:25:47 +02:00
Jacob Støren
436420b648
#2665 Fix draw plane position error with changed width
2018-04-05 14:18:00 +02:00
Jacob Støren
f7bfe8d003
#2436 Separated Hide grid cells mode as a separate value. Make sure that all the possible drawstyles works as expected, both for 2D intersection view and 3D views.
2018-04-05 07:41:29 +02:00
Jacob Støren
97c2ebd955
#2436 Intersection Fault lines are now separated and have a separate color
2018-04-05 07:41:29 +02:00
Jacob Støren
3b724e07bd
#2436 Add cube face tracking through the clipping methods used for intersection calculations
2018-04-05 07:41:29 +02:00
Magne Sjaastad
bffc50b826
Fix typo when generating light NNC colors
2018-03-24 14:44:08 +01:00
Rebecca Cox
4dcf98eda8
Tensors: Imporve variable name
2018-03-22 14:39:00 +01:00
Rebecca Cox
18bde3cd89
#2636 3D Well log curve: Create well path geometry tools.
2018-03-22 14:35:54 +01:00
Rebecca Cox
73a08fffc4
#2635 3D well log curves: Give new curves different colors
2018-03-22 13:26:33 +01:00
Rebecca Cox
7024ee045c
#2591 3D well log curve: Add option to place at the side of the well
2018-03-22 12:54:31 +01:00
Rebecca Cox
ef1cb3468b
3D well log curves: Code cleanup
2018-03-22 11:45:11 +01:00
Rebecca Cox
3547240fe6
#2591 3D well log curves: Remove view from geometry generator
2018-03-22 09:54:58 +01:00
Rebecca Cox
9e4d271d5b
#2591 3D well log curves: Use an angle to deretmine draw plane
2018-03-22 08:54:48 +01:00
Rebecca Cox
26d83983b1
3D well log curve: add comments
2018-03-21 16:22:35 +01:00
Rebecca Cox
85cd8b0e1d
3D Well Log Curve: Give Plane Part Mgr more responsibility
2018-03-21 15:32:15 +01:00
Jacob Støren
203677e837
Merge several 2D Intersection View fixes (MD and Perf intervals) into dev
2018-03-21 14:27:20 +01:00
Jacob Støren
dd29a3c727
#2634 Fix wrong MD when context menu creating completions in 2D intersectino View
2018-03-21 14:13:56 +01:00
Jacob Støren
25ff51c82b
#2630 Fix wrong picked MD on clipped well paths
2018-03-21 13:56:24 +01:00
Jacob Støren
2b4e26aaca
#2630 , #2605 unfalltenedTransformMatrix now returns mx[0] and mx[last] for points before and after end.
2018-03-21 13:47:22 +01:00
Rebecca Cox
e688b3de36
#2591 3D well log curves: Increase size of offset between pipe and plot
2018-03-21 13:46:03 +01:00
Rebecca Cox
a1d82fcffa
#2633 3D well log curves: Clip curve on well path bounding box
2018-03-21 13:15:48 +01:00
Rebecca Cox
b20b633c40
#2633 3D well log curves: Use currect normals when making grid
2018-03-21 13:14:22 +01:00
Unknown
687ddcb0a6
#2591 3D well log curves: Only add grid if curve is added
2018-03-21 10:54:26 +01:00
Unknown
131eb64748
#2633 3D well log curves: Clip grid on well path bounding box
2018-03-21 10:54:26 +01:00
Jacob Støren
c22bafbf29
#2605 Show perforations along well path in 2D intersections view
2018-03-20 17:28:27 +01:00
Jacob Støren
65b35cff92
#2481 , #2605 , #2486 , #2568 Remove obsolete code
2018-03-20 15:44:45 +01:00
Jacob Støren
a9daea0938
#2481 , #2605 , #2486 Use a flattened version of the normal wellpath visualization in 2D intersection view
2018-03-20 15:44:45 +01:00
Unknown
0de43ac938
#2628 3D well log curves: Scale curves by grid size
2018-03-20 15:37:02 +01:00
Unknown
cc5f4b2ec6
#2591 3D well log curves: Add grid line along path
2018-03-20 13:51:59 +01:00
Magne Sjaastad
57a766fd09
Return if geometry generator is null
2018-03-20 13:18:24 +01:00
Unknown
8766ea3057
#2591 3D well log curves: Option to turn grid on/off
2018-03-20 11:29:59 +01:00
Unknown
60120c70d5
#2591 3D well log curves: Make point normal function use well path geom
2018-03-20 11:29:59 +01:00
Unknown
e1aa4bb164
#2591 3D well log curves: Draw normals on fixed interval
2018-03-20 11:29:59 +01:00
Magne Sjaastad
241bf0364c
#2600 Well CF Visualization: Make sure all connections are visualized
2018-03-19 14:41:46 +01:00
Unknown
af4b35b990
#2618 Tensor Vectors: Add arrow length scaling range option for result
2018-03-19 11:16:53 +01:00
Magne Sjaastad
0583c7a815
Rename
2018-03-16 16:46:51 +01:00
Magne Sjaastad
200873f2da
Code cleanup
2018-03-16 16:12:25 +01:00
Magne Sjaastad
1aad577a49
#2544 Well CF Visualization: Use simplified star geometry
2018-03-16 15:58:04 +01:00
Magne Sjaastad
7bb705b1b7
#2600 Well CF Visualization: Add picking on connection factor objects
2018-03-16 15:33:57 +01:00
Magne Sjaastad
471d625051
#2621 Improve interface of part managers to prepare for use in 2D intersection views
2018-03-16 11:48:51 +01:00
Magne Sjaastad
4853957637
#2544 Well CF Visualization: Add geometry generator and source info object
...
rename
remove unused
move to separate file
rename
2018-03-15 21:27:42 +01:00
Magne Sjaastad
eb6b7450eb
#2544 Well CF Visualization: Add support for no lighting
2018-03-15 19:20:40 +01:00
Magne Sjaastad
f55d029256
#2544 Well CF Visualization: Make the orientation of the star geometry follow well path
2018-03-15 19:19:18 +01:00
Jacob Støren
4ac0a6354c
#2552 Simulation well heads for branches in 2d intersection view
2018-03-15 14:46:57 +01:00
Rebecca Cox
69caf4b3b2
#2591 3D Well Log Curve: Make geometry making more robust
2018-03-15 13:05:00 +01:00
Rebecca Cox
cc47016572
#2597 3D Well Log Curve: Add option to create LAS curve
2018-03-15 13:05:00 +01:00
Magne Sjaastad
c8b92a0c89
#2601 Well CF Visualization: Support regeneration of viz on time step changes
2018-03-15 07:52:54 +01:00
Magne Sjaastad
cf1557fdf8
Include cleanup
2018-03-14 15:26:19 +01:00
Jacob Støren
9f42c45dcc
Include cleanup SimWellPipespartMgr
2018-03-14 15:13:25 +01:00
Jacob Støren
bb28cf3f09
#2552 Add well head visualization. Not yet working for multiple branches
2018-03-14 15:13:25 +01:00
Jacob Støren
1861255281
#2552 Fix visualization of branch-depth, both wells and intersection geoemetry.
2018-03-14 15:13:25 +01:00
Jacob Støren
9cad0bff1e
#2552 Refactor and align the partmanagers of sim well and sim well head. Prepare to get wellhead into 2d intersection views
2018-03-14 15:13:24 +01:00
Jacob Støren
b755ddc11d
#2552 Embed pipe visualization of Simulation Wells in intersection views
2018-03-14 15:13:24 +01:00
Jacob Støren
e52c88ff77
#2552 WIP : Add flattening code to simwell part generator
2018-03-14 15:13:24 +01:00
Jacob Støren
1fa898b798
#2552 Small refactorings
2018-03-14 15:13:24 +01:00
Jacob Støren
e314450e2e
#2552 Minor refactoring
2018-03-14 15:13:24 +01:00