mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-01 18:31:58 +02:00
[ui] display track endpoints option in features viewer
This commit is contained in:
parent
334bfc8b00
commit
ece2371166
2 changed files with 17 additions and 0 deletions
|
@ -131,6 +131,20 @@ FloatingPane {
|
|||
onClicked: root.featuresViewer.display3dTracks = display3dTracksCB.checked
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
Label {
|
||||
text: "Display Track Endpoints:"
|
||||
}
|
||||
CheckBox {
|
||||
id: displayTrackEndpointsCB
|
||||
ToolTip.text: "Draws markers indicating the global start/end point of each track."
|
||||
ToolTip.visible: hovered
|
||||
Layout.fillHeight: true
|
||||
Layout.alignment: Qt.AlignRight
|
||||
checked: root.featuresViewer.displayTrackEndpoints
|
||||
onClicked: root.featuresViewer.displayTrackEndpoints = displayTrackEndpointsCB.checked
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
Label {
|
||||
text: "Time Window:"
|
||||
|
|
|
@ -33,6 +33,8 @@ Repeater {
|
|||
property bool trackContiguousFilter: true
|
||||
/// Display only tracks with at least one inlier
|
||||
property bool trackInliersFilter: false
|
||||
/// Display track endpoints
|
||||
property bool displayTrackEndpoints: true
|
||||
/// The list of colors used for displaying several describers
|
||||
property var colors: [Colors.blue, Colors.green, Colors.yellow, Colors.cyan, Colors.pink, Colors.lime] //, Colors.orange, Colors.red
|
||||
|
||||
|
@ -49,6 +51,7 @@ Repeater {
|
|||
display3dTracks: root.display3dTracks
|
||||
trackContiguousFilter: root.trackContiguousFilter
|
||||
trackInliersFilter: root.trackInliersFilter
|
||||
displayTrackEndpoints: root.displayTrackEndpoints
|
||||
featureColor: root.colors[colorIndex]
|
||||
matchColor: Colors.orange
|
||||
landmarkColor: Colors.red
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue