Commit Graph

1198 Commits

Author SHA1 Message Date
Magne Sjaastad
bdc536dfc4 #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
Magne Sjaastad
e2ef6a910b #6106 Use clang-format on AppFwk 2020-06-19 07:59:10 +02:00
Magne Sjaastad
e3960f13f1 AppFwk : Add border to icons with one color 2020-06-18 09:01:44 +02:00
Magne Sjaastad
4ff1f54e16 AppFwk : Add border to color gradient icons 2020-06-17 14:37:14 +02:00
Magne Sjaastad
8cc167568c #6033 Surface Properties : Add legend and adjust update functions 2020-06-11 15:03:08 +02:00
Gaute Lindkvist
8f359d8a92 Fix problem with storing font sizes 2020-06-10 09:10:24 +02:00
Gaute Lindkvist
0f60bed64a Add 6 point font and enable it. 2020-06-08 12:32:52 +02:00
Gaute Lindkvist
664dc03c5b Set a lower limit to available font size 2020-06-08 12:32:52 +02:00
Kristian Bendiksen
23202c9f15 #6018 Remove unnecessary caf::FilePath assignement operator
In C++11 implicit generation of the copy constructor is deprecated if the
class has a user-declared copy assignment operator or a user-declared destructor.
2020-06-03 22:06:30 +02:00
Kristian Bendiksen
8f5edbf5b0 #6029 Fix unsigned/signed comparison in Fwk tests. 2020-06-03 22:06:30 +02:00
Kristian Bendiksen
16c3ce1ca2 #6029 Update test helper to new gtest version. 2020-06-03 22:06:30 +02:00
Kristian Bendiksen
2eb18d8151 #6029 Upgrade gtest to v1.10 for Fwk/. 2020-06-03 22:06:30 +02:00
Gaute Lindkvist
4627e542ba Move caf::FontTools enum setups into caf namespace 2020-06-03 14:16:45 +02:00
Gaute Lindkvist
2c1ee33d54 Enable setting preferred size in caf::IconProvider 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
9130030d7b #5882 Add color gradient as icon for legend palettes. 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
2fe4372dc2 First round of caf::FontTools 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
d6be12bf02 Improved Bounding Box tree for ill-formed grids 2020-05-25 15:30:45 +02:00
Kristian Bendiksen
c366e85682 Refactor delete operations for pdm objects. 2020-05-22 07:02:53 +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
Gaute Lindkvist
f199297f12 #5915 improve performance of NNC computation and limit to active cells 2020-05-13 12:19:03 +02:00
Gaute Lindkvist
641d6e2384 #5902 Fix missing labels due to IconProvider 2020-05-11 12:28:47 +02:00
Gaute Lindkvist
2e79cf614f
Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Magne Sjaastad
a1eb707b02 Add test project including cvf and fix compile issues 2020-05-08 11:28:55 +02:00
Gaute Lindkvist
27600fa57a Working click matrix to change correlation plots 2020-05-07 08:30:39 +02:00
Magne Sjaastad
dfaf595551 Fix line endings 2020-05-06 19:02:50 +02:00
Magne Sjaastad
28aafed44b #5883 Update test project with icon colors from field value 2020-05-06 19:02:50 +02:00
Magne Sjaastad
e422618138 #5883 Icons : Add support for overlay pixmap 2020-05-06 19:02:50 +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
Kristian Bendiksen
6de9288597 Silence warnings about unused "type" variable in cafPdm*. 2020-04-30 12:46:50 +02:00
Magne Sjaastad
ff1ecdf38e AppFwk Test : Add prototype code for color category triplets 2020-04-27 07:24:31 +02:00
Magne Sjaastad
4b372b438e System : Remove support for Qt4 2020-04-24 11:40:22 +02:00
Gaute Lindkvist
9fcfe4fa84 Merge branch 'dev' into feature-analysis-plots-initial 2020-04-22 16:17:09 +02:00
Gaute Lindkvist
7e3fc1c886 Parameter result cross plot 2020-04-17 19:24:12 +02:00
Magne Sjaastad
3c05fff768 Output field keyword alias names 2020-04-17 13:55:49 +02:00
Magne Sjaastad
8662ff90d2 #5792 Python : Add import_summary_case and find summary case from ID
Add example of use and updated documentation
2020-04-17 13:54:19 +02:00
Magne Sjaastad
f076749dab Adjustments after review 2020-04-17 13:54:13 +02:00
Magne Sjaastad
bd5ce912fb #5538 Python : Add methods at correct inheritance level 2020-04-17 13:54:10 +02:00
Magne Sjaastad
66081790dd Move cafPdmField 2020-04-17 13:54:10 +02:00
Magne Sjaastad
77ce1d9fc5 #5749 Python : Add support for std::vector as return value of a function 2020-04-17 13:54:10 +02:00
Kristian Bendiksen
42ca07d2cd Disable PdmUiColorEditor correctly when set to read-only. 2020-04-17 13:54:09 +02:00
Magne Sjaastad
185e4c15ef #5792 Python : Add import_summary_case and find summary case from ID
Add example of use and updated documentation
2020-04-15 21:58:18 +02:00
Magne Sjaastad
a99a32e8f3
Merge pull request #5760 from OPM/summary-data-python
Python support for summary data
2020-04-07 10:37:53 +02:00
Magne Sjaastad
f16185a652 Adjustments after review 2020-04-07 10:01:03 +02:00
Kristian Bendiksen
2b28bbc0b6 Disable PdmUiColorEditor correctly when set to read-only. 2020-04-07 08:42:29 +02:00
Magne Sjaastad
6267257896 #5538 Python : Add methods at correct inheritance level 2020-04-01 09:03:45 +02:00
Magne Sjaastad
32daa567ed Move cafPdmField 2020-04-01 07:21:49 +02:00
Magne Sjaastad
bc56c807c1 #5749 Python : Add support for std::vector as return value of a function 2020-03-31 14:03:14 +02:00
Jacob Støren
adb06f229c Merge dev into feature-analysis-plots-initial 2020-03-31 13:13:47 +02:00
Magne Sjaastad
001afc33dd AppFwk : Allow text filter in single selection mode 2020-03-30 08:57:59 +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
502b08ea61 Fix AppFwk dependencies 2020-03-15 19:18:22 +01:00
Magne Sjaastad
30eafceef4 Fix generation of Attributes header 2020-03-14 10:13:34 +01:00
Magne Sjaastad
7d3bd85777 Fix AppFwk dependencies 2020-03-13 21:32:18 +01:00
Gaute Lindkvist
ba0ded23c3 #5671 Move caf::PdmFieldScriptability<cvf::Color3f> into cafPdmCvf 2020-03-13 17:12:05 +01:00
Gaute Lindkvist
2853308a4a Python: Create summary plot from string 2020-03-13 14:18:41 +01:00
Magne Sjaastad
40ac705db0
Fix cmake build issues (#5670)
* Fix cmake build issues
* Temporary force linking of external object
2020-03-12 11:24:59 +01:00
Magne Sjaastad
f216bf8d6a
Python doc improvements (#5669)
* Add tests to xml data type inspection
* Add baseline for testing of PdmScripting
* #5631 Generate doc for Python
2020-03-12 07:45:52 +01:00
Gaute Lindkvist
c51aa91c42
#5632 Python method commands (#5649)
* General PdmObjectMethods for scripting.
2020-03-10 14:11:22 +01:00
Magne Sjaastad
f131ad77e1 Merge branch 'dev' into feature-analysis-plots-initial 2020-03-06 08:06:48 +01:00
Gaute Lindkvist
6e2d87b05f Python: Fix child field retrieval 2020-03-05 13:05:04 +01:00
Gaute Lindkvist
b77c057e7d Python fixup after code review 2020-03-05 11:09:07 +01:00
Gaute Lindkvist
bd8e079e24 #5632 Generate PdmChildField and PdmChildArrayField methods 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
2424d79c5d Move some more scriptability to caf 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
17ea69397a Move RicfMessages to CAF and simplify RicfFieldCapability 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
508d8806e6 Rename PdmXmlFieldHandle::childClassKeyword to dataTypeName to reflect that it will contain names for built in types 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
76019e7776 Get rid of Python class_keyword attribute and fix parameter sending for WBS 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
554f9a1758 Translate data types to Python data types for Python generation 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
b2f55a3101 Make scriptability a CAF-feature 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
2cea7c0321 Implement proxy field python methods 2020-03-05 08:40:46 +01:00
Magne Sjaastad
8c485ab81c Fix several warnings and potentially uninitialized data 2020-03-03 20:22:03 +01:00
Jacob Støren
591e5ab503 Caf: Add PdmUiActionPushButtonEditor as a simpler and more intuitive editor for action buttons 2020-03-03 09:52:53 +01:00
Gaute Lindkvist
1353835bd8 CAF: Move keyword aliases from PdmXmlFieldHandle to PdmFieldHandle 2020-02-25 16:04:53 +01:00
Gaute Lindkvist
d95f3a349d Move to use a static registry of scriptable classes 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
c63c7f2eac CAF: Support class keyword aliases and a scriptable feature
* Also store class keyword in fields so they can be assigned to the correct Python object
  even if the class itself is abstract.
2020-02-25 13:57:51 +01:00
Gaute Lindkvist
83a7ceb204 CAF: expose inheritance stack and make sure we can alias class keywords 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
82cf721ae8 CAF: support aliases for keywords in case of renaming 2020-02-25 13:57:51 +01:00
Magne Sjaastad
2b45a9af7f #5553 AppFwk : Add root in PtrField reference string 2020-02-17 09:11:23 +01:00
Magne Sjaastad
c31e4cbaaf #5505 Progress Bar : Control visibility of progress bar in Preferences 2020-02-11 11:43:31 +01:00
Gaute Lindkvist
5fb89f535b CAF: Add support for validators in PdmUiDoubleValueEditor 2020-02-07 08:36:37 +01:00
Kristian Bendiksen
17d0bcb49c #4669 Compute stress gradient. 2020-02-05 09:55:43 +01:00
Gaute Lindkvist
0d67a179ef #5385 Make QShortenedLabel slightly longer 2020-02-03 10:03:34 +01:00
Jacob Støren
c9dbad78de #5429 pre-allocate some more room for triangles after moving to Tet based MC 2020-01-31 15:01:53 +01:00
Jacob Støren
63771dc7ee #5429 Add tolerance in HexInterpolator to quit iterating earlier
Making less jacobi and inverse calls
2020-01-31 15:01:53 +01:00
Jacob Støren
2bca842e1b Fix missing includes 2020-01-30 13:36:00 +01:00
Jacob Støren
35a8a96b97 Increase polygon offset for surfaces to cope with GeoMech models 2020-01-30 12:04:26 +01:00
Jacob Støren
ddb5d0fd30 #5437 Use marching tets instead of marching cubes,
to make the cell border edges consistent
2020-01-30 12:03:35 +01:00
Jacob Støren
f5b59a6bd9 #5429 Improve clipPlanarTrianglesWithInPlaneTriangle performance 2020-01-29 15:45:35 +01:00
Magne Sjaastad
15ee092338
Merge pull request #5414 from OPM/allen-performance-3
Performace Allen/Faults
2020-01-27 19:26:18 +01: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
Gaute Lindkvist
e4ffa5d7b9 #5388 Add a CAF-feature to get the ancestor of a type (but not this) 2020-01-27 13:50:15 +01:00
Magne Sjaastad
4e3a894464 #5370 Unity Build : Add config for AppFwk 2020-01-23 13:37:29 +01:00