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
mugulmd
116d6467f1
[ui] new ExifOrientedViewer component to factorize orientation code
2022-12-29 05:46:38 -08:00
mugulmd
a5b2bc5e60
[ui] FeaturesViewer: apply container dimensions for correct transform
2022-12-29 01:39:04 -08:00
mugulmd
1e2ab5e53e
[ui] 8bit viewer: same exif orientation workflow as the other viewers
2022-12-29 01:36:39 -08:00
Loïc Vital
935a8a2568
[ui] load 3D depth map: custom label in 3D inspector
2022-12-20 12:31:36 +01:00
Loïc Vital
125fa8ca17
[ui] Viewer2D: 3D DepthMap button sends any depthMap output of displayed node
2022-12-20 11:37:39 +01:00
Loïc Vital
9931459cdb
[ui] remove references to qtOIIO plugin
2022-12-13 12:57:46 +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
Candice Bentéjac
278538f793
[ui] Viewer2D: disable ComboBox to display output attributes if no node is loaded
...
By default, when no node is selected, only "Image Gallery" is available.
It makes no sense to have the ComboBox dropping down when clicked since
there is nothing to select. If no node is loaded, the ComboBox is disabled.
2022-11-22 15:06:55 +01:00
Candice Bentéjac
cfa42438d4
[ui] Viewer2D: hide the "Clear node" button when no node is displayed
...
If only images from the Image Gallery or from external sources are
displayed, no node is currently loaded and a "Clear node" button that
appears, although disabled, is unnecessary and might be confusing.
This commit hides it and only displays it again once it gets enabled.
2022-11-22 13:14:39 +01:00
Candice Bentéjac
feee10e97d
[ui] Viewer2D: reset the "useExternal" flag after dropping an image in the Viewer2D
2022-11-22 12:58:23 +01:00
Fabien Castan
aa5e8564e0
Merge pull request #1793 from alicevision/dev/defaultHdrViewer
...
[ui] Viewer 2D: enable the HDR viewer by default
2022-11-03 01:09:12 +00:00
Loïc Vital
61a10a215e
[ui] fix metadata display bug
2022-10-19 09:50:25 +01:00
Loïc Vital
72218ed613
[ui] minor fix
2022-10-19 09:50:23 +01:00
Loïc Vital
0496f0c6a2
[ui] button to clear node from 2d viewer
2022-10-19 09:50:23 +01:00
Loïc Vital
18b5f4bb21
[ui] always display at least "Image Gallery" in ComboBox
2022-10-19 09:50:22 +01:00
Loïc Vital
91cc786e14
[ui] coherent naming "Image Gallery" across app
2022-10-19 09:50:20 +01:00
Loïc Vital
88e822a9de
[ui] fix drag and drop external images on Viewer2D
2022-10-19 09:50:19 +01:00
Loïc Vital
b91d0b372e
[ui] only load nodes in Viewer2D when at least one chunk is finished
2022-10-19 09:50:18 +01:00
Loïc Vital
c71449535d
[ui] use label instead of name in outputAttribute ComboBox
2022-10-19 09:50:18 +01:00
Loïc Vital
a94be6c6a0
[nodes] update desc for nodes in panoramaHDR pipeline to visualize their output
2022-10-19 09:50:17 +01:00
Loïc Vital
a36abd99a6
[ui] disable outputAttributes ComboBox when it is empty
2022-10-19 09:50:17 +01:00
Loïc Vital
8abe45da51
[ui] update outputAttributes when displayedNode is undefined
2022-10-19 09:50:15 +01:00
Loïc Vital
6b7d4d66a8
[ui] prevent loading image output attributes in 3D viewer
2022-10-19 09:50:15 +01:00
Loïc Vital
44c0086f40
[ui] always enable outputAttribute ComboBox
2022-10-19 09:50:14 +01:00
Loïc Vital
f899e24bd6
[ui] replaced depthMapNodeName Label with displayedNodeName Label
2022-10-19 09:50:14 +01:00
Loïc Vital
b1a800d4fc
[ui] fix outputAttribute.name property updating
2022-10-19 09:50:13 +01:00
Loïc Vital
9de858efe4
[ui] minor code cleanup
2022-10-19 09:50:13 +01:00
Loïc Vital
f90942bd2d
[ui] only load in 2D viewer nodes that output images
2022-10-19 09:50:12 +01:00
Loïc Vital
f1c6b48324
[ui] ensure viewpoints are always accessible in 2D viewer using combobox
2022-10-19 09:50:12 +01:00
Loïc Vital
e35c5a7299
[ui] adapt combobox width to contained attr names
2022-10-19 09:50:09 +01:00
Loïc Vital
b4f0b5377e
added some comments
2022-10-19 09:50:08 +01:00
Loïc Vital
a574c0fc9b
use semantic field in file attributes to specify images and store displayed node in 2D viewer to adapt UI
2022-10-19 09:50:08 +01:00
Loïc Vital
fc5ab540f5
added outputImageTypes in node desc to update the viewer2D imageType combo box when double clicking a node
2022-10-19 09:50:07 +01:00
Candice Bentéjac
6cbeeebb9c
[ui] Viewer2D: Fix warnings on some null attributes
...
Fix the QML warning "TypeError: Cannot read property 'status' of
null".
2022-10-10 18:23:03 +02:00
Candice Bentéjac
ff4620dc2f
[ui] Viewer2D: Enable HDR viewer by default if it is available
...
If the HDR viewer is unavailable, load the classic 8bit image viewer,
but do not allow the user to switch to it anymore if the HDR viewer
is available unless a specific environment variable has been provided.
2022-10-10 18:22:46 +02:00
Fabien Castan
8112cdbddc
[ui] qml: remove trailing log
2021-09-14 18:21:45 +02:00
Nils Landrodie
0cb8171ceb
[multi] Pass the right sfm node according to the type of viewer
2021-09-14 18:07:34 +02:00
Nils Landrodie
38cd58f03f
[Panorama Viewer] Adjust comments and increments
2021-09-14 18:07:34 +02:00
Nils Landrodie
f25b5fe755
[Panorama Viewer] Change the method to get the fisheye circle parameters
2021-09-14 18:07:33 +02:00
Nils Landrodie
3fad2faa87
[multi] Add new active node category and pass id view to disto viewer
2021-09-14 18:07:33 +02:00
Landrodie
b24b59d1c1
[Panorama Viewer] Update status of the fisheye circle button
2021-09-14 18:07:31 +02:00
Landrodie
7e65c91bf5
[Panorama Viewer] Add fisheye support for viewer
2021-09-14 18:07:31 +02:00