Commit Graph
98 Commits
Author SHA1 Message Date
Magne Sjaastad b7f8d0e0f1 Increase warning level
* Set warning level to /W3 for MSVC to catch more warnings
* remove several excluded checks for clang
* removed several unused variables
* Hide warnings qwt
* add missing parentheses in logical expressions
* Remove double check on same logical expression
2023-04-17 15:57:39 +02:00
Jon Jenssen 090293c421 Use assert less for boundingbox methods. 2023-03-28 18:38:32 +02:00
jonjenssen 2e01f4a31d Basic seismic support (#10010)
Add basic seismic section support to eclipse and geomech views.
2023-03-24 15:36:10 +01:00
Magne Sjaastad 583c248cf9 Janitor issues
* Use horizontalAdvance
* Remove unused code
* Hide some warnings from Qt code
* Remove message for _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
* Use CMP0077 NEW
* Move roff libraries to folder Thirdparty
* avoid operator()==
* Remove cmake_minimum_required and set version to 3.15
2023-01-24 12:29:27 +01:00
Magne Sjaastad 38bfa9ef1f #9588 Accumulate N cells for AABB tree 2022-12-19 15:24:53 +01:00
Magne Sjaastad a423ecf95f Several OpenMP improvements
Several optimizations based on profiling of 20M grid model. These fixes will improve the largest performance issues, but there are still more operations that can be refactored.

* OpenMP: Use in fault geometry generator
* OpenMP: Use when computing statistics for result values
* OpenMP: Use multithreading on fault detection
* Add RiaOpenMPTools
* VizFwk: Use openMP for texture generation
2022-12-19 13:49:03 +01:00
Magne Sjaastad befab37588 Add debug output of AABB tree 2022-12-16 15:36:48 +01:00
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