Commit graph

299 commits

Author SHA1 Message Date
Candice Bentéjac
8bb0b546be [Viewer] Provide a resolved response file path to Camera Response Graph
Instead of providing the `LdrToHdrCalibration` node to the Camera Response
Graph and retrieving the path of the response file within the widget,
retrieve the path and resolve it before activating the Camera Response
Graph component.
2023-12-21 16:24:01 +01:00
Candice Bentéjac
6c723df0f5 [Viewer] Viewer2D: Fix check on image status to display the loading icon 2023-12-21 10:33:33 +01:00
Candice Bentéjac
c87e279ee7 [Viewer] Viewer2D: Fix check on image status for the Color Checker Viewer 2023-12-20 18:47:05 +01:00
Candice Bentéjac
d4addec996 [Viewer] Viewer2D: Fix check on image status for the resolution display 2023-12-20 18:03:11 +01:00
Candice Bentéjac
5600c58e8f [Viewer] Viewer2D: Fix QML warnings related to FloatImageViewer's status 2023-12-20 17:39:48 +01:00
Candice Bentéjac
181a68cdb8 [Viewer] Viewer2D: Use newest MaterialIcon for the PanoramaViewer 2023-12-20 17:33:23 +01:00
Candice Bentéjac
ea8fbf8b2e [Viewer] Viewer2D: Fix check on the image status for the color picker 2023-12-20 16:54:28 +01:00
Candice Bentéjac
64c56e0a73 [Viewer] Display error labels when an image cannot be loaded
Based on QtAliceVision's global status for the FloatImageViewer, display
a specific label when an error has been encountered. The content of the
label depends on the type of the error.
2023-12-14 10:56:33 +00:00
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