Commit Graph

264 Commits

Author SHA1 Message Date
Matthias Hochsteger
fd3a5bbd34 Fix color of point curves if use_textures is on 2023-10-30 09:41:39 +01:00
Matthias Hochsteger
6e6c23b05e Fix printed face name on double click for 2d meshes 2023-10-24 15:03:54 +02:00
Matthias Hochsteger
5931376a57 Clip prisms/hexes/pyramids as a whole (like tets) 2023-10-19 21:47:00 +02:00
Joachim Schoeberl
bbb91b704d plotting hex7 2023-09-29 09:30:19 +02:00
Joachim Schoeberl
7d409e6ec4 visualization of clipping plane for HEX7 2023-09-27 12:20:49 +02:00
Matthias Hochsteger
04ad6239d2 Rebuild color texture when mesh changes 2023-09-26 15:30:57 +02:00
Joachim Schoeberl
e0fa631ca9 hex7 elements 2023-09-21 00:14:37 +02:00
Christopher Lackner
1855b2cfa7 fix min color width to 1 (prevent div by 0) 2023-09-19 15:49:27 +02:00
Schöberl, Joachim
03cd1817dd Merge branch 'soldata_draw_surface_volume_regions' into 'master'
Add 0-based bitarrays to soldata structure limit drawing regions

See merge request ngsolve/netgen!590
2023-09-07 09:44:24 +02:00
Christopher Lackner
dd46634c83 gui draw segment and surfacelement numbers 2023-08-29 16:43:25 +02:00
Matthias Hochsteger
1e453d90c0 Add 0-based bitarrays to soldata structure limit drawing regions 2023-08-16 15:25:01 +02:00
Joachim Schoeberl
e1f7935f0b fixing warnings 2023-08-05 12:01:01 +02:00
Joachim Schoeberl
227b269b5c GetEdgeVertices -> tuple 2023-07-30 22:29:54 +02:00
Matthias Hochsteger
c14c798235 output face name on double click 2023-04-12 16:44:12 +02:00
Matthias Hochsteger
a1c9483270 Fix color of prisms/pyramids/hexes 2023-04-12 16:44:12 +02:00
Matthias Hochsteger
aae0521057 Use marker as center, cleanup code 2023-03-31 15:46:45 +02:00
Matthias Hochsteger
5d0c61b10f Use a texture to store face colors
-> Much faster highlighting of selected face (just rebuild the texture)
2023-03-31 15:42:32 +02:00
Matthias Hochsteger
832c17c834 Rewrite double-click selection in GUI 2023-03-30 14:01:41 +02:00
Matthias Hochsteger
99ea85a175 Draw surface vectors on quads 2023-03-07 20:30:30 +01:00
Hochsteger, Matthias
69892f39eb Merge branch 'mesh_ptr_as_extern' into 'master'
mesh pointer should be declared extern in visualpkg

See merge request ngsolve/netgen!543
2022-12-09 15:41:31 +01:00
Joachim Schoeberl
1338cff45d fix more sprintf warnings 2022-12-08 15:26:27 +01:00
Joachim Schoeberl
c622f39897 replace sprintf by snprintf (remove warnings), remove old mpi-interface header 2022-12-08 15:19:16 +01:00
Christopher Lackner
f3ba4e2706 mesh pointer should be declared extern in visualpkg 2022-12-07 12:11:04 +01:00
Matthias Hochsteger
838450b7a8 Colorbar features
- title above
- unit at the end
- allow user-defined number formatting
2022-10-06 17:21:53 +02:00
Matthias Hochsteger
9443929806 center numbers under colormap 2022-10-06 15:36:53 +02:00
Matthias Hochsteger
27679c231a fix drawing of colormap (last piece was missing) 2022-10-06 15:11:47 +02:00
Schöberl, Joachim
f91769d53d Merge branch 'fix_writing_in_uninitialized_mem' into 'master'
stlgeometry->... functions were not setting global geo, but

See merge request ngsolve/netgen!529
2022-09-15 16:51:23 +02:00
Christopher Lackner
6a8e03e286 stlgeometry->... functions were not setting global geo, but
uninitilized member pointer memory

Thx https://github.com/NGSolve/netgen/pull/128 StefanBruens
2022-09-13 15:29:04 +02:00
Christopher Lackner
c18a317702 register 1,2,3d elements to numpy to be used in arrays 2022-09-13 15:12:42 +02:00
Christopher Lackner
e72662836c remove cout 2022-07-12 13:14:14 +02:00
Christopher Lackner
ea071bed4f use center coords and set center on dbl click also in solution scene 2022-07-12 11:34:42 +02:00
Matthias Hochsteger
8f33f4fed8 Don't rely on type deduction for std::function ctor
Didn't work on MacOSX 12.4
2022-06-08 10:40:19 +02:00
Matthias Hochsteger
22e57a1159 Don't load gui libraries when importing netgen 2022-05-06 10:59:59 +02:00
Matthias Hochsteger
b694b4667a rework build system, separate gui and non-gui code
move fieldlines code to meshing dir

move visualization function pointers to meshing directory

DLL_HEADER -> NGGUI_API in visualization lib

move soldata.hpp to meshing

update occ, no freetype necessary anymore
2022-05-05 14:39:31 +02:00
Matthias Hochsteger
b62c7b30ef DLL_HEADER for fieldline code 2022-04-26 18:44:14 +02:00
Joachim Schoeberl
eef95eed52 more mpi from ngcore 2022-04-26 16:28:52 +02:00
Matthias Hochsteger
d165d67765 fix build 2022-04-25 20:30:27 +02:00
Matthias Hochsteger
9ceb2baeaa make fieldlines code available in non-gui builds 2022-04-25 18:42:26 +02:00
Matthias Hochsteger
5e977e819f refactor fieldlines code 2022-04-19 18:37:15 +02:00
luz paz
4033fac1b3 Fix various typos
Found via `codespell -q 3 -S ./external_dependencies/pybind11 -L alledges,allright,ane,anormal,ans,apoints,ba,boxs,cancle,childs,co-ordinate,co-ordinates,daty,enty,filld,hel,identifyable,ist,linz,lod,ned,nd,selt,statics,suround,thev,thist,thisy,timere,upto,wel`
2022-03-25 18:22:05 -04:00
mhochsteger@cerbsim.com
1a010f2e57 avoid range exceptions if no element is found on double click 2022-02-02 14:26:58 +01:00
mhochsteger@cerbsim.com
deaeeaaac5 show selected point also in solution scene 2022-02-02 14:26:28 +01:00
Christopher Lackner
f04040f409 allow changing number of colors in colorbar 2021-10-06 16:01:48 +02:00
Christopher Lackner
ec96feb7f4 occ colors also in netgen gui, also allow transparency 2021-10-03 12:58:33 +02:00
Matthias Hochsteger
e745d16c6d manually cut view vector with clipping plane (more accurate, also working when visualizing clipping plane vectors) 2021-01-13 16:48:16 +01:00
Christopher Lackner
b7fab39876 formatting of vector and complex output on click 2021-01-13 13:24:38 +01:00
Matthias Hochsteger
36aa8658b7 Print function names and surface/volume evaluation 2021-01-13 10:58:13 +01:00
Matthias Hochsteger
e5d339ed99 Print function value on double click 2021-01-08 08:30:47 +01:00
Matthias Hochsteger
94ecf8de92 Fix private linking of Python
The CMake export of Interface libraries also exports PRIVATE build
settings, which leads to build errors with non-existing include paths and .lib files for binary distributions.

Use the work-around mentioned here to circumvent this behavior:
https://gitlab.kitware.com/cmake/cmake/-/issues/15415#note_849405
2020-12-18 11:05:10 +01:00
Matthias Hochsteger
2d667a08dc move (refactored) SIMD headers from ngsolve into ngcore 2020-12-11 20:54:41 +01:00