mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-30 06:48:47 +02:00
[ui] Reconstruction: add 'depthMap' member
This commit is contained in:
parent
3edc35f013
commit
978f4a9b00
1 changed files with 11 additions and 0 deletions
|
@ -387,6 +387,9 @@ class Reconstruction(UIGraph):
|
|||
# - Prepare Dense Scene (undistorted images)
|
||||
self._prepareDenseScene = None
|
||||
|
||||
# - Depth Map
|
||||
self._depthMap = None
|
||||
|
||||
# - Texturing
|
||||
self._texturing = None
|
||||
|
||||
|
@ -441,6 +444,7 @@ class Reconstruction(UIGraph):
|
|||
self.featureExtraction = None
|
||||
self.sfm = None
|
||||
self.prepareDenseScene = None
|
||||
self.depthMap = None
|
||||
self.texturing = None
|
||||
self.updateCameraInits()
|
||||
if not self._graph:
|
||||
|
@ -787,6 +791,8 @@ class Reconstruction(UIGraph):
|
|||
self.cameraInit = node
|
||||
elif node.nodeType == "PrepareDenseScene":
|
||||
self.prepareDenseScene = node
|
||||
elif node.nodeType in ("DepthMap", "DepthMapFilter"):
|
||||
self.depthMap = node
|
||||
|
||||
def updateSfMResults(self):
|
||||
"""
|
||||
|
@ -947,8 +953,13 @@ class Reconstruction(UIGraph):
|
|||
# convenient property for QML binding re-evaluation when sfm report changes
|
||||
sfmReport = Property(bool, lambda self: len(self._poses) > 0, notify=sfmReportChanged)
|
||||
sfmAugmented = Signal(Node, Node)
|
||||
|
||||
prepareDenseSceneChanged = Signal()
|
||||
prepareDenseScene = makeProperty(QObject, "_prepareDenseScene", notify=prepareDenseSceneChanged, resetOnDestroy=True)
|
||||
|
||||
depthMapChanged = Signal()
|
||||
depthMap = makeProperty(QObject, "_depthMap", depthMapChanged, resetOnDestroy=True)
|
||||
|
||||
texturingChanged = Signal()
|
||||
texturing = makeProperty(QObject, "_texturing", notify=texturingChanged)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue