diff --git a/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml b/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml index d971c573..cc3b47ef 100644 --- a/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml +++ b/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml @@ -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:" diff --git a/meshroom/ui/qml/Viewer/FeaturesViewer.qml b/meshroom/ui/qml/Viewer/FeaturesViewer.qml index 454f24c2..63e8becd 100644 --- a/meshroom/ui/qml/Viewer/FeaturesViewer.qml +++ b/meshroom/ui/qml/Viewer/FeaturesViewer.qml @@ -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