Commit graph

216 commits

Author SHA1 Message Date
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
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