132 Commits

Author SHA1 Message Date
enricoturri1966
3485db4f1b Gizmo measure - Render dimensioning thicker main lines 2022-11-18 14:53:19 +01:00
enricoturri1966
83c0be6061 Removed commented out code 2022-11-18 11:17:20 +01:00
enricoturri1966
4435484a0a Gizmo measure - Show diameter of selected circles into imgui dialog 2022-11-18 10:53:42 +01:00
enricoturri1966
3eaa4b0149 Gizmo measure - Draw background for dimensioning labels 2022-11-18 08:42:47 +01:00
enricoturri1966
c57247b044 Removed debug code 2022-11-16 15:44:01 +01:00
enricoturri1966
5e60418238 Fixed warnings 2022-11-16 09:42:55 +01:00
enricoturri1966
45e6dbab8f Gizmo measure - Fixed orientation of arrows in arc dimensioning 2022-11-16 09:38:19 +01:00
enricoturri1966
9ca9fa4752 Fixed conflicts after merge with master 2022-11-16 09:05:22 +01:00
enricoturri1966
c24ce15805 Tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES set as default 2022-11-16 08:53:02 +01:00
Lukas Matena
c98ba0e651 Measurement: refactoring - do not touch common raycaster interface when there is no need 2022-11-15 16:07:38 +01:00
enricoturri1966
7c63e94515 Gizmo measure - Render hovered plane while in point selection mode 2022-11-15 12:36:38 +01:00
enricoturri1966
3c0e331363 Gizmo measure modified to accept single full instance selection, to combine the volumes meshes into a single mesh and pass it to the back end after transform it in world coordinates
Changes embedded into tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES
2022-11-15 12:17:18 +01:00
enricoturri1966
d9be85fa01 Gizmo measure - Swap of CTRL and SHIFT keys behavior + CTRL used to pan/rotate the scene as in other gizmos 2022-11-11 12:38:37 +01:00
enricoturri1966
67b4dd9b2a Gizmo measure - Fixed feature color while point selection mode is active 2022-11-10 15:10:16 +01:00
enricoturri1966
a117a13b91 Gizmo measure - Modified states:
Pressing CTRL activates 'point selection'

Pressing CTRL+SHIFT while hovering a circle or an edge with extra point activates 'center selection'
2022-11-10 13:34:47 +01:00
enricoturri1966
2ce76e27dd Measure Gizmo - Fixed volume's color blinking when pressing SHIFT key 2022-11-08 13:08:30 +01:00
enricoturri1966
41c6da913d Measure Gizmo - Release m_measuring content when leaving the gizmo 2022-11-08 12:16:58 +01:00
enricoturri1966
38ecef036a Measure Gizmo - Fixed unwanted volume displacement when click and dragging outside of an highlighted feature 2022-11-08 11:13:48 +01:00
enricoturri1966
236f97aded Gizmo Measure - Fixed loss of selection when panning the view 2022-11-07 14:15:36 +01:00
enricoturri1966
a0a0b0d253 Measuring - Keep showing dimensioning after scaling 2022-11-07 09:58:25 +01:00
enricoturri1966
2eb363bc64 Measuring: modified rendering order of dimensioning items 2022-11-03 15:03:10 +01:00
enricoturri1966
4f6217a54c Fixed typo introduced with 05e82b1fc569f6fe02d29784a87aa7611164d349 2022-11-03 14:14:35 +01:00
enricoturri1966
05e82b1fc5 Measuring: validation for zero distance moved from backend to frontend 2022-11-03 13:20:35 +01:00
enricoturri1966
da5a9277fa Tech ENABLE_MEASURE_GIZMO set as default 2022-11-02 08:50:12 +01:00
enricoturri1966
377ff4a519 Measuring - Gizmo measure - Commented out hovered feature section from imgui dialog 2022-10-25 14:50:54 +02:00
enricoturri1966
a0c1648f36 Measuring - Gizmo measure - Allow to unselect the first feature by clicking on it (also reworked the imgui dialog to show the action taken by left click in dependence of mouse position) 2022-10-25 14:09:27 +02:00
enricoturri1966
2f130ca6e1 Measuring - Gizmo measure - Do not close the gizmo when the user clicks outside of any volume 2022-10-25 12:12:33 +02:00
enricoturri1966
402fe908c1 Measuring - Gizmo measure - Fixed crash when selecting two parallel planes 2022-10-25 10:03:35 +02:00
enricoturri1966
5561e22ba7 Measuring - Gizmo measure - Render dimensioning auxiliary lines in light gray color 2022-10-25 09:25:05 +02:00
enricoturri1966
59f1c349fc Measuring - Gizmo measure - Show dimensioning while the user pans/rotates the 3D view 2022-10-25 08:25:31 +02:00
enricoturri1966
121b0f9a60 Measuring - Gizmo measure - Fixed crash when creating a new project using CTRL+N while the gizmo is active 2022-10-24 14:07:56 +02:00
enricoturri1966
a331c9d018 Measuring - Gizmo measure - Fixed measurements for circles for scaled volumes 2022-10-24 12:57:29 +02:00
enricoturri1966
03f2f1478a Removed tech DISABLE_MEASURE_GIZMO_FOR_SCALED_VOLUMES 2022-10-19 08:38:50 +02:00
enricoturri1966
83db044f04 Measuring - Gizmo measure - Definition and rendering of circle features in world coordinates 2022-10-19 08:17:53 +02:00
enricoturri1966
844d30f64e Measuring - Gizmo measure - Definition and rendering of point and edge features in world coordinates 2022-10-14 09:13:40 +02:00
enricoturri1966
cf11101d16 Measuring - Gizmo measure - Measuring data converted to world coordinates 2022-10-12 13:38:53 +02:00
enricoturri1966
1c2c012006 Measuring - Gizmo measure - Fixed update of volume matrix 2022-10-12 12:27:04 +02:00
enricoturri1966
dc27dbb6ff Measuring: Gizmo measure - Fixed rendering of selected circle features 2022-10-12 09:46:12 +02:00
enricoturri1966
1a67da32f2 Fixed warning 2022-10-12 09:46:12 +02:00
enricoturri1966
bc1e5a0272 Follow-up of 8312dc24547df8e622bde814efb1b3e0b15bab40 - Fixed rendering of point on locked features when the object is scaled 2022-10-12 09:46:11 +02:00
enricoturri1966
6971b72766 Measuring - Gizmo measure - Auto-select text when opening imgui modal dialog to edit distance 2022-10-12 09:46:11 +02:00
enricoturri1966
0b85569c3d Follow-up of 2fb59e66c2b6f07a25cfa873fdeb1d820b2d78c4 - Removed obsolete assert 2022-10-12 09:46:11 +02:00
enricoturri1966
594e91e86a easuring - Gizmo measure - Reworked imgui dialog layout to avoid change in size in dependence of hovered or selected features 2022-10-12 09:46:11 +02:00
enricoturri1966
4b2cc2167d Measuring - Gizmo measure - Handle [Enter] and [Esc] keys input events in imgui modal dialog to edit distance 2022-10-12 09:46:11 +02:00
enricoturri1966
908634d5b7 Measuring - Gizmo measure - Disable background fadeout animation when showing imgui modal dialog to edit distance 2022-10-12 09:46:11 +02:00
enricoturri1966
7002b94419 Measuring - Gizmo measure disabled for scaled volumes 2022-10-12 09:46:11 +02:00
enricoturri1966
75baf95d71 Measuring: Fixed rendering of point features when the object is scaled 2022-10-12 09:46:11 +02:00
enricoturri1966
395cab88ba Measuring: prototype for uniformly scale a volume by editing the value of the shown distance
Fixed conflicts while rebasing to master
2022-10-12 09:45:53 +02:00
enricoturri1966
d561fb97c7 Measuring - Gizmo measure shows dimensioning for distance edge-plane 2022-10-12 09:43:19 +02:00
enricoturri1966
e37187a546 Measuring - Gizmo measure shows dimensioning for distance plane-circle 2022-10-12 09:43:19 +02:00