meshroom.ui.reconstruction.Reconstruction

Inheritance diagram of meshroom.ui.reconstruction.Reconstruction
class meshroom.ui.reconstruction.Reconstruction(undoStack, taskManager, defaultPipeline='', parent=None)

Specialization of a UIGraph designed to manage a 3D reconstruction.

__init__(undoStack, taskManager, defaultPipeline='', parent=None)

Methods

__init__(undoStack, taskManager[, ...])

addEdge(src, dst)

addNewNode(nodeType[, position])

[Undoable] Create a new Node of type 'nodeType' and returns it.

addSfmAugmentation([withMVS])

Create a new augmentation step connected to the last SfM node of this Reconstruction and return the created CameraInit and SfM nodes.

allImagePaths()

Get all image paths in the reconstruction.

allViewIds()

Get all view Ids involved in the reconstruction.

appendAttribute(attribute[, value])

appendSelection(node)

Append 'node' to the selection if it is not already part of the selection.

beginModification(name)

Begin a Graph modification.

blockSignals(self, b)

boxSelect(selection, draggable)

Select nodes that overlap with 'selection'.

buildIntrinsics(cameraInit, additionalViews)

Build up-to-date intrinsics and views based on already loaded + additional images.

cancelNodeComputation(node)

Cancel the computation of the node and all the nodes depending on it.

childEvent(self, event)

children(self)

clear()

clearActiveNodes()

clearAllImages()

clearData(nodes)

Clear data from 'nodes'.

clearDataFrom(nodes)

Clear data from all nodes starting from 'nodes' to graph leaves.

clearImages()

clearNodeHover()

Reset currently hovered node to None.

clearNodeSelection()

Clear all node selection.

clearTempCameraInit()

connect(...)

connectNotify(self, signal)

customEvent(self, event)

deleteLater(self)

disconnect(...)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

duplicateNodes(nodes)

Duplicate 'nodes'.

duplicateNodesFrom(nodes)

Duplicate all nodes starting from 'nodes' to graph leaves.

dynamicPropertyNames(self)

emit(self, arg__1, *args)

endModification()

Ends a Graph modification.

event(self, event)

eventFilter(self, watched, event)

execute([node])

filterNodes(nodes)

Filter out the nodes that do not exist on the graph.

findChild(self, arg__1[, arg__2])

findChildren(-> typing.Iterable)

forceNodesStatusUpdate()

Force re-evaluation of graph's nodes status.

getAutoFisheyeCircle(panoramaInit)

getCameraInitIndex()

getFilesByTypeFromDrop(drop)

Args:

getIntrinsic(viewpoint)

Get the intrinsic attribute associated to 'viewpoint' based on its intrinsicId.

getPoseRT(viewpoint)

Get the camera pose as rotation and translation of the given viewpoint.

getSelectedNodesContent()

Return the content of the currently selected nodes in a string, formatted to JSON.

getSfm()

Returns the current SfM node.

getSolvedIntrinsics(viewpoint)

Return viewpoint's solved intrinsics if it has been reconstructed, None otherwise.

getViewpoints()

Return the Viewpoints model.

groupedGraphModification(title[, disableUpdates])

Get a GroupedGraphModification for this Graph.

handleFilesDrop(drop, cameraInit)

Handle drop events aiming to add images to the Reconstruction.

hasMetadata(viewpoint)

hasValidIntrinsic(viewpoint)

importImagesFromFolder(path[, recursive])

Args:

importImagesSync(images, cameraInit)

Add the given list of images to the Reconstruction.

importImagesUrls(imagePaths[, recursive])

importProject(filepath[, position])

inherits(self, classname)

initActiveNodes()

installEventFilter(self, filterObj)

isComputing()

Whether is graph is being computed, either locally or externally.

isComputingExternally()

Whether this graph is being computed externally.

isComputingLocally()

Whether this graph is being computed locally (i.e computation can be stopped).

isInViews(viewpoint)

isReconstructed(viewpoint)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

lastNodeOfType(nodeTypes, startNode[, ...])

Returns the last node of the given type starting from 'startNode'.

lastSfmNode()

Retrieve the last SfM node from the initial CameraInit node.

load(filepath[, setupProjectFile, ...])

loadGraph(filepath[, setupProjectFile, ...])

loadUrl(url[, setupProjectFile, publishOutputs])

metaObject(self)

moveNode(node, position[, nodes])

Move 'node' to the given 'position' and also update the positions of 'nodes' if necessary.

moveToThread(self, thread)

new([pipeline])

objectName(self)

onCameraInitChanged()

onGraphChanged()

React to the change of the internal graph.

onGraphUpdated()

Callback to any kind of attribute modification.

onImportImagesFailed(msg)

onIntrinsicsAvailable(cameraInit, views, ...)

Update CameraInit with given views and intrinsics.

parent(self)

pasteNodes(clipboardContent[, position, ...])

Parse the content of the clipboard to see whether it contains valid node descriptions.

property(self, name)

push(command)

Try and push the given command to the undo stack.

rebuildIntrinsics(cameraInit)

Rebuild intrinsics of 'cameraInit' from scratch.

receivers(self, signal)

reconstructedCamerasCount()

Get the number of reconstructed cameras in the current context.

registerUserData()

removeAttribute(attribute)

removeEdge(edge)

removeEventFilter(self, obj)

removeNodes(nodes)

Remove 'nodes' from the graph.

removeNodesFrom(nodes)

Remove all nodes starting from 'startNode' to graph leaves.

resetAttribute(attribute)

Reset 'attribute' to its default value

save()

saveAs(url)

saveAsTemplate(url)

selectFollowing(node)

Select all the nodes the depend on 'node'.

selectNodes(nodes)

Append 'nodes' to the selection.

sender(self)

senderSignalIndex(self)

setActiveNode(node)

Set node as the active node of its type.

setActiveNodes(nodes)

Set node as the active node of its type.

setAttribute(attribute, value)

setBuildingIntrinsics(value)

setCameraInitIndex(idx)

setDefaultPipeline(defaultPipeline)

setGraph(g)

Set the internal graph.

setObjectName(self, name)

setParent(self, parent)

setProperty(self, name, value)

setSelectedViewId(viewId)

setSfm(node)

Set the current SfM node.

setSubmitLabel(submitLabel)

setupTempCameraInit(node, attrName)

signalsBlocked(self)

startTimer(self, interval[, timerType])

stopChildThreads()

Stop all child threads.

stopExecution()

stopNodeComputation(node)

Stop the computation of the node and update all the nodes depending on it.

submit([node])

Submit the graph to the default Submitter.

thread(self)

timerEvent(self, event)

tr(self, arg__1[, arg__2, arg__3])

updateCameraInits()

updateChunkMonitor(chunks)

Update the list of chunks for status files monitoring.

updateChunks()

updateGraphComputingStatus()

updateLockedUndoStack()

updateSfMResults()

Update internal views, poses and solved intrinsics based on the current SfM node.

upgradeAllNodes()

Upgrade all upgradable CompatibilityNode instances in the graph.

upgradeNode(node)

Upgrade a CompatibilityNode.

Attributes

activeNodeCategories

activeNodes

buildingIntrinsics

buildingIntrinsicsChanged

cameraInit

cameraInitChanged

cameraInitIndex

cameraInits

canSubmit

computeStatusChanged

computing

computingExternally

computingLocally

destroyed

error

filePollerRefresh

filePollerRefreshChanged

graph

graphChanged

hoveredNode

hoveredNodeChanged

importImagesFailed

info

intrinsicsBuilt

layout

liveSfmManager

lockedChanged

nbCameras

nodes

objectNameChanged

selectedNode

selectedNodeChanged

selectedNodes

selectedNodesChanged

selectedViewId

selectedViewIdChanged

selectedViewpoint

sfm

sfmAugmented

sfmChanged

sfmReport

sfmReportChanged

sortedDFSChunks

staticMetaObject

taskManager

tempCameraInit

tempCameraInitChanged

undoStack

viewpoints

warning