141 Commits

Author SHA1 Message Date
enricoturri1966
786eb4dc53 Follow-up of fdc9c73340060cea7d8335e1211836681e18cae0 - Alternate implementation of 'When panning/rotating the scene, do not select the hovered feature, if any' 2022-12-02 12:26:30 +01:00
enricoturri1966
87fb1604d8 Gizmo measure - Fixed incorrect point on feature detection 2022-12-02 12:26:29 +01:00
enricoturri1966
cc0901228b Gizmo measure - Fixed dimensioning after scaling a part of a multipart object 2022-12-02 12:26:29 +01:00
enricoturri1966
df266798a6 Fixed crash when opening Measure Gizmo after slicing in SLA mode 2022-12-02 12:26:29 +01:00
enricoturri1966
ab5c81a2ef Gizmo Measure - Fixed point color and hint in dialog when adding a point on a selected feature 2022-12-02 12:26:29 +01:00
enricoturri1966
38d2e0605a Gizmo Measure - Handling of [ESC] key
When two features are selected -> unselected second feature

When one feature is selected -> unselect first feature

When no feature is selected -> close gizmo
2022-12-02 12:26:29 +01:00
enricoturri1966
ef018318bd Gizmo Measure - Clicking on 1st selected let second selected to be promoted as first selected 2022-12-02 12:26:29 +01:00
enricoturri1966
a03528e55a Gizmo Measure - Added [Restart selection] button to imgui dialog 2022-12-02 12:26:29 +01:00
enricoturri1966
543950bf4b Gizmo Measure - Use [Delete] key in place of Shift+Right mouse to restart selection 2022-12-02 12:26:29 +01:00
enricoturri1966
5d6346f275 Gizmo Measure - When CTRL+dragging to pan/rotate the scene, do not select the hovered feature, if any 2022-12-02 12:26:29 +01:00
enricoturri1966
cf2a7608d3 Gizmo measure - Render dimensioning thicker main lines 2022-12-02 12:26:28 +01:00
enricoturri1966
62d683b50c Removed commented out code 2022-12-02 12:26:28 +01:00
enricoturri1966
1ba8025702 Gizmo measure - Show diameter of selected circles into imgui dialog 2022-12-02 12:26:28 +01:00
enricoturri1966
534d0353eb Gizmo measure - Draw background for dimensioning labels 2022-12-02 12:26:28 +01:00
enricoturri1966
89bae8606b Removed debug code 2022-12-02 12:26:28 +01:00
enricoturri1966
e6b2467f44 Fixed warnings 2022-12-02 12:26:28 +01:00
enricoturri1966
6dd8199edf Gizmo measure - Fixed orientation of arrows in arc dimensioning 2022-12-02 12:26:27 +01:00
enricoturri1966
075c241906 Tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES set as default
Fixed conflicts during rebase to master
2022-12-02 12:26:12 +01:00
Lukas Matena
268365b92d Measurement: refactoring - do not touch common raycaster interface when there is no need 2022-12-02 12:00:26 +01:00
enricoturri1966
fc2f0bad6e 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

Fixed conflicts during rebase to master
2022-12-02 11:59:47 +01:00
enricoturri1966
7c63e94515 Gizmo measure - Render hovered plane while in point selection mode 2022-11-15 12:36:38 +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