meshroom.core.attribute.Attribute

Inheritance diagram of meshroom.core.attribute.Attribute
class meshroom.core.attribute.Attribute(node, attributeDesc, isOutput, root=None, parent=None)
__init__(node, attributeDesc, isOutput, root=None, parent=None)

Attribute constructor

Args:

node (Node): the Node hosting this Attribute attributeDesc (desc.Attribute): the description of this Attribute isOutput (bool): whether this Attribute is an output of the Node root (Attribute): (optional) the root Attribute (List or Group) containing this one parent (BaseObject): (optional) the parent BaseObject

Methods

__init__(node, attributeDesc, isOutput[, ...])

Attribute constructor

asLinkExpr()

Return link expression for this Attribute

defaultValue()

getBaseType()

getEnabled()

getEvalValue()

getExportValue()

getFullLabel()

Full Label includes the name of all parent groups, e.g.

getFullLabelToGraph()

Label inside the Graph: graphName nodeLabel groupLabel Label

getFullLabelToNode()

Label inside the Graph: nodeLabel groupLabel Label

getFullName()

Name inside the Graph: groupName.name

getFullNameToGraph()

Name inside the Graph: graphName.nodeName.groupName.name

getFullNameToNode()

Name inside the Graph: nodeName.groupName.name

getLabel()

getLinkParam([recursive])

getName()

Attribute name

getPrimitiveValue([exportDefault])

getType()

getUidIgnoreValue()

Value for which the attribute should be ignored during the UID computation.

getValidValue()

Get the status of _validValue:

getValueStr()

isLinkExpression(value)

Return whether the given argument is a link expression.

matchText(**f_kwargs)

parent()

requestGraphUpdate()

requestNodeUpdate()

resetValue()

setEnabled(v)

setValidValue(value)

uid([uidIndex])

updateInternals()

upgradeValue(exportedValue)

Attributes

baseType

desc

enabled

enabledChanged

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

evalValue

fullLabel

Full Label includes the name of all parent groups, e.g.

fullLabelToGraph

Label inside the Graph: graphName nodeLabel groupLabel Label

fullLabelToNode

Label inside the Graph: nodeLabel groupLabel Label

fullName

Name inside the Graph: groupName.name

fullNameToGraph

Name inside the Graph: graphName.nodeName.groupName.name

fullNameToNode

Name inside the Graph: nodeName.groupName.name

hasOutputConnections

Whether the attribute has output connections, i.e is the source of at least one edge.

hasOutputConnectionsChanged

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

isDefault

isInput

isLink

Whether the attribute is a link to another attribute.

isLinkChanged

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

isLinkNested

Whether the attribute is a link to another attribute.

isOutput

isReadOnly

label

linkParam

name

Attribute name

node

root

rootLinkParam

stringIsLinkRe

type

uidIgnoreValue

Value for which the attribute should be ignored during the UID computation.

validValue

Get the status of _validValue:

validValueChanged

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

value

valueChanged

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

valueStr