Bjørn Erik Jensen
06b58a2462
#3799 Scale legend. Add minor ticks in first major interval
2018-12-11 15:17:00 +01:00
Gaute Lindkvist
17e12a92a0
Update CMake to only look for Qt5 if RESINSIGHT_BUILD_WITH_QT5 is set
2018-12-10 15:10:46 +01:00
Magne Sjaastad
4d25cd0c71
#3792 Add font size 10 and 14
2018-12-03 14:19:49 +01:00
Gaute Lindkvist
ddb546d877
#3754 Upgrade CAF CMake-system to support both Qt4 and Qt5
2018-11-30 09:47:53 +01:00
Bjørn Erik Jensen
67ba01f835
#3722 Scale legend. Descrease size
2018-11-21 14:58:47 +01:00
Bjørn Erik Jensen
75c923d102
#3698 Scale bar. Support for both horizontal and vertical orientation
2018-11-16 13:52:05 +01:00
Bjørn Erik Jensen
05e04bb588
#3698 Scale bar. Fixed axis length
2018-11-16 13:52:05 +01:00
Bjørn Erik Jensen
d8a466a9ef
#3698 Scale bar. Take 1. Only vertical variant implemented so far
2018-11-16 13:52:05 +01:00
Jacob Støren
d37ed9bb7c
#2889 Fix crash when few tick marks in legend.
...
Set legend title before adding to view to make size calculaltion correct first time.
2018-05-11 14:06:08 +02:00
Gaute Lindkvist
15c2b19f59
Slightly improve naming of epsilon/tolerance variable in plane triangle intersection.
2018-05-09 11:34:04 +02:00
Gaute Lindkvist
9da54a115b
Fix crash in cafHexGridIntersectionTools when exporting fracture completions.
...
* Account for two new triangle plane intersection cases where one vertex is touching the plane.
2018-05-09 10:44:29 +02:00
Jacob Støren
d413df0aeb
#2730 Category and Scalarmapper Legend: Improve the preferred size
2018-05-04 13:33:06 +02:00
Bjørn Erik Jensen
736277e0ef
#2797 Ensemble curves. Slightly increased cateory legend height
2018-05-03 09:53:34 +02:00
Gaute Lindkvist
98af9e00ab
Fix build issue on Linux
2018-05-02 12:11:15 +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
f61512ef94
Add Copyright headers to cafTitledOverlayFrame.h|cpp
2018-04-25 14:38:17 +02:00
Gaute Lindkvist
517a557efe
Legends ( #2786 ): Fix Debug-build of Resinsight.
2018-04-23 13:08:35 +02:00
Jacob Støren
22a1448ea6
Fix gcc 6 linux errors
2018-04-20 19:38:21 +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
0192f66a4d
More renaming and reformatting of legend code
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
Jacob Støren
d48c2b7aa9
Rename layout variables in legends to make their intent and use clearer
2018-04-20 09:23:19 +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
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
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
Bjørn Erik Jensen
1e8f1bb95e
#2589 intersections. Show extrusion line fix
2018-03-12 15:14:22 +01:00
Bjørn Erik Jensen
6ae619cc10
Fix Linux build by adding missing include (II)
2018-03-09 08:50:16 +01:00
Jacob Støren
7a9e53bdb1
#51 Avoid that legend background misses frame line on the right
2018-03-08 16:12:40 +01:00
Jacob Støren
7bd08067a9
#52 Add background to category legend
2018-03-08 11:38:51 +01:00
Jacob Støren
c258528dc5
#51 Add background to standard legends. Needed a separate legend implementation, now in caf. Cleaned up CategoryLegend to make it ready for the new background.
2018-03-08 11:20:27 +01:00
Magne Sjaastad
ca0087eb55
#2536 Build System VizFwk : Use target_* and remove includes
2018-02-28 07:42:19 +01:00
Magne Sjaastad
233df05f68
#2536 Build System : Remove obsolete includes and update depending includes
2018-02-27 20:00:56 +01:00
Magne Sjaastad
3fbce58fa5
#2536 Build System AppFwk : Several updates
...
Simplified automoc
Use target_include_directories and target_link_libraries
Use CMake 2.8.12
2018-02-27 18:37:11 +01:00
Magne Sjaastad
70faea56df
AppFwk : Add missing initialization of variables and handling of switch statements
2018-02-23 21:29:54 +01:00
Magne Sjaastad
cfb75ecc34
AppFwk (clang-tidy) : modernize-use-nullptr
2018-02-18 18:17:50 +01:00
Jacob Støren
0db32df1c4
Add comment to describe usage of the weighted blended transparency system
2018-02-03 19:33:27 +01:00
Magne Sjaastad
b2e9d3fe11
#1292 Fixed CppCheck Issues in AppFwk viewer/vizExtensions/CommonCode
2017-03-06 19:22:32 +01:00
Magne Sjaastad
785a5e9ff8
#1060 Use DisplayCoordTransform in ResultTextBuilder
2017-01-09 07:43:17 +01:00
Jacob Støren
af19a36555
Intersection Box : Doubled the size of the manipulator handles
2016-11-28 10:12:50 +01:00
Jacob Støren
47df6a6122
#884 Fixed occasional crashes using the 3D manipulator
2016-10-04 09:47:09 +02:00
Jacob Støren
c7aae71dbc
#884 Made manipulator able to be pulled beyond zero size
2016-10-04 08:40:39 +02:00
Jacob Støren
87e7b5dc80
#884 Changed colors to megenta, and improved interface for manipulator a bit. Adjusted size of handles.
2016-10-03 09:39:18 +02:00