Commit Graph

21148 Commits

Author SHA1 Message Date
Lukas Matena
8af3e5823a Measurement: moving arrow-drawing functions from frontend to the backend (2/4) 2022-10-12 09:43:17 +02:00
Lukas Matena
9658c8c677 Measurement: moving arrow-drawing functions from frontend to the backend (1/4) 2022-10-12 09:43:17 +02:00
enricoturri1966
1f9d42b14f Measuring - GLGizmoMeasure - Added option to copy to clipboard the result of measurement
Fixed conflicts while rebasing to master
2022-10-12 09:43:02 +02:00
enricoturri1966
e0bfb17e64 Measuring - GLGizmoMeasure - Allow to deselect second feature by clicking on it
Fixed conflicts while rebasing to master
2022-10-12 09:38:39 +02:00
enricoturri1966
aee76f0c11 Measuring - Refactoring in GLGizmoMeasure related to scene raycasters state cache
Fixed conflicts while rebasing to master
2022-10-12 09:33:36 +02:00
enricoturri1966
10459706b8 Fixed bug in get_measurement() function 2022-10-12 09:22:37 +02:00
enricoturri1966
706d05b31f Measuring: Gizmo measure shows dimensioning for angle edge-plane 2022-10-12 09:22:37 +02:00
enricoturri1966
e8a9280843 Measuring: Gizmo measure shows dimensioning for angle edge-edge 2022-10-12 09:22:37 +02:00
enricoturri1966
3bc7418835 Follow-up of 8d98f0869d - Distance edge-edge calculated as in Fusion 360 2022-10-12 09:22:37 +02:00
enricoturri1966
c5fd4d8a7d Follow-up of 81d28c545c - Distance edge-circle calculated as in Fusion 360 2022-10-12 09:22:37 +02:00
enricoturri1966
c01270ca99 Measuring: Gizmo measure shows dimensioning for distance edge-circle 2022-10-12 09:22:37 +02:00
enricoturri1966
a911df78ee Measuring: Gizmo measure shows dimensioning for distance plane-plane 2022-10-12 09:22:37 +02:00
enricoturri1966
0d70bbba8b Measuring: Use eigen library in distance calculations for Gizmo measure 2022-10-12 09:22:37 +02:00
enricoturri1966
124216da02 Measuring: Gizmo measure shows dimensioning for distance point-circle 2022-10-12 09:22:37 +02:00
enricoturri1966
cf55ffbd5e Measuring: Gizmo measure shows dimensioning for distance edge-edge 2022-10-12 09:22:37 +02:00
enricoturri1966
55209dba4b Measuring: Gizmo measure shows dimensioning for distance point-plane 2022-10-12 09:22:37 +02:00
enricoturri1966
5825e85012 Measuring: Gizmo measure shows dimensioning for distance point-edge 2022-10-12 09:22:37 +02:00
enricoturri1966
f9087d5800 Measuring: Gizmo measure shows dimensioning for distance point-point 2022-10-12 09:22:36 +02:00
enricoturri1966
950272aff1 Measuring: Gizmo measure disabled for sinking volumes 2022-10-12 09:22:36 +02:00
enricoturri1966
14224eb38e Measuring: bunch of fixes into GLGizmoMeasure + new tech ENABLE_MEASURE_GIZMO_DEBUG to show a debug imgui dialog containing data related to Measure Gizmo 2022-10-12 09:22:36 +02:00
enricoturri1966
805a793f53 Follow-up of 2b7520dc9e - Use CTRL + mouse right click to restart selection 2022-10-12 09:22:36 +02:00
enricoturri1966
bedfffac39 Measuring: GLGizmoMeasure - Use mouse right click to restart selection 2022-10-12 09:22:36 +02:00
enricoturri1966
d9cb891951 Measuring: Rewritten method SurfaceFeature::operator ==() 2022-10-12 09:22:36 +02:00
enricoturri1966
512073d489 Measuring: Added missing default values to SurfaceFeature member variables 2022-10-12 09:22:36 +02:00
enricoturri1966
e10bd47ba3 Measuring: GLGizmoMeasure - Added colored icon into imgui dialog 2022-10-12 09:22:36 +02:00
enricoturri1966
f95014dce2 Fixed warnings on ARM64 2022-10-12 09:22:36 +02:00
enricoturri1966
1971f0b2cb Measuring: GLGizmoMeasure - Fixed detection of current hovered feature 2022-10-12 09:22:36 +02:00
enricoturri1966
7b8c07c2a4 Measuring: GLGizmoMeasure - show data in inches into imgui dialog, when needed 2022-10-12 09:22:36 +02:00
enricoturri1966
ed7534b8ce Measuring: GLGizmoMeasure - Fixed update of circle geometry 2022-10-12 09:22:35 +02:00
enricoturri1966
9a7fd520b1 Fixed warnings 2022-10-12 09:22:35 +02:00
enricoturri1966
9edc2545ce Measuring: Disable scene raycasters while GLGizmoMeasure is active 2022-10-12 09:22:35 +02:00
enricoturri1966
1e5b01a31d Measuring: Changes in GLGizmoMeasure imgui dialog layout 2022-10-12 09:22:35 +02:00
enricoturri1966
928a642eb9 Measuring: Added features selection in GLGizmoMeasure 2022-10-12 09:22:35 +02:00
enricoturri1966
89ae6cf4ee Refactoring into GLGizmoMeasure.cpp to remove duplicated code 2022-10-12 09:22:35 +02:00
enricoturri1966
19df0dadeb Fixed warnings 2022-10-12 09:22:35 +02:00
enricoturri1966
b64686835b Measuring: Optimization into GLGizmoMeasure::on_render() 2022-10-12 09:22:35 +02:00
enricoturri1966
8d923bb12e Measuring: Measure gizmo - Further improvements in visualization of points for extended selection 2022-10-12 09:22:35 +02:00
enricoturri1966
16aac5f919 Measuring: Measure gizmo - Improved visualization of points for extended selection 2022-10-12 09:22:35 +02:00
enricoturri1966
60aaebc1fe Measuring: Measure gizmo - added visualization of point for extended selection and updates to imgui dialog 2022-10-12 09:22:35 +02:00
enricoturri1966
2bb16b1dc8 Refactoring of GLGizmoMeasure::on_render_input_window to simplify code 2022-10-12 09:22:34 +02:00
enricoturri1966
9f4f09fbbf Refactoring of GLGizmoMeasure to simplify code 2022-10-12 09:22:34 +02:00
enricoturri1966
ed287215db Measuring: Added Measure gizmo imgui dialog + removed tech ENABLE_MEASURE_GIZMO_DEBUG + locking of features by pressing CTRL key 2022-10-12 09:22:34 +02:00
enricoturri1966
6c0aff0d23 Measuring: Measure gizmo features registered for raycasted picking 2022-10-12 09:22:34 +02:00
enricoturri1966
aeb8dec463 Measuring: code for Measure gizmo embedded into new tech ENABLE_MEASURE_GIZMO
Fixed conflicts while rebasing to master
2022-10-12 09:22:20 +02:00
enricoturri1966
7b43786124 Added tech ENABLE_MEASURE_GIZMO_DEBUG to embed debug code related to GLGizmoMeasure 2022-10-12 09:10:52 +02:00
enricoturri1966
86b390e237 Refactoring into GLGizmoMeasure::on_render() 2022-10-12 09:10:52 +02:00
enricoturri1966
62a28c7baf Measuring: refactoring related to plane models cache 2022-10-12 09:10:52 +02:00
enricoturri1966
c30cc15f41 Measuring: circle feature rendered using a torus 2022-10-12 09:10:52 +02:00
enricoturri1966
74d3227703 Follow-up of a7d1c9b5e9 - Simplified code to generate a smooth cylinder 2022-10-12 09:10:52 +02:00
enricoturri1966
adb3d0101d Measuring: reworked rendering of hovered features 2022-10-12 09:10:52 +02:00