berniev
47ac049e14
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
wmayer
a5ccef8146
Fem: use SoAnnotation to highlight result pipeline objects
2022-07-31 17:51:31 +02:00
wmayer
9ddbecb864
Fem: implement a selection observer to notify a ViewProviderFemPostObject when its selection status has changed
2022-07-31 14:01:23 +02:00
wmayer
3ef98f002b
Fem: use 'using' instead of 'typedef' [modernize-use-using]
2022-07-27 19:11:05 +02:00
Uwe
c25c0888c9
[FEM] fix PostObject hiding issue
...
- when a PostObject is hidden the FemPostDataAtPointFilter must not be taken into account
2022-07-27 16:56:06 +02:00
Uwe
4c08e41a88
[FEM] PostDataAtPoint: remove unnecessary style setting
...
- PostDataAtPoint is a point therefore setting a filling style is not necessary
- also fix a typo in a comment
2022-07-27 16:15:04 +02:00
Uwe
9c89935297
[FEM] skip CI] update a comment
2022-07-27 03:54:26 +02:00
Uwe
591b0f3e1b
[FEM] update ViewProvider selection code
...
as suggested in
7884cb92d9 (r79459854)
2022-07-27 03:51:46 +02:00
Uwe
e425ed39a6
[FEM] PostObject: improve color bar refreshing
...
- for data point filters the color bar must not be updated
2022-07-26 04:00:02 +02:00
Uwe
777aabe46c
[FEM] ViewProviderDocumentObject: fix parenthesis mistake
...
(I don't know how this happened)
2022-07-24 19:25:53 +02:00
Uwe
d012b8d012
[FEM] fix color bar handling on hiding post objects
...
- fixed the remaining part of #7230 : on hiding an object, refresh the color bar of the new visible object (if there is any)
2022-07-24 19:17:24 +02:00
Uwe
5aedc73ef6
[FEM] better fix for missing colorbar update for FemPostObject
...
- better fix for #7230 because we can call the direct paint method and because the bar is now also updated when the object is shown
- also add a ToDo note
2022-07-23 16:57:16 +02:00
Uwe
ac27f4700a
[FEM] fix missing colorbar update for FemPostObject
...
- fixes issue #7230
- to update the color bar for post objects, the Field property has to be reset to trigger this. This PR does this.
2022-07-22 01:20:18 +02:00
wmayer
2628fb0350
App: fix memory leaks in Enumeration class and simplify code
2022-06-25 18:18:57 +02:00
Uwe
a289ec4a06
[FEM] fix a variable casting
...
- reported by MSVC not to cast a float to a double but as double directly
- also remove some superfluous Boolean comparisons
2022-06-19 15:15:18 +02:00
wmayer
d64b9750da
Fem: added signals and slots to notify when first function is added
2022-06-14 01:38:55 +02:00
Uwe
409ccfaaf8
[FEM] fix color bar handling of point filter
...
- recoloring the gradient bar for a single point is senseless. One therefore already got dozens of errors that max = min in the console. Therefore don't recolor for point filters
2022-06-12 04:02:11 +02:00
wmayer
3cb13ad586
Fem: fix handling of transparency in ViewProviderFemPostObject
2022-04-16 14:39:10 +02:00
wmayer
05f024678c
Fem: scale imported vtk data set
2022-04-15 21:07:40 +02:00
wmayer
61234c2678
Fem: optimize ViewProviderFemPostObject::WritePointData
2022-04-15 12:24:23 +02:00
wmayer
8da621e220
FEM: [skip ci] fix some typos
2022-04-12 11:03:03 +02:00
wmayer
259cf03b25
Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot
2022-04-01 16:40:34 +02:00
wmayer
97fbdec88c
Fem: support transparencies of the colour plot in ViewProviderFemPostObject
2022-04-01 10:40:48 +02:00
wmayer
5a0bcbbb9c
Fem: in case the range collapses to a single value expand it to a valid range with +/- eps
2022-03-28 20:16:22 +02:00
wmayer
7ffc05ec59
Fem: fix error: Unhandled Base::Exception caught in GUIApplication::notify
2022-03-28 15:56:49 +02:00
Uwe
8a8fe98454
fix some occurrences where size() is misused as Boolean
...
- as suggested by @wwmayer: 70714eedc9 (r69648152)
2022-03-27 21:38:15 +02:00
Uwe
80a828af39
[FEM] handle Elmer result mesh zoom properly
...
- also fix an issue that after a successful simulation, no result was visible
2022-03-24 22:01:45 +01:00
Uwe
f95e76843c
[FEM] add missing analysis deletion handling
...
as it was, one could delete the analysis container breaking everything. Now you get a warning.
- also fix typos
2022-03-24 15:56:08 +01:00
Uwe
0a52649d9d
[FEM] ViewProviderDocumentObject: fix compiler warning and error
...
- add missing include
- compare string properly
2022-03-24 06:13:45 +01:00
Uwe
a8d398e896
[FEM] fix deletion issue
...
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=582532#p582532
Now only a warning is issued if the user tries to delete the main PostObject if it is not empty.
2022-03-24 05:44:02 +01:00
Uwe
c9f2c1d40c
[FEM] fix transparency bug
...
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=582526#p582526
After setting the transparency, the object has to be redrawn
- also remove a doubled header
2022-03-24 04:50:54 +01:00
Uwe
d62d495f2b
[FEM] remove unused header introduced by previous commit
2022-03-24 03:05:48 +01:00
Uwe
89d1446a13
[FEM] scale fix for post meshes
...
- post result meshes must inherit the parent scaling
- also change Scale to enum as proposed by @wwmayer
2022-03-24 02:37:10 +01:00
Uwe
a3780fc127
[FEM] post object: some whitespace and style fixes
...
all made by MSVC
2022-03-23 21:51:25 +01:00
wmayer
bde17e1b9f
Fem: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
a908e6fece
[FEM] remove some unused includes
2022-03-23 05:43:40 +01:00
Uwe
80ad680dc9
[FEM] SI unit fixes for Elmer
...
- since we use consistently SI units (as recommended my the Elmer forum), we need to scale the input mesh (we use ElmerGrid that has an option fur this purpose)
- Since the result will be in the scaled mesh, we need to scale it back
With this PR, one gets now correct result independent of
- the used unit scheme
- the simulation type (electrical or thermo-mechanical)
2022-03-23 05:00:40 +01:00
wmayer
6d52673021
Fem: for view provider of post-object enable two-side rendering because the coloured object could look broken depending on the range of the color bar
2022-01-28 11:24:36 +01:00
wmayer
b431987ea3
smesh: port to version 9.6
2021-01-20 19:49:56 +01:00
wmayer
560e13c5f2
Coverity: Unchecked return value
2020-07-20 17:34:30 +02:00
wmayer
103f094088
PVS: V1762 It is possible a virtual function was overridden incorrectly
2020-07-18 10:59:28 +02:00
Bernd Hahnebach
e680701037
FEM: add gitattributes file to let git manage file endings and normalize them
2019-12-12 07:29:15 +01:00
Abdullah Tahiri
0382e2dd75
PCH: Fem Gui
2019-05-16 21:43:08 +02:00
Bernd Hahnebach
d7dc8a893e
FEM: vtk, initialize the enums of piplines VP
2018-09-26 22:42:40 +02:00
Bernd Hahnebach
063a3e56ab
FEM: vtk post, typo in Tranparency property
2018-08-26 20:47:37 +02:00
luz.paz
46d32d78a3
Misc. typos: Please merge right before 0.17 release
...
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
1df241ce3f
fix typos
2018-03-14 11:59:09 +01:00
Bernd Hahnebach
4e00d9dac9
FEM: vtk post processing, add a workaround check for back light
2018-03-13 23:36:14 +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