Commit Graph

12 Commits

Author SHA1 Message Date
Magne Sjaastad
f49053c61d Guard null pointer use 2023-11-10 09:01:28 +01:00
Jon Jenssen
33670df887 Add support for user defined index filters, makes some debugging tasks easier 2023-09-29 09:56:30 +02:00
jonjenssen
e5fa4ae8c4
Support filtering on element sets (#10570)
* Add support for filtering on element sets in geomech cases
2023-09-04 15:48:08 +02:00
Magne Sjaastad
1da509166a
Improve CmdFeature base class
Add default implementation of isEnabled() and add const
2023-06-26 14:28:46 +02:00
Magne Sjaastad
0c90f67dcc
Change API for PdmObjectHandle and PdmFieldHandle
* Refactor interface to PdmObjectHandle and PdmFieldHandle
Return objects instead of passing in structures as parameters

* Add nodiscard to several functions
* Remove redundant this->
* Rename to ptrReferencedObjectsByType
2023-05-12 21:41:34 +02:00
Magne Sjaastad
bb7f61ea56 Janitor : Remove obsolete override comment 2022-02-23 08:01:28 +01:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
Magne Sjaastad
b78cf3a4bb
Use cmake-format on all cmake files 2021-08-26 19:46:38 +02:00
jonjenssen
aa2b4305de Improve handling of LGRs in cell filters (#7783)
* Improve handling of LGRs in cell filters
2021-06-25 14:44:52 +02:00
Magne Sjaastad
d754ef4705 Janitor : Several fixes by clang-tidy and use of clang compiler 2021-04-05 11:51:23 -07:00
jonjenssen
96fc6cd358
Polygon filter updates (#7216)
* Rename polylinefilter to polygonfilter
* Update icon name, too
* Some GUI adjustments
* Remove obsolete code that came back in a merge somewhere.
Disable auto-enable polygon filter after picking corner points.
* Add option to delete a point in polygon filter point editor by extending generic picker interface
* Rename enum, too.
* Improved filter naming

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2021-01-15 19:16:01 +01:00
jonjenssen
a7775214c8
Rewrite of cell filters. Added new polyline filter and user defined filter types. (#7191)
Make 3d view picker more generic to enable picking cell filter polygon

Give cell filters a new, generic interface for updating included/excluded cells from collection

Remove old range filter collection and replace with new filter collection that supports both range filters, polyline filters and user defined filters.

Update existing range filter code for the new collection and interface

Add user defined cell filter type

Add polyline cell filter type

Implement both Z and K index depth for polyline filters
Allow interactive editing of polyline filter node positions.
Support both geomech and eclipse views
Support view linking with both eclipse and geomech views and the new filter types

Support loading old project files with range filter collections into the new collection type

Adjust to new world order.
2021-01-11 18:47:09 +01:00