Commit graph

241 commits

Author SHA1 Message Date
Candice Bentéjac
13b8266d14 [Viewer] Clean-up: Harmonize syntax across all the files 2023-11-06 16:28:21 +01:00
Loïc Vital
218f673599 [ui] circle gizmo: fix dragging 2023-09-27 14:22:16 +02:00
Loïc Vital
4ec27d0cf9 [ui] color checker viewer: support exif orientation 2023-09-27 11:55:55 +02:00
Loïc Vital
8ec5807775 [ui] lighting calibration circle: support exif orientation 2023-09-27 11:03:47 +02:00
Loïc Vital
daa3849c08 [ui] fisheye circle: support orientation by placing widget in properly sized item 2023-09-27 10:55:02 +02:00
Loïc Vital
4d4d8176b7 [ui] float image viewer: factorize targetSize computation 2023-08-21 11:54:58 +02:00
Loïc Vital
78625705a3 [ui] float image viewer: refine target size management 2023-08-21 09:38:11 +02:00
Loïc Vital
9aab7b2b57 [ui] FloatImageViewer: compute target size 2023-08-21 09:38:10 +02:00
Loïc Vital
7e859156e3 [ui] Viewer2D: fix JSON parse error 2023-07-12 15:34:28 +02:00
Loïc Vital
7af051d3ee [ui] sequence player: feed sorted viewIds from Viewer2D to SequencePlayer 2023-07-12 09:13:53 +02:00
Loïc Vital
2641195690 [ui] sequence player: support output attribute sequences 2023-07-12 09:13:53 +02:00
Loïc Vital
c0526d87f1 [ui] Viewer2D: factorize helper functions 2023-07-12 09:13:52 +02:00
Loïc Vital
0e8c8ca8a7 [ui] sequence player: checkbox to show or hide sequence player widget 2023-07-12 09:13:52 +02:00
mugulmd
03dc812e5d [ui] sequence player: minor bug fixes 2023-07-12 09:13:52 +02:00
mugulmd
76f4fc82f9 [ui] float image viewer: specify when to use sequence or single image 2023-07-12 09:13:51 +02:00
Loïc Vital
4c58d4b93f [ui] new concept of pickedViewId to scroll in 2D viewer without constantly updating selectedViewId 2023-07-12 09:13:51 +02:00
Loïc Vital
8a3daed543 [ui] sequence player: draw cached frames indicator 2023-07-12 09:13:50 +02:00
Loïc Vital
45a95b5114 [ui] sequence player: adjust size to fill 2D viewer 2023-07-12 09:13:47 +02:00
mugulmd
d9264473e4 [ui] basic sequence player: control selected viewId with a slider 2023-07-12 09:13:47 +02:00
Loïc Vital
6c135e14b9 [ui] FloatImage: keep image visible when loading next one 2023-07-12 09:13:46 +02:00
Candice Bentéjac
9efa950fce [Viewer] Replace deprecated slot with new QML function syntax 2023-07-11 16:31:41 +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
422d9da48c [Viewer] Prevent accessing null objects 2023-07-04 11:59:35 +02:00
Candice Bentéjac
8c494198e0 [qml] Qt5.15: Update syntax for slots
Slots now need to be written as function; the previous syntax is
deprecated.
2023-07-03 12:11:33 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
Candice Bentéjac
b5638fe034 [ui] Display icon for nodes with 3D outputs
The tooltip that is displayed when hovering over the icon specifies
which loader will be used, depending on the type of output attribute
(either the Image/2D viewer, or the 3D viewer).
2023-06-13 14:45:59 +02:00
Candice Bentéjac
2b232b0c85 Viewer2D: Update list of loaded node's outputs when they are en/dis-abled
When a node with viewable output attributes is loaded, the combo box  of
the 2D Viewer lists these attributes. As some of these attributes are
enabled or disabled, they need to be added or removed from that list,
without needing to load another node first, or to unload the node.

This commit connects the signal that is emitted when an output attribute
with a viewable output is enabled or disabled to the slot that reloads
the currently loaded node (and thus updates the list).
2023-06-09 14:22:59 +02:00
jmelou
5e49ee3f58 [nodes] PS: Expose normal and albedo maps in Viewer 2023-05-30 15:48:52 +02:00
jmelou
0718115899 Interraction with node sphereDetection 2023-05-30 15:48:52 +02:00
Jean Mélou
0bd63b203c [ps] Add sphere selection in interface 2023-05-30 15:48:52 +02:00
Candice Bentéjac
cef8cf6fd8
Merge pull request #1924 from alicevision/mug/refactoQtAV
[ui] Reflect changes made in QtAliceVision refactorize PR
2023-05-26 14:57:36 +02:00
Loïc Vital
5b9d37c836 [ui] bug fix in features viewer 2023-05-11 16:02:08 +02:00
Loïc Vital
2bf1a5f809 [ui] Viewer2D: notion of feature/match provider nodes for features viewer 2023-05-10 17:17:58 +02:00
broods
731440eaa1 [ui] add new patterns to load images in viewer2D 2023-04-18 14:46:02 +02:00
Loïc Vital
8d68f17410 [ui] MFeatures: use viewId from active cameraInit only (not all cameraInits) 2023-03-22 15:43:54 +01:00
Loïc Vital
634fb96aa9 [ui] use new q_invokables for displaying nb features, matches and landmarks 2023-03-22 09:58:00 +01:00
Fabien Castan
eb6d65f938
Merge pull request #1915 from alicevision/mug/fix/metadataViewer2D
[ui] Viewer2D: fix displayed metadata
2023-03-13 19:06:47 +01:00
mugulmd
571ef22b9d [ui] Viewer2D: handle special case of 8bit viewer for metadata 2023-03-13 04:41:42 -07:00
mugulmd
748512f38a [ui] separate viewpoint metadata from image metadata 2023-03-13 04:02:10 -07:00
Loïc Vital
31b04092a0 [ui] update QML properties after changes in qtAV 2023-03-08 17:18:03 +01:00
mugulmd
c976504280 [ui] Viewer2D: prioritize metadata from float viewer instead of sfmData 2023-03-02 03:17:37 -08:00
Candice Bentéjac
01be6d83c3 [Viewer] Viewer2D: Add name of the active SfM node in the SfMStats tooltips 2023-02-28 16:51:46 +01:00
Candice Bentéjac
f4418f44c3 [Viewer] Viewer2D: Remove trailing whitespaces 2023-02-27 19:22:34 +01:00
Candice Bentéjac
15f963a9b5 [Viewer] Viewer2D: Load and unload SfmStats components explicitly
The SfmStatsView and SfmGlobalStats components used to be loaded once
and for all with "Component.onCompleted". With the upgrade to Qt 5.14,
it is needed to load and explicitly unload the component (by resetting its
source) for the statistics to always be correctly displayed. Otherwise,
they can be loaded and viewed only once per session; after being shown for
the first time, they are set to null and never reloaded.

This commit uses the same type of loading/unloading as all the other
components in the 2D Viewer.
2023-02-27 19:21:18 +01:00
Candice Bentéjac
6579ed3797 [Viewer] Check if active node's "input" attribute exists before accessing it 2023-02-03 10:58:16 +01:00
Fabien Castan
2c7547e493
Merge pull request #1857 from alicevision/mug/exifOrientation
[ui] Viewer2D: support all Exif orientation tags
2023-01-14 21:25:34 +00:00
Fabien Castan
27ce3df5cb
Merge pull request #1852 from alicevision/mug/improveLoadDepthMap3D
[ui] Load 3D Depth Map: minor improvements
2023-01-04 12:28:17 +01:00
mugulmd
17093279f5 [ui] fix scaling for Exif orientation tags 5 to 8 2023-01-04 00:18:11 -08:00
mugulmd
d06fe19d20 [ui] force HDR display when disabling 8bit viewer 2023-01-03 05:58:51 -08:00
mugulmd
c21bbd307c [ui] check box in 2D viewer header bar to enable/disable 8bit viewer 2023-01-03 05:29:54 -08:00