Gaute Lindkvist
53d5c809ac
3D Well Log Curves ( #2764 ): Rim3dWellLogFileCurve does not react to draw plane changes
2018-04-19 13:53:57 +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
Gaute Lindkvist
4dc9d1ba8a
3D Well Log Curve ( #2747 ): Add "Add new curve" command to 3D track and other curves.
2018-04-19 13:43:12 +02:00
Gaute Lindkvist
916fb59bee
3D Well Log Curves ( #2673 ): Simplify draw plane text
...
* Above, Below, Left, Right, Vertical, Horizontal
2018-04-18 11:33:04 +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
Gaute Lindkvist
53cf8a80cd
Stop building docs as part of "ALL".
2018-04-18 11:33:04 +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
56dd1b3eb9
Legends ( #2749 ): Clean up enable/showLegend option
...
* Make public field private ...
* Make the option invisible from within the property panel.
2018-04-18 08:37:30 +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
36b1dcf85f
3D Well Log Curves( #2678 ): Remove camera aligned draw plane
2018-04-17 13:44:03 +02:00
Gaute Lindkvist
290d58e7fd
3D Well Log Curves( #2678 ): Remove curve drawing options that aren't yet implemented.
...
* drawing style (i.e. filled)
* coloring style (i.e. color by curve value)
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
Gaute Lindkvist
edf23b5265
Remove epsilon guard in setAutomaticRanges for RimLegendConfig.
2018-04-13 15:33:37 +02:00
Gaute Lindkvist
4c5b90f363
Add get methods for drawStyle and coloringStyle for Rim3dWellLogCurve
2018-04-13 15:33:37 +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
1bb1b3004e
Generalize the interpolation in RigWellPath
...
* Make it possible to interpolate any vector along the well path,
not just the well path points. This way it can be used for normals.
* The interpolation line needs to be a weighted sum of vectors from
the two closest points rather than the previous point + a segment,
which only works for points.
* If used for normals, the end result *has to be normalized*
2018-04-13 14:56:18 +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
Gaute Lindkvist
2cc93fb09d
3D Well Log Curves: Command to Delete curve #2667
...
* Add delete command with explicit delete feature class.
2018-04-10 10:57:04 +02:00
Gaute Lindkvist
a73526f85b
Remove compile warning for OverlayScalarMapperLegend
...
* apply explicit unsigned int -> float cast.
2018-04-10 08:36:20 +02:00
Gaute Lindkvist
dd38543dd2
Fix Ubuntu build ( #2696 )
...
* std::ceil -> cvf::Math::ceil to avoid header issues.
2018-04-10 08:31:03 +02:00
Gaute Lindkvist
ab736ab46b
#2693 . Fix overlap of category legend with other legends.
...
* CategoryLegend should not use the matchedWidth. They have their own columns.
* Change shifts to using minimumWidth instead.
2018-04-09 14:30:21 +02:00
Gaute Lindkvist
b488d99f81
#2696 Fix ubuntu build after Legend updates.
...
* Was missing <cmath> to get std::ceil, but cvf::Math also has ceil, so switch
to that.
2018-04-09 14:19:43 +02:00
Gaute Lindkvist
3116a4a223
Shifted pure virtual updateLegends to RiuViewerToViewInterface
2018-04-09 13:14:19 +02:00
Gaute Lindkvist
b6fb60115a
Refactored after review
2018-04-09 13:14:19 +02:00
Gaute Lindkvist
fe56375be6
Added toggle option for legends.
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
Gaute Lindkvist
054263b94a
Apply guard to additional MohrsCirclePlot use
2018-04-04 11:19:59 +02:00
Gaute Lindkvist
8b3f980079
Fix crash on selection when there's no MohrsCirclePlot
...
* Check if the pointer is valid before dereferencing
2018-04-02 10:17:09 +02:00