meshroom.core.node.CompatibilityNode

Inheritance diagram of meshroom.core.node.CompatibilityNode
class meshroom.core.node.CompatibilityNode(nodeType, nodeDict, position=None, issue=CompatibilityIssue.UnknownIssue, parent=None)

Fallback BaseNode subclass to instantiate Nodes having compatibility issues with current type description. CompatibilityNode creates an ‘empty-shell’ exposing the deserialized node as-is, with all its inputs and precomputed outputs.

__init__(nodeType, nodeDict, position=None, issue=CompatibilityIssue.UnknownIssue, parent=None)

Create a new Node instance based on the given node description. Any other keyword argument will be used to initialize this node’s attributes.

Args:

nodeDesc (desc.Node): the node description for this node parent (BaseObject): this Node’s parent **kwargs: attributes values

Methods

__init__(nodeType, nodeDict[, position, ...])

Create a new Node instance based on the given node description.

alreadySubmittedChunks()

attribute(**f_kwargs)

attributeDescFromName(refAttributes, name, value)

Try to find a matching attribute description in refAttributes for given attribute 'name' and 'value'.

attributeDescFromValue(attrName, value, isOutput)

Generate an attribute description (desc.Attribute) that best matches 'value'.

beginSequence([forceCompute])

canBeCanceled(**f_kwargs)

canBeStopped(**f_kwargs)

clearData()

Delete this Node internal folder.

clearLocallySubmittedChunks()

Reset all locally submitted chunks to Status.NONE.

clearSubmittedChunks(**f_kwargs)

endSequence()

getAttributes()

getChunks()

getColor()

Returns:

getComment()

Returns:

getDocumentation()

getFusedStatus(**f_kwargs)

getGlobalStatus()

Get node global status based on the status of its chunks.

getInputNodes(recursive, dependenciesOnly)

getInternalAttributes()

getInvalidationMessage()

Returns:

getLabel()

Returns:

getLocked()

getName()

getOutputNodes(recursive, dependenciesOnly)

getRecursiveFusedStatus(**f_kwargs)

getSize()

has3DOutputAttribute()

Return True if at least one attribute is a File that can be loaded in the 3D Viewer, False otherwise.

hasAttribute(**f_kwargs)

hasImageOutputAttribute()

Return True if at least one attribute has the 'image' semantic (and can thus be loaded in the 2D Viewer), False otherwise.

hasInternalAttribute(**f_kwargs)

hasStatus(status)

internalAttribute(**f_kwargs)

isAlreadySubmitted()

isAlreadySubmittedOrFinished()

isExtern()

Return True if at least one chunk of this Node has an external execution mode, False otherwise.

isFinishedOrRunning(**f_kwargs)

isPartiallyFinished(**f_kwargs)

isSubmittedOrRunning(**f_kwargs)

nameToLabel(**f_kwargs)

parent()

process([forceCompute])

processIteration(iteration)

setInternalAttributeValues(values)

setLocked(lock)

setSize(value)

statusInThisSession()

stopComputation()

Stop the computation of this node.

submit([forceCompute])

toDict()

Return the original serialized node that generated a compatibility issue.

updateDuplicates(nodesPerUid)

Update the list of duplicate nodes (sharing the same uid).

updateDuplicatesStatusAndLocked(**f_kwargs)

updateInternalAttributes()

updateInternals([cacheDir])

Update Node's internal parameters and output attributes.

updateLocked()

updateStatisticsFromCache()

updateStatusFromCache()

Update node status based on status file content/existence.

upgrade()

Return a new Node instance based on original node type with common inputs initialized.

upgradeStatusTo(newStatus)

Upgrade node to the given status and save it on disk.

Attributes

alive

aliveChanged

The class signal allows a signal to be set on a class rather than an instance.

attributeRE

attributes

canUpgrade

Return whether the node can be upgraded.

chunks

chunksChanged

The class signal allows a signal to be set on a class rather than an instance.

color

Returns:

comment

Returns:

compatibilityIssue

depth

depthChanged

The class signal allows a signal to be set on a class rather than an instance.

documentation

duplicates

elapsedTime

fusedStatus

globalExecMode

globalExecModeChanged

The class signal allows a signal to be set on a class rather than an instance.

globalStatus

globalStatusChanged

The class signal allows a signal to be set on a class rather than an instance.

has3DOutput

Return True if at least one attribute is a File that can be loaded in the 3D Viewer, False otherwise.

hasDuplicates

hasDuplicatesChanged

The class signal allows a signal to be set on a class rather than an instance.

hasImageOutput

Return True if at least one attribute has the 'image' semantic (and can thus be loaded in the 2D Viewer), False otherwise.

inputs

Get current node inputs, where links could differ from original serialized node data (i.e after node duplication)

internalAttributes

internalAttributesChanged

The class signal allows a signal to be set on a class rather than an instance.

internalFolder

internalFolderChanged

The class signal allows a signal to be set on a class rather than an instance.

internalInputs

Get current node's internal attributes

invalidation

Returns:

isCompatibilityNode

isComputed

isExternal

Return True if at least one chunk of this Node has an external execution mode, False otherwise.

isParallelized

issueDetails

label

Returns:

locked

lockedChanged

The class signal allows a signal to be set on a class rather than an instance.

minDepth

name

nbParallelizationBlocks

nodeType

outputAttrEnabledChanged

The class signal allows a signal to be set on a class rather than an instance.

packageFullName

position

Get node position.

positionChanged

The class signal allows a signal to be set on a class rather than an instance.

recursiveElapsedTime

size

sizeChanged

The class signal allows a signal to be set on a class rather than an instance.

x

y