Commit Graph

41 Commits

Author SHA1 Message Date
Chris Hennes
25aa4d247c FEM: Eliminate unused proxy member 2025-06-22 19:10:48 -05:00
pre-commit-ci[bot]
4839988bb3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-02 07:29:09 +00:00
Stefan Tröger
9430bdde01 Fem: Implement basic python filter functionality and glyph example 2025-05-02 09:25:56 +02:00
Kacper Donat
77e40b9747 Base: Use explicit pointer syntax for freecad_cast (#20694)
* Base: Use explicit pointer syntax for freecad_cast

This aligns our custom cast with other casts

* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
9d97d1c895 Base: Rename Base::freecad_dynamic_cast into freecad_cast
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
marioalexis
0cc1959832 Fem: Add calculator filter 2025-03-27 15:46:57 -03:00
Stefan Tröger
3f87627484 FEM: Add post pipeline branch 2025-03-22 23:27:10 +01:00
Stefan Tröger
a4558f31b4 FEM: Multiframe adoptions
- To support timedata and the relevant filters the pipeline needs to be fully setup, hence not only working on data
 - Multiblock source algorithm is needed to supply the time data for the algorithms
2025-03-22 23:27:10 +01:00
marioalexis84
072ecb2a4f Fem: Add smoothing filter extension to contours filter (#18088)
* Fem: Add smoothing filter extension to contours filter
2024-12-16 10:40:02 -06:00
Kacper Donat
954b729b56 Gui: Use getObject<T>() helpers in classes
This commit is generated using regex based find and replace:

```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```

To regenerate if needed.
2024-12-06 18:29:39 +01:00
marioalexis
f8b4d38c46 Fem: Remove unnecessary DataAtPoint marker 2023-10-16 15:58:57 +02:00
marioalexis
b209c6f82a Fem: Change TaskPostBoxes constructors to specific view providers 2023-10-14 00:43:59 +02:00
marioalexis
eb73a9bce0 Fem: Remove callback added by filters task box and rework marker classes 2023-10-10 13:58:34 +02:00
marioalexis
32c34fd34a Fem: Remove markers from scenegraph - fixes #10438 2023-10-07 14:09:20 +02:00
wmayer
3863cff6c0 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
260ac4130d FEM: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
luzpaz
61e96bd763 FEM: fix trailing newlines 2023-02-15 13:41:38 +00:00
Uwe
559923a8d0 [FEM] Contours: fix task panel logic
- the ViewProvider sorting of the field can be different from the sorting in the dialog

- also hide a Contours property (I forgot this when the contours filter was added)
2023-02-14 13:30:58 +01:00
Uwe
50763df45b [FEM] sort code of result filters
- sort the functions alphabetically to know where to scroll to - eases the reading at least a bit
- some automatic reformatting according to our current clang file
- split too long lines
2023-02-13 19:52:54 +01:00
Uwe
3c94e3d87e [FEM] add new filter to display iso contours
- very valuable to display for example electromagnetic field lines
2023-02-13 16:53:21 +01:00
Uwe
0bbf9fa4b0 [FEM] shorten too long lines
- reformatting was done by the MSVC formatter according to our current clang file
2023-02-06 23:12:53 +01:00
Uwe
4ed99e2f99 [FEM] Task*: remove unused includes
- also sort includes
2022-10-03 04:41:35 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
wmayer
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
wmayer
d64b9750da Fem: added signals and slots to notify when first function is added 2022-06-14 01:38:55 +02:00
wmayer
1da5971f00 Fem: do not access the active document but the document the FEM post object is part of 2022-06-13 16:46:15 +02:00
wmayer
82b8ddc042 Fem: use WeakPtrT classes instead of raw pointers to avoid possible dangling pointers and to avoid undefined behaviour if a wrong static_cast is performed 2022-06-13 14:21:18 +02:00
wmayer
b82230867b Fem: improve TaskPostDataAtPoint:
* refactor TaskPostDataAtPoint::on_Field_activated()
* show results in a label instead of message box to reduce clicks
* in output window also print field and position as the pure values are useless
2022-06-13 12:31:37 +02:00
Uwe
496024af74 [FEM] make post filter Ui std::unique_ptr 2022-06-13 01:59:46 +02:00
wmayer
bde17e1b9f Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
8a8a1f83fb [FEM] header files: remove unused includes 2022-03-23 17:36:08 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
mkhizenz
2a42f71543 FEM: vtk DataAtPoint, implementation 2018-01-23 14:01:27 +01:00
wmayer
7d842679bd in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
mkhizenz
89cf335f3d FEM: DataAlongLine: core implementation 2016-12-21 11:27:41 -02:00
Bernd Hahnebach
e1c5c8fe38 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
Stefan Tröger
442c3be8e1 FEM Post: Add cut filter 2016-05-18 21:35:15 +02:00
Stefan Tröger
8a339b435a FEM Post: Add warp vector filter 2016-05-18 21:35:15 +02:00
Stefan Tröger
d0a8f6d820 FEM Post: Detail filter infrastructure 2016-05-18 21:35:15 +02:00