Package autodesk_toxik :: Module graph :: Class ToolNode
[frames] | no frames]

Class ToolNode

 object --+        
          |        
Boost.Python.instance --+    
              |    
           Node --+
                  |
                 ToolNode

Nodes created by a tool. Tool nodes are the processing node instances corresponding to the plug-in tools.

Instance Methods
Input
addInput(...)
Creates and adds a dynamic input of the specified data type and cardinality to this node.
Input
getPrimaryInput(...)
Returns: The primary input of this node, if there is one.
Tool
getTool(...)
Returns: The tool that created this node.
 
removeInput(...)
Removes the specified dynamic input.
 
reset(...)
Sets the tool node inputs and values to their default value.

Inherited from Node: __cmp__, __getitem__, __init__, __reduce__, __rshift__, addAnchor, addValue, enableSchematicThumbnail, getAnchors, getGraph, getGroup, getId, getInput, getInputs, getName, getOutput, getOutputs, getPrimaryImageInput, getPrimaryImageOutput, getPrimaryOutput, getQualifiedName, getSchematicPosition, getValue, getValues, hasAnchor, isSchematicThumbnailEnabled, removeAnchor, removeValue, setAnchors, setName, setSchematicPosition

Inherited from Boost.Python.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

addInput(...)

 

Creates and adds a dynamic input of the specified data type and cardinality to this node.

Parameters:
Returns: Input
The created dynamic input.

getPrimaryInput(...)

 
Parameters:
Returns: Input
The primary input of this node, if there is one.
Overrides: Node.getPrimaryInput

getTool(...)

 
Returns: Tool
The tool that created this node.

removeInput(...)

 

Removes the specified dynamic input.

Parameters:
  • input (Input) - The dynamic input to remove.