Commit graph

299 commits

Author SHA1 Message Date
Grégoire De Lillo
39b7dfd512 [ui] Viewer: Add PhongImageViewer and toolbars to Viewer2D 2024-11-14 10:49:56 +00:00
Candice Bentéjac
65a014d9b1 [qt6][Viewer] Viewer2D: Fix fit() with the Sequence Player
With the Sequence Player always enabled by default, the `fit()` function
must be triggered at the right moment, and only once the layout has
been correctly initialized; otherwise, zoom factors may become negative
and the images will not be placed correctly in the viewer.

Changes in the orientation tag must be handled independently from the
state of the zoom factor.
2024-11-13 18:48:07 +01:00
Candice Bentéjac
36f7f4e420 [qt6][Viewer] Viewer2D: Fix automatic fitting for missing orientation tags 2024-11-07 18:19:08 +01:00
Fabien Servant
d4eb365ada [qt6][Viewer] Fix zoom in 8bits viewer 2024-11-07 18:15:45 +01:00
Candice Bentéjac
5a0b1c0c95 [qt6][qml] Clean-up code and harmonize comments 2024-11-07 18:15:37 +01:00
Candice Bentéjac
49a3fcb72f [qt6][Viewer] Viewer2D: Remove outdated sfmRequired property 2024-11-07 18:13:31 +01:00
Candice Bentéjac
77bd2a7145 [qt6][Viewer] Viewer2D: Trigger auto-fit() on correct events
The fit must be automatically triggered when the size of the image
changes. In case the image size remains the same but the orientation tag
is updated, this means that the displayed size of the image has changed
(with the orientation taken into account, the width and height might end
up being inverted), so the fit should also be triggered.
2024-11-07 18:12:59 +01:00
Candice Bentéjac
3ff279d99a [qt6] Use JS functions format to declare explicit parameters in slots 2024-11-07 18:09:10 +01:00
Candice Bentéjac
0e71f2a520 [qt6] Update versions for all the imported modules
Qt3D.Extras cannot be updated to 2.6 yet, otherwise there are errors.
2024-11-07 18:09:01 +01:00
Candice Bentéjac
6d845376eb [qt6] Use JS functions format to declare explicit parameters in slots
This fixes all the "Injection of parameters into signal handlers
is deprecated. Use JavaScript functions with formal parameters instead."
warnings.
2024-11-07 18:08:59 +01:00
Fabien Servant
457b640002 enable sequence player by default 2024-11-04 15:27:33 +01:00
Fabien Servant
11c28cb979 use scale instead of targetSize 2024-11-04 15:27:32 +01:00
Fabien Castan
cf24a66f3d [ui] SphereDetection: output is now directly the filepath 2024-08-26 15:41:46 +02:00
Fabien Castan
5ca38189ac fix missing frameRange update for sequence use case 2024-08-19 19:39:44 +02:00
Fabien Castan
15c1ce16b5 [ui] Improve sequence display
- allows multiple "*" in the files search expression
- fix a bug if we only provide a folder
- keep the current frame if the frame range has not changed
2024-08-16 17:22:21 +02:00
Candice Bentéjac
a2b4974429 [Viewer] Update error values for QtAV's EStatus enum 2024-08-02 16:37:53 +02:00
Aurore LAFAURIE
2d9a03fb3b [Viewer2D] Only reset index of currentFrame if the currentFrame is after max of frameRange 2024-07-26 12:12:31 +02:00
Aurore LAFAURIE
d52ad9ad8d [Viewer] Current frame for Sequence should not be set during changes of Image Gallery 2024-07-19 17:30:55 +02:00
Candice Bentéjac
f53dbf6a01
Merge pull request #2463 from alicevision/fix/envVarSequencePlayer
[ui] Add MESHROOM_USE_SEQUENCE_PLAYER environment variable
2024-07-15 16:59:23 +02:00
Aurore LAFAURIE
ac7aeddb45 [ui] Clean up for displayedAttr use instead 2024-07-11 14:33:30 +02:00
Aurore LAFAURIE
a43117b298 [ui] Add MESHROOM_USE_SEQUENCE_PLAYER environment variable 2024-07-09 16:31:11 +02:00
Candice Bentéjac
9af65092b9 [Viewer] Clean-up: Harmonize syntax for the Viewer2D 2024-06-27 17:28:26 +02:00
Candice Bentéjac
cfb44d8b54 [ui] Add currentViewPath property
Add a property that contains the path of the image that is currently
displayed in the viewer. If no image is displayed, the property is set
with an empty string.

The path information is set directly from the Viewer2D when an image is
loaded to be displayed.
2024-06-27 17:28:25 +02:00
Aurore LAFAURIE
5a8ceaf287 [ui] Removal of getAttributeByName in Viewer2D 2024-06-20 11:54:31 +02:00
Aurore LAFAURIE
d738f4adac [ui] Sequence with missing files displayable and switching if displayed attribute changed 2024-06-20 11:54:31 +02:00
Aurore LAFAURIE
cc2099534b [ui] Use of pyseq for getting sequences
[ui] To squash
2024-06-20 11:54:30 +02:00
Aurore LAFAURIE
1168ccaacb [ui] Resolve Sequence and ImageList on Python side 2024-06-20 11:54:30 +02:00
Aurore LAFAURIE
4590868317 [ui] Support for imageList and sequence in SequencePlayer 2024-06-20 11:54:30 +02:00
Aurore LAFAURIE
6e89cb68f6 [Viewer] Fix of side effects from output sequence in SequencePlayer
Unsync 3D Viewer and SequencePlayer if it is output sequence and set to 0 the frame displayed when changing sequence
2024-06-20 11:54:29 +02:00
Aurore LAFAURIE
b0063b0dde [ui] Load image sequence from node output in SequencePlayer 2024-06-20 11:54:29 +02:00
Aurore LAFAURIE
90fd95320a [SequencePlayer] Max Cache Memory as setting and sync with 3D viewer by default 2024-06-19 17:20:11 +02:00
Aurore LAFAURIE
74e0e029c9 [ui] SequencePlayer cache setter, Stats layout, UI improvements
Stats Popup containing max cache size setter, synchronization options, and cache informations
2024-06-19 17:20:11 +02:00
Aurore LAFAURIE
1c48d68bef [ui] Fetching button added for Sequence Player 2024-06-19 17:20:10 +02:00
Fabien Castan
916cb35e6a [ui] fix qml warnings 2024-06-15 17:11:05 +02:00
Aurore LAFAURIE
6b6f620124 [ui] Shortcuts in Viewer2D and SequencePlayer 2024-06-10 15:09:28 +02:00
Aurore LAFAURIE
7b2948d0d1 [ui] RGBA shortcuts for Image Viewer 2024-06-06 14:43:26 +02:00
Fabien Castan
adbd6426ca
Merge pull request #2364 from alicevision/dev/nodeWithoutComputation
New InputNode for nodes without computation and support for all param types in output (and no more limited to File type)
2024-06-06 00:01:43 +02:00
Fabien Castan
7e0a841ef5
Merge pull request #2398 from alicevision/dev/imageOverlayUsingExportAnimatedCamera
[ui] Use ExportAnimatedCamera output for image overlay in Viewer3D
2024-05-31 19:47:59 +02:00
Aurore LAFAURIE
99023841a4 [Viewer] Adjust outputAttributes displayable in Viewer2D according to node computable or not 2024-05-27 22:03:42 +02:00
Aurore LAFAURIE
671b3ff128 [ui] InputNode behavior for menu and display 2024-05-27 22:03:42 +02:00
Grégoire De Lillo
f2b7912d7a [ui] Viewer2D: Read Json from SphereDetection folder if auto detection 2024-05-27 00:20:24 +02:00
Grégoire De Lillo
28db112f85 [ui] Viewer2D: Change displayLightingCircleLoader icon 2024-05-27 00:15:07 +02:00
Aurore LAFAURIE
f6332efa7e [ui] uvCenterOffset set according to principal point corrected or not + undistorted image path resolve according to output value of node 2024-05-23 12:30:00 +02:00
Aurore LAFAURIE
762bcddf41 [ui] Prevent Feature Points to display on external images 2024-04-26 15:05:01 +02:00
Elyas Benyamina
2a054a2701 [Viewer] fix lens distortion viewer status when switching between projects
When opening an empty pipeline while the lens distortion viewer was enabled, we ended up in a state where the distortion viewer remained enabled and could not be disabled anymore as its button was greyed out.
2024-04-19 18:07:17 +02:00
Aurore LAFAURIE
2dd8392b4d [ui] Sync feature points in Viewer2D enabled 2024-04-10 19:39:36 +02:00
Aurore LAFAURIE
369143eca1 [ui] Sync camera gizmo in Viewer3D enabled 2024-04-10 19:39:36 +02:00
Aurore LAFAURIE
887537e8bc [ui] bugfix : external files now closable in Viewer 2024-04-09 15:22:22 +02:00
Aurore LAFAURIE
2b2c5a1baf [ui] Display Image from node output with no image in ImageGallery 2024-04-09 15:22:22 +02:00
Candice Bentéjac
0d24c1eabf
Merge pull request #2282 from alicevision/fix/crfGraph
Use the correct response file to display the graph of the Camera Response Function
2024-01-03 11:36:45 +01:00