* Fixed#6781.
Tidied up code.
* Bugfix: threshold not correctly applied for Cell Center Total
* Removed unused model offset.
* Remove commented code
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
Running regression tests without valid external files revealed several crashes. Add guarding and remove asserts to make sure regression tests can be executed without crash.
New GUI settings for tensor length control, fluid selection, NNC data selection and aggregated visualization. Possibility to change vector start position. Improved vector visualization.
* Unify with logaritmic contour levels.
* Ensure the labels in the contour map show less precision.
Fudge in the opposite direction and unify with logarithmic
* Add reload command to surface context menus. Still missing the part that actually reloads the data.
* Add additional check for null ptr to avoid crash
* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)
* Fixes by clang-format
* Include offset and slice index in surface name shown in project explorer
* Allow importing the same file multiple times
* Disable lighting for surfaces, as it doesn't look good for now. Fixes#6084
* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface
* Create new surfaces only on collection context menu
* Make sure tree view icon is enabled/disabled when the check box is clicked
* Fix depth offset for grid case surfaces, missing base function call.
* Make public method .. public.
* Add reload command to surface context menus. Still missing the part that actually reloads the data.
* Add additional check for null ptr to avoid crash
* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)
* Fixes by clang-format
* Include offset and slice index in surface name shown in project explorer
* Allow importing the same file multiple times
* Disable lighting for surfaces, as it doesn't look good for now. Fixes#6084
* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface
* Create new surfaces only on collection context menu
* Make sure tree view icon is enabled/disabled when the check box is clicked
* Fix depth offset for grid case surfaces, missing base function call.
* Make public method .. public.
* Fixes by clang-format
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
m_geometries[geomType].clearAndSetReservoir( geomType, rimEclipseCase, m_reservoirView ) was causing relative heavy performance issues. This is related to several structures being allocated and initialized in constructor in some visusualization object. Preferred workflow: Mark the geometry for recreation using the flag, and do the actual work when visualization is to be created.