meshroom.core.node.BaseNode

- class meshroom.core.node.BaseNode(nodeType, position=None, parent=None, **kwargs)
Base Abstract class for Graph nodes.
- __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:
getDefaultLabel()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()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.
upgradeStatusTo(newStatus)Upgrade node to the given status and save it on disk.
Attributes
alivealiveChangedThe class signal allows a signal to be set on a class rather than an instance.
attributeREattributeschunkschunksChangedThe class signal allows a signal to be set on a class rather than an instance.
colorReturns:
commentReturns:
defaultLabeldepthdepthChangedThe class signal allows a signal to be set on a class rather than an instance.
documentationduplicateselapsedTimefusedStatusglobalExecModeglobalExecModeChangedThe class signal allows a signal to be set on a class rather than an instance.
globalStatusglobalStatusChangedThe class signal allows a signal to be set on a class rather than an instance.
has3DOutputReturn True if at least one attribute is a File that can be loaded in the 3D Viewer, False otherwise.
hasDuplicateshasDuplicatesChangedThe class signal allows a signal to be set on a class rather than an instance.
hasImageOutputReturn True if at least one attribute has the 'image' semantic (and can thus be loaded in the 2D Viewer), False otherwise.
internalAttributesinternalAttributesChangedThe class signal allows a signal to be set on a class rather than an instance.
internalFolderinternalFolderChangedThe class signal allows a signal to be set on a class rather than an instance.
invalidationReturns:
isCompatibilityNodeisComputedisExternalReturn True if at least one chunk of this Node has an external execution mode, False otherwise.
isParallelizedlabelReturns:
lockedlockedChangedThe class signal allows a signal to be set on a class rather than an instance.
minDepthnamenbParallelizationBlocksnodeTypeoutputAttrEnabledChangedThe class signal allows a signal to be set on a class rather than an instance.
packageFullNamepositionGet node position.
positionChangedThe class signal allows a signal to be set on a class rather than an instance.
recursiveElapsedTimesizesizeChangedThe class signal allows a signal to be set on a class rather than an instance.
xy