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
alivealiveChangedThe class signal allows a signal to be set on a class rather than an instance.
attributeREattributescanUpgradeReturn whether the node can be upgraded.
chunkschunksChangedThe class signal allows a signal to be set on a class rather than an instance.
colorReturns:
commentReturns:
compatibilityIssuedepthdepthChangedThe 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.
inputsGet current node inputs, where links could differ from original serialized node data (i.e after node duplication)
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.
internalInputsGet current node's internal attributes
invalidationReturns:
isCompatibilityNodeisComputedisExternalReturn True if at least one chunk of this Node has an external execution mode, False otherwise.
isParallelizedissueDetailslabelReturns:
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