Commit graph

3981 commits

Author SHA1 Message Date
Aurore LAFAURIE
eb1a0faf97 [core] PushButton attribute implemented
Add PushButtonParam class and implement onAttributeClicked method
2024-04-24 15:29:08 +02:00
Aurore LAFAURIE
8e55257c59 [core] BugFix : Dynamic Param with onAttributeChanged behavior should not be applied if CompatibilityNode
If it is a CompatibilityNode, we should only get the value of the attribute to create fully all the attributes instead of throwing an error.
2024-04-23 12:42:36 +02:00
Candice Bentéjac
6791f02f2d
Merge pull request #2362 from alicevision/dev/uxSequencePlayer
[ui] Sequence Player UX improvements (fps, slider, frame)
2024-04-19 22:54:20 +02:00
Aurore LAFAURIE
b937cb1eb0 [ui] Sequence Player UX improvements (fps, slider, frame)
FPS is now text input, slider has a tooltip to know on which frame you will be while handling, go to specific frame by text input or arrows on side
2024-04-19 22:50:49 +02:00
Candice Bentéjac
e0518a59d4
Merge pull request #2377 from alicevision/fix/distortionviewer
[Viewer] fix lens distortion viewer status when switching between projects
2024-04-19 18:10:40 +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
Candice Bentéjac
f2eaed93b3
Merge pull request #1925 from alicevision/dev/disableOutputAttr
Hide disabled File attributes and their connections
2024-04-19 17:42:05 +02:00
Aurore LAFAURIE
0a770f474f [ui] Disabled behavior applied to all types of parameters and attributes
Disabled behavior applied to all types of parameters and attributes
2024-04-19 17:16:21 +02:00
Aurore LAFAURIE
8d0dc4d62e [ui] Usage of Colors palette
Use of Colors palette instead of Qt palette because doesn't work by now
for disabled elements (until Qt6).
2024-04-19 17:16:21 +02:00
Aurore LAFAURIE
1b55dc8649 [ui] Attribute becomes grey in graph editor and attribute editor when connected but disabled
If attribute is disabled but has output connections, it becomes grey.
If the connection is removed while being disabled, it hides itself.

Both is working in GraphEditor on the nodes and in the AttributeEditor.
2024-04-19 17:16:20 +02:00
Candice Bentéjac
6f1ac9a06e [ui] Hide disabled File attributes and their edges but keep the connections
This commit effectively hides a node's attributes when they are disabled.
If these attributes have connections, the edges representing these
connections are hidden but not destroyed. When the edges are hidden, if
one of the connected attributes is still enabled, its pin becomes empty as
if it was not connected to anything.

If the disabled attribute is re-enabled and the connection has not been
broken (if the enabled attribute on the other side of the edge has not
been reconnected to another attribute, for example), the edge re-appears.
If the connection has been broken, then the attribute will be unconnected.

Hidden connections are saved in project files and taken into account when
a project file containing some is loaded.
2024-04-19 17:16:20 +02:00
Candice Bentéjac
de39143e83
Merge pull request #2376 from alicevision/dev/filterComboboxFix
[ui] Scroll available in FilterComboBox
2024-04-19 16:52:34 +02:00
Candice Bentéjac
52f6703413
Merge pull request #2378 from alicevision/fix/dragAndDrop
[ui] Fix drag and drop of heavy number of frames
2024-04-19 15:00:03 +02:00
Aurore LAFAURIE
f43b6e3461 [ui] Fix drag and drop of heavy number of frames 2024-04-19 12:20:55 +02:00
Candice Bentéjac
dea82607cd
Merge pull request #2365 from alicevision/dev/lidarSimplification
Lidar nodes
2024-04-19 09:37:24 +02:00
Candice Bentéjac
78c78320f2 [nodes] Lidar: Update labels and descriptions 2024-04-18 18:12:24 +02:00
Aurore LAFAURIE
b0f9427757 [ui] Scroll available in FliterComboBox 2024-04-18 15:09:01 +02:00
Candice Bentéjac
aee13b5202
Merge pull request #2353 from alicevision/dev/convertDistortion
Add a "ConvertDistortion" node
2024-04-16 17:04:30 +01:00
Candice Bentéjac
a9138fa45f [nodes] ConvertDistortion: update labels and version 2024-04-15 16:03:55 +02:00
Candice Bentéjac
07765da869
Merge pull request #2374 from alicevision/Ripple-constraints
Update ripple constraints
2024-04-15 14:25:54 +02:00
Fabien Servant @ TCS
777f2da344
Update ripple constraints 2024-04-15 13:39:18 +02:00
Candice Bentéjac
9c92cb6cb0
Merge pull request #2360 from alicevision/dev/syncViewerAndSequencePlayer
[ui] Sync SequencePlayer and Viewer3D
2024-04-12 18:22:43 +02:00
Candice Bentéjac
2b72588da3 [Viewer] SequencePlayer: Replace the two sync buttons with a single one
Instead of having two very similar synchronisation buttons, use a single
one with menu options.
2024-04-12 18:12:34 +02:00
Candice Bentéjac
9bc69d6b84
Merge pull request #2369 from alicevision/dev/hideOutputAttributes
[core/ui] Hide output attributes flagged for visualisation
2024-04-12 16:37:27 +02:00
Aurore LAFAURIE
f3027d1988 [ui] Visible property handles the show of an output attribute in the node in the GraphEditor 2024-04-12 15:43:35 +02:00
Aurore LAFAURIE
f098ede8cb [core] Add visible property to desc.py
Visible property permit to tell directly from the description of the node that we don't want to see the attribute from the node in the GraphEditor
2024-04-12 15:42:45 +02:00
Candice Bentéjac
ec7fe1d58b [nodes] FeatureMatching: Correct minor typo 2024-04-11 16:57:25 +02:00
Candice Bentéjac
0b109b5641 [nodes] FeatureMatching: Update default value for number of Ransac iterations
The range and default value for the maximum number of iterations for
Ransac now match the ones from the StructureFromMotion node.
2024-04-11 16:57:08 +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
361f777118 [ui] Quick Fix of syncViewpointCamera when no element in Scene
Disable View Through the active camera if no element in inspector 3d
2024-04-10 19:39:36 +02:00
Fabien Castan
29243765c8 [ui] Viewer3D: remove animations on cameras 2024-04-10 19:39:36 +02:00
Aurore LAFAURIE
5afb9cb2c8 [ui] Sync Viewer3D according to updateSelectedViewpoint 2024-04-10 19:39:36 +02:00
Aurore LAFAURIE
ca4f7f13e5 Add sync button to SequencePlayer
Synchronisation available for ImageGallery, SequencePlayer and Viewer3D
2024-04-10 19:39:35 +02:00
Candice Bentéjac
f79021fa54
Merge pull request #2357 from alicevision/dev/alembicExport
[nodes] ExportanimatedCamera: change default value for the principal point correction
2024-04-10 19:20:31 +02:00
Candice Bentéjac
c48d510953
Merge pull request #2363 from alicevision/dev/displayImageInViewer
[ui] Correctly display images from node outputs even if there is no `CameraInit` node
2024-04-09 15:50:13 +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
214b567818
Merge pull request #2358 from alicevision/dev/combobox
[ui] Add new FilterComboBox for ChoiceParam attributes
2024-04-09 14:59:08 +02:00
Candice Bentéjac
da714708c3 [nodes] Texturing: Exclusively use lists for ChoiceParams values
ChoiceParams that had their available values described in a tuple need
to be updated to a list to be able to handle dynamic values.
2024-04-09 14:46:25 +02:00
Aurore LAFAURIE
27aceb33e1 [ui] fix : invalide value when reopening AttributeEditor 2024-04-09 14:46:25 +02:00
Candice Bentéjac
3f3f2e647d [GraphEditor] Use attribute.values for the model
Following the modifications that introduce the dynamic choices, we use
the list of attributes instead of the description of the attributes.
2024-04-09 14:46:25 +02:00
Aurore LAFAURIE
eaa021dbaa [ui] Placement of ComboBox according to space available 2024-04-09 14:46:24 +02:00
Aurore LAFAURIE
9007dbdbfd [ui] Validate value even if not in values of ComboBox, Arrow Keys Navigation and Case insensitive 2024-04-08 17:46:57 +02:00
Aurore LAFAURIE
57a02fc50c Filter text reset when attribute reset 2024-04-08 17:46:56 +02:00
Aurore LAFAURIE
c439c5a06e Add FilterComboBox.qml and update AttributeItemDelegate.qml 2024-04-08 17:46:31 +02:00
Candice Bentéjac
9edfc39b48
Merge pull request #2350 from alicevision/dev/dynamicChoices
[core] Add new type of ChoiceParam that changes dynamically
2024-04-08 13:52:24 +01:00
Aurore LAFAURIE
eda320374b [core] Bypass validation on values for ChoiceParams 2024-04-08 12:05:05 +02:00
Candice Bentéjac
1b30582b55
Merge pull request #2342 from alicevision/dev/dragAndDrop
[ui] drag&drop: common behavior for graph editor and image gallery
2024-04-05 18:09:33 +02:00
Candice Bentéjac
04a7191b15 [ui] Simplify error dialog titles and capitalize first letters 2024-04-05 18:06:23 +02:00