meshroom.core.node.Node

Inheritance diagram of meshroom.core.node.Node
class meshroom.core.node.Node(nodeType, position=None, parent=None, **kwargs)

A standard Graph node based on a node type.

__init__(nodeType, position=None, parent=None, **kwargs)

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[, position, parent])

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

alreadySubmittedChunks()

attribute(**f_kwargs)

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)

setAttributeValues(values)

setInternalAttributeValues(values)

setLocked(lock)

setSize(value)

statusInThisSession()

stopComputation()

Stop the computation of this node.

submit([forceCompute])

toDict()

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.

upgradeAttributeValues(values)

upgradeInternalAttributeValues(values)

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

chunks

chunksChanged

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

color

Returns:

comment

Returns:

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.

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.

invalidation

Returns:

isCompatibilityNode

isComputed

isExternal

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

isParallelized

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