Commit graph

158 commits

Author SHA1 Message Date
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
Thomas Zorroche
67fab19892 [Viewer2D] ImageViewer: fix MSfmData Qt Binding 2021-09-14 18:07:30 +02:00
Landrodie
77b23aef4a [Panorama Viewer] Remove debugs 2021-09-14 18:07:29 +02:00
Thomas Zorroche
c1e57f6e4d [Panorama Viewer] remove unused variables 2021-09-14 18:07:29 +02:00
Thomas Zorroche
223a389748 [Panorama Viewer] Use msfmData from PanoramaViewer (WIP) 2021-09-14 18:07:28 +02:00
Landrodie
262e42a18c [Panorama Viewer] Force display of sfmDataTransform sfm in pano viewer 2021-09-14 18:07:26 +02:00
Landrodie
6cd64b9614 [Panorama Viewer] Change sfm filepath handling in mSfMData object
Change sfm filepath handling to avoid errors with nodes that have an output named "outSfMData"
2021-09-14 18:07:26 +02:00
Landrodie
f37166dae6 [Panorama Viewer] Simplify use of mSfMData object for pano viewer 2021-09-14 18:07:25 +02:00
Landrodie
c88f1e8435 [Fix] Fix fisheye center attribute setting 2021-09-14 18:07:24 +02:00
Thomas Zorroche
c06273d2cc [Panorama Viewer] clean up panorama code 2021-09-14 18:07:23 +02:00
Landrodie
4aa5151af3 [Panorama Viewer] Fix principal point display 2021-09-14 18:07:23 +02:00
Thomas Zorroche
7c8431bc4c [Panorama Viewer] apply node values on Initialization 2021-09-14 18:07:22 +02:00
Thomas Zorroche
86a0953027 [Panorama Viewer] isComputed does not affect active property 2021-09-14 18:07:21 +02:00
Thomas Zorroche
930d885c5e [Panorama Viewer] use msfmDataLoader with Panorama and Disto Viewer 2021-09-14 18:07:21 +02:00
Thomas Zorroche
cd3d3cc1f3 [Panorama Viewer] fix msfmData status bug 2021-09-14 18:07:21 +02:00
Landrodie
2635e51f67 [wip] Change sfmData handling in panorama viewer 2021-09-14 18:07:20 +02:00
Nils Landrodie
20b208454d [Panorama Viewer] Uncheck panorama viewer button when disabled 2021-09-14 18:07:20 +02:00
Landrodie
88e42de224 [Panorama Viewer] Bind sfmRequired property 2021-09-14 18:07:20 +02:00
Landrodie
b9db4e8090 [Panorama Viewer] Change the state of hover bool on viewer set 2021-09-14 18:07:19 +02:00
Thomas Zorroche
5af84f5152 [Panorama Viewer] change default subdivisions value
For Float Image Viewer, set subdivisions value to 1 by default
2021-09-14 18:07:19 +02:00
Thomas Zorroche
843f147460 [Panorama Viewer] Change active conditions for Float Image Viewer 2021-09-14 18:07:18 +02:00
Landrodie
cfd03bb2c9 [Panoram Viewer] Avoid problems with null state for image container 2021-09-14 18:07:18 +02:00
Landrodie
73999c43e4 [Panorama Viewer] Keep HDR viewer checked between scenes 2021-09-14 18:07:17 +02:00
Thomas Zorroche
1dfe96c74b [Panorama Viewer] Load images one by one 2021-09-14 18:07:17 +02:00
Thomas Zorroche
4a7912c0ff [Panorama Viewer] Disable color picker inside HdrToolbar for Panorama
We cannot retrieve mouse coordinates of images inside the panorama due to a conflict between mouse areas.
2021-09-14 18:07:17 +02:00
Landrodie
6534fc1191 [Panorama Viewer] Disable display feature button when pano is enabled 2021-09-14 18:07:16 +02:00
Thomas Zorroche
b81e68523f [Float Image Viewer] Change viewer type with switch case on EViewerType 2021-09-14 18:07:15 +02:00
Thomas Zorroche
266aee8d40 [Panorama Viewer] fix surface grid bug when downscale 2021-09-14 18:07:14 +02:00
Thomas Zorroche
baf02add93 [Panorama Viewer] Change subdivisions with qProperty 2021-09-14 18:07:14 +02:00
Landrodie
72ad12d172 [Lens Distortion Viewer] Change grid opacity with qProperty
We now use a qProperty to change the grid opacity so it works with the color change.
2021-09-14 18:07:14 +02:00
Landrodie
dc7ee20b02 [Lens Distortion Viewer] Remove control points on distortion viewer
Removing control points from the distortion viewer. Now we only display the principal point.
2021-09-14 18:07:13 +02:00
Thomas Zorroche
fdbc5fa974 [Panorama Viewer] fix gridDisplay bug when changing viewer 2021-09-14 18:07:13 +02:00
Thomas Zorroche
6fb977f2d2 [Panorama Viewer] add surface display grid property 2021-09-14 18:07:11 +02:00
Thomas Zorroche
cf01a2d89c [PanoramaViewer] Refactor downscale code logic
Use signals / slots from c++
2021-09-14 18:07:10 +02:00
Landrodie
a4a86e9656 [ui] PanoViewer : allow gamma and gain editing
It is now possible to activae the HDR while inside the pano viewer to edit the gamma and gain on the panorama
2021-09-14 18:07:09 +02:00
Landrodie
ae511e0ec1 [Panorama Viewer] Change syntax logic for more consistency
Changing syntax to match the same logic everywhere. We create a boolean and then use it in the enable property.
2021-09-14 18:07:09 +02:00
Thomas Zorroche
3ea4e277d8 Change colorGrid with Surface Q_Property 2021-09-14 18:07:08 +02:00
Fabien Castan
efb570c306 [ui] Viewer2D: enabled status on panorama and lens buttons 2021-09-14 18:07:08 +02:00
Fabien Castan
7c5752e71f [ui] Viewer2D: metadata can come from sfm or the image itself 2021-09-14 18:07:07 +02:00
Landrodie
8877c86dda [Panorama Viewer] Fix enabled pano viewer button at start 2021-09-14 18:07:07 +02:00
Landrodie
8c14387b7d [Panorama Viewer] Fix HDR display bug on new pipeline action 2021-09-14 18:07:06 +02:00
Thomas Zorroche
4b2b071f49 [Panorama Viewer] Add rotation to float image viewer 2021-09-14 18:07:06 +02:00