Commit Graph

91 Commits

Author SHA1 Message Date
Magne Sjaastad
32614152a6 Memory Management : Fix memory leak in bounding box tree 2022-03-03 14:39:41 +01:00
Magne Sjaastad
2d2bf0bbc7 CMake : Improve handling of compiler flags (#8486)
#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
2022-01-26 10:08:28 +01:00
Kristian Bendiksen
99fde63af1 Janitor: remove assert(this) warnings.
The c++ standard guarantees that "this" is nonnull in valid programs.
So this check is unneccessary, and gcc warns in debug mode.
2022-01-20 12:53:26 +01:00
jonjenssen
55ba4bc802 Intersection depthfilter (#8408)
* Implement a simple depth filter to cut all geometry below a certain level for intersections
* Add option to override all curve intersection cut depths from collection.
* Add support for showing intersection above or below threshold. Update label texts.
2022-01-05 15:52:04 +01:00
Magne Sjaastad
3c07989c51 Janitor : Remove obsolete code related to Qt 4 2021-02-22 13:37:05 +01:00
Gaute Lindkvist
558bee72af New functions for creating cvf::refs to avoid "naked new" in App code 2020-12-11 10:56:25 +01:00
Gaute Lindkvist
069b427d10 Require CMake 3.12 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
2110323be7 Swap use of deprecated auto_ptr for unique_ptr in cvfMutex.h 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
f7aed637f8 Require CMake 3.6 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
13025e92fb Remove /W3 warning in cvf (already use /W4) 2020-09-25 14:32:27 +02:00
Magne Sjaastad
2901ad2c54 #6398 System : Remove cotire 2020-08-29 10:30:56 +02:00
Kristian Bendiksen
2eb18d8151 #6029 Upgrade gtest to v1.10 for Fwk/. 2020-06-03 22:06:30 +02:00
Gaute Lindkvist
d6be12bf02 Improved Bounding Box tree for ill-formed grids 2020-05-25 15:30:45 +02:00
Kristian Bendiksen
30cec3e280 Fix comparison between signed and unsigned integer expressions. 2020-05-20 14:23:22 +02:00
Gaute Lindkvist
6d5216f794 AABB Tree: Cache bounding box center in leaf nodes and calculate bounding box while assigning leaves. 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
96fe8b07e2 Stop using node pool for AABB tree because it interferes with parallelism.
(still using the leaf pool)
2020-05-19 16:14:08 +02:00
Gaute Lindkvist
a486f4ac76 Minor tree improvements 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
d04bf2da8a Add quicker method for adding bounding boxes to bounding boxes. 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
8bfcaa0341 Bounding box clearing 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
99aa65c611 Other improvements to bounding box calculation 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
64b0687dee Parallel AABB tree 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
0922b68302 Simplified AABB tree 2020-05-15 14:47:04 +02:00
Kristian Bendiksen
f735d19c2c Remove incorrect null pointer check in Object::release.
"this" should never be null here, and warns about it.
2020-04-30 12:46:50 +02:00
Magne Sjaastad
4b372b438e System : Remove support for Qt4 2020-04-24 11:40:22 +02:00
Kristian Bendiksen
568a135d82 #5448 Remove warnings about uninitialized values in cvf::Vec2/Vec3. 2020-03-29 22:19:34 +02:00
Magne Sjaastad
6f54d176cc AABB Tree : Do resize based on number of leaf nodes 2020-01-27 14:17:43 +01:00
Gaute Lindkvist
b958db0b1f AABB Tree : Implement simple pool allocation for bounding box tree 2020-01-27 14:17:37 +01:00
Magne Sjaastad
70cbb7fe3f #5370 Unity Build : Add config for CeeViz 2020-01-23 13:28:05 +01:00
Jacob Støren
4f3e62a0d6 VizFwk: Add access method to RenderingScissor 2019-10-17 15:02:38 +02:00
Jacob Støren
6d2253ad26 VizFwk: Add scissoring to cvf::Rendering 2019-10-11 14:52:49 +02:00
Magne Sjaastad
59616d5c65 AppFwk : Disable some warnings 2019-09-16 13:42:36 +02:00
Magne Sjaastad
97d6638293 #4683 VizFwk : Make several header files self contained by include of cvfBase.h 2019-09-06 10:52:50 +02:00
Jacob Støren
87d673b672 VizFwk: Added method to set the ManipulatorTrackball sensitivity 2019-06-25 16:56:43 +02:00
Jacob Støren
b0e73b7422 VizFwk: Fixed scaling bug in paralell projection for FixedSizeTransform. Was always 1 pixel high 2019-06-25 16:53:01 +02:00
Jacob Støren
b802937657 Fwk: Added the variable CEE_USE_QT5 as an option in pdmCore and LibGuiQt, to make it visible in the Cmake Gui. 2019-06-25 16:51:45 +02:00
Gaute Lindkvist
a413da41b4 Glew Qt5 Fix for VizFramework 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
9cf0b7cb86 #4448 Add -lrt and -lpthread to standalone CEEVIZ build on Linux 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
a54e3f30c4 Fix CVF compile flags on GNUCXX 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
6ba9d42b45 #4448 Move Resinsight from -std=c++0x to -std=c++11 on GNU CXX 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
6839e82613 #4448 Clean up Qt5-detection CVF 2019-05-28 15:58:49 +02:00
Magne Sjaastad
6f7730c1f5 #4061 VizFwk : Use variable CEE_USE_QT5 2019-02-08 11:02:26 +01:00
Magne Sjaastad
1b60ddc846 System : Exclude VizFwk to fix appveyor 2019-02-04 12:26:10 +01:00
Magne Sjaastad
bd6bbe9da9 #4020 System : Use ri_apply_cotire() 2019-02-01 06:56:11 +01:00
Gaute Lindkvist
0b9b7e8eb7 #3971 Contour maps: add a label candidate for every segment but use bounding boxes and minimum curve distance to skip. 2019-01-16 14:09:28 +01:00
sigurdp
db9b225112 VizFwk compiler fixes for VS2010 2019-01-15 11:45:46 +01:00
Gaute Lindkvist
7a275be335 #3876 Implement rotated labels on contour maps 2019-01-08 11:07:37 +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
Gaute Lindkvist
398a59d0a6 Add some more checks to the SILENCE_TR1 warnings for Ceevis unittests/gtest 2018-11-30 09:47:53 +01:00
Gaute Lindkvist
a7e76679e1 #3754 Support both Qt4 and Qt5 in Ceevis build. 2018-11-30 09:47:53 +01:00
Gaute Lindkvist
237623ef21 #3752 CVF Code changes to build on Qt4 and Qt5 2018-11-30 09:47:53 +01:00