Commit graph

125 commits

Author SHA1 Message Date
Matthieu Hog
bd21a977b2 added ply to list of supported files 2024-02-13 10:27:57 +01:00
Candice Bentéjac
7d0ff8ccbb [Viewer3D] SfmDataLoader: Add comment to explain magic number 2023-11-21 15:58:23 +01:00
Candice Bentéjac
e0ebf1446d [Viewer3D] MediaLoader: Bind the display status of the resection ID slider 2023-11-21 14:44:55 +01:00
Candice Bentéjac
e4d0243e3c [Viewer3D] Connect any change of the selected view ID to the SfmDataLoader 2023-11-17 11:36:16 +01:00
Candice Bentéjac
a579ea349d [Viewer3D] Inspector3D: Update resection ID slider upon any index update 2023-11-16 15:16:22 +01:00
Candice Bentéjac
45b267a49b [Viewer3D] Inspector3D: Replace resectionID-related labels with ToolLabels 2023-11-07 17:00:59 +01:00
Candice Bentéjac
3d67f83090 [Viewer3D] Display resection IDs of the active 3D model
Instead of displaying the resection IDs of the 3D model that was loaded
last, update the display whenever the active model selection changes.
2023-11-07 16:45:40 +01:00
Candice Bentéjac
c8ac11ca05 [Viewer3D] Inspector3D: Replace Group by ExpandableGroup when relevant
The content of the "DISPLAY" and "CAMERA" groups is hidden by default.
Instead of customizing the `Group` object's toolbar to hide/expand these
groups, the `ExpandableGroup` object, which is specifically made to handle
these cases, is used. The groups can be expanded either by clicking
the dedicated tool button or anywhere on the toolbar.
2023-11-07 16:45:31 +01:00
Candice Bentéjac
610523e3ea [Viewer3D] Add slider to display cameras based on their resection IDs
If any model with cameras is displayed in the 3D Viewer, a slider can
be used to filter the cameras that are being currently displayed based
on their resection IDs. This allows to visualize the order in which the
cameras have been added, and the groups in which they have been added.
2023-11-07 11:16:16 +01:00
Candice Bentéjac
9d2974d282 [Viewer3D] Clean-up: Harmonize syntax across all the files 2023-11-06 16:28:20 +01:00
Candice Bentéjac
5c3159dc9b [Viewer3D] Remove AlembicLoader which has been replaced with SfmDataLoader 2023-10-24 17:32:22 +02:00
Candice Bentéjac
80fae32c2d [Viewer3D] SfmDataLoader: Remove dead code and outdated comments 2023-10-16 16:15:46 +02:00
Fabien SERVANT
aee197e063 Use qmlSfmData 2023-10-16 14:55:09 +02:00
Abdelrahman AL MAROUK
7d6b3bb890 [ui] remove sort from 3D Inspector list 2023-08-30 16:29:50 +02:00
Abdelrahman AL MAROUK
b5093ac3a0 [ui] improve atts filtering and add search bar ...
...for node attributes and 3D inspector

- add search bar for node attributes
- add search bar for 3D inspector
- improve attributes filtering by adding more flexibility
and fixing some issues
2023-08-30 16:21:11 +02:00
Candice Bentéjac
091346cbb8 [qml] Optimize QML files and fix syntax warnings
This commit addresses warnings that were raised by QtCreator's linter:
- IDs declared more than once
- variables declared more than once in the same scope
- type coercions
- variables declared as "var" when their type is known
- unclosed "case" in switch-case
2023-07-04 12:04:14 +02:00
Candice Bentéjac
62ba08447d [qml] Qt5.15: Upgrade all remaining modules
The upgrade concerns the following modules:
- QtCharts
- QtPositioning
- QtLocation
- QtGraphicalEffects
- QtQml
2023-07-03 12:11:32 +02:00
Candice Bentéjac
423de8ccfe [qml] Qt5.15: Upgrade all Qt3D modules 2023-07-03 12:11:31 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
mugulmd
aea6eb19ab [ui] 3D image overlay: use autoTransform to avoid shrinking when resizing viewer 2023-02-09 03:45:13 -08:00
mugulmd
a52aeabedb [ui] 3D viewer: correct field of view using orientation tag 2023-02-06 08:37:30 -08:00
mugulmd
7e4b1a77ac [ui] factorize exif orientation transform in utility functions 2023-02-06 08:16:42 -08:00
mugulmd
205ff22b74 [ui] apply orientation tag to 3d scene to match 2d viewer 2023-02-06 06:09:37 -08:00
Loïc Vital
935a8a2568 [ui] load 3D depth map: custom label in 3D inspector 2022-12-20 12:31:36 +01:00
Candice Bentéjac
02383c68b3 [ui] Check that objects accessed by QML properties are not null before accessing them
Some QML properties access exposed Python objects that may or may not
be null upon their access. When these objects are accessed while null,
QML issues "TypeError" warnings. These warnings have no functional
impact as QML correctly handles trying to access null objects, but can
spam the logs.

This commit aims at fixing all these warnings by checking that the
Python objects are not null before being accessed.
2022-12-06 11:04:50 +01:00
Fabien Castan
d0331d3d2e [ui] convert to CG coordinate system: some renaming and comments 2022-11-03 01:01:31 +01:00
fabien servant
5a05628a14 [mesh] update bounding box display to use the correct geometric frame 2022-11-03 01:01:30 +01:00
luz paz
f4dcf6557f Fix various typos in the source code
## Description
Fix various typos in the source code. This includes user facing code, documentation, and source comments. This PR has not been tested.
Closes #1605
2022-01-22 07:39:05 -05:00
Thomas Zorroche
c919e81542 [Viewer3D] add .fbx and .gltf to supported extensions 2021-09-03 21:13:19 +02:00
Fabien Castan
112280043c [ui] declare .stl support in 3D viewer 2021-07-22 18:12:49 +02:00
Fabien Castan
9d4090d4b3 [ui] reduce step for 3d points size 2021-02-15 10:43:24 +01:00
Fabien Castan
382e350bcd [ui] add soft random colors to cameras
help visualization when the cameras overlap
random color is baed on the view UID
2021-01-22 14:27:02 +01:00
Fabien Castan
cb9841ddd0
Merge pull request #390 from alicevision/dev_lightingEstimation
[nodes] New node `LightingEstimation`
2020-12-15 16:36:52 +01:00
Fabien Castan
2f77a236b3 [ui] Viewer3D: do not load too large EXR files in 3D to avoid crashes in qt 2020-09-14 21:50:43 +02:00
Julien-Haudegond
65138c67a0 [ui] MediaLibrary: fix dependencyReady binding 2020-08-24 18:37:46 +02:00
Julien-Haudegond
688027a69f [ui] MediaLibrary: fix dependency binding 2020-08-21 17:25:18 +02:00
Julien-Haudegond
bd5f515f98 [ui] MediaLibrary: fix SfMTransform loading issue 2020-08-17 15:59:07 +02:00
Julien-Haudegond
424f7e5b0e [ui] MediaLibrary: add alive property and fix issue 2020-08-17 11:50:00 +02:00
Julien-Haudegond
b79795a3c9 [ui] fix binding errors 2020-08-17 11:30:37 +02:00
Julien-Haudegond
79e96e7c06 [ui] fix typos 2020-08-17 11:16:53 +02:00
Julien-Haudegond
f614e63a99 [doc] add a lot of developer's information 2020-08-13 14:24:44 +02:00
Julien-Haudegond
ceb927b409 [ui] Viewer3D: avoid unwanted changes on other transformation types
Now, if we change the translation of the gizmo (for instance), we make sure rotation and scale will not be changed. Very useful to avoid approximations and to have a clean undo-redo stack.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
7486f3b887 [ui] Viewer3D: update TransformGizmo signal with transformation type 2020-08-13 14:24:44 +02:00
Julien-Haudegond
e9151b2ee0 [ui] Viewer3D: fix bbox disappearing when moving after computed 2020-08-13 14:24:44 +02:00
Julien-Haudegond
1c14159cde [nodes] SfMTransform: change name from gizmo to manual + enabled param 2020-08-13 14:24:44 +02:00
Julien-Haudegond
97fd076877 [ui] Viewer3D: SfMTransformGizmo - real-time transformed input rendering
- When SfMTransform uses manual method, we display in real-time the input on which we apply the gizmo transformation.
- For now, the options "Additional Scale", "Apply Scale/Rotation/Translation" of the node are not handled. The purpose will be to disable them when the method is "manual".
2020-08-13 14:24:44 +02:00
Julien-Haudegond
9fd90745e2 [ui] Viewer3D: add SfMTransformGizmo to MediaLibrary and Inspector3D 2020-08-13 14:24:44 +02:00
Julien-Haudegond
180b492ba1 [ui] Viewer3D: add a SfMTransformGizmo
- New SfMTransformGizmo entity.
- Add a uniform scale option to the TransformGizmo.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
e96aae5326 [ui] Viewer3D: TransformGizmo - better right click menu 2020-08-13 14:24:44 +02:00
Julien-Haudegond
f746f0bf9e [ui] Viewer3D: TransformGizmo - better mouse control 2020-08-13 14:24:44 +02:00