|
Blender V4.3
|
#include <COM_NodeGraph.h>
Classes | |
| struct | Link |
Public Member Functions | |
| ~NodeGraph () | |
| Span< Node * > | nodes () const |
| Span< Link > | links () const |
| void | from_bNodeTree (const CompositorContext &context, bNodeTree *tree) |
Protected Types | |
| typedef std::pair< Vector< Node * >::iterator, Vector< Node * >::iterator > | NodeRange |
Protected Member Functions | |
| void | add_node (Node *node, bNodeTree *b_ntree, bNodeInstanceKey key, bool is_active_group) |
| void | add_link (NodeOutput *from_socket, NodeInput *to_socket) |
| void | add_bNodeTree (const CompositorContext &context, int nodes_start, bNodeTree *tree, bNodeInstanceKey parent_key) |
| void | add_bNode (const CompositorContext &context, bNodeTree *b_ntree, bNode *b_node, bNodeInstanceKey key, bool is_active_group) |
| NodeOutput * | find_output (const NodeRange &node_range, bNodeSocket *b_socket) |
| void | add_bNodeLink (const NodeRange &node_range, bNodeLink *b_nodelink) |
| void | add_proxies_mute (bNodeTree *b_ntree, bNode *b_node, bNodeInstanceKey key, bool is_active_group) |
| void | add_proxies_skip (bNodeTree *b_ntree, bNode *b_node, bNodeInstanceKey key, bool is_active_group) |
| void | add_proxies_group_inputs (bNode *b_node, bNode *b_node_io) |
| void | add_proxies_group_outputs (const CompositorContext &context, bNode *b_node, bNode *b_node_io) |
| void | add_proxies_group (const CompositorContext &context, bNode *b_node, bNodeInstanceKey key) |
| void | add_proxies_reroute (bNodeTree *b_ntree, bNode *b_node, bNodeInstanceKey key, bool is_active_group) |
Static Protected Member Functions | |
| static bNodeSocket * | find_b_node_input (bNode *b_node, const char *identifier) |
| static bNodeSocket * | find_b_node_output (bNode *b_node, const char *identifier) |
Internal representation of DNA node data. This structure is converted into operations by NodeCompiler.
Definition at line 24 of file COM_NodeGraph.h.
|
protected |
Definition at line 52 of file COM_NodeGraph.h.
| blender::compositor::NodeGraph::~NodeGraph | ( | ) |
Definition at line 24 of file COM_NodeGraph.cc.
|
protected |
Definition at line 101 of file COM_NodeGraph.cc.
References add_node(), add_proxies_group(), add_proxies_mute(), add_proxies_reroute(), blender::compositor::COM_convert_bnode(), ELEM, bNode::flag, NODE_CUSTOM_GROUP, NODE_GROUP, NODE_MUTED, NODE_REROUTE, and bNode::type.
Referenced by add_bNodeTree().
|
protected |
Definition at line 142 of file COM_NodeGraph.cc.
References add_link(), find_output(), bNodeLink::flag, bNodeSocket::flag, bNodeLink::fromsock, NODE_LINK_MUTED, NODE_LINK_VALID, SOCK_UNAVAIL, and bNodeLink::tosock.
Referenced by add_bNodeTree().
|
protected |
Definition at line 78 of file COM_NodeGraph.cc.
References bNodeTree::active_viewer_key, add_bNode(), add_bNodeLink(), bNode::next, node, blender::bke::node_instance_key(), tree, and bNodeInstanceKey::value.
Referenced by add_proxies_group(), and from_bNodeTree().
|
protected |
Definition at line 70 of file COM_NodeGraph.cc.
References blender::compositor::NodeInput::set_link().
Referenced by add_bNodeLink().
|
protected |
Definition at line 56 of file COM_NodeGraph.cc.
References blender::compositor::DebugInfo::node_added().
Referenced by add_bNode(), add_proxies_group_inputs(), add_proxies_group_outputs(), add_proxies_mute(), add_proxies_reroute(), and add_proxies_skip().
|
protected |
Definition at line 250 of file COM_NodeGraph.cc.
References add_bNodeTree(), add_proxies_group_inputs(), add_proxies_group_outputs(), ListBase::first, bNode::id, NODE_DO_OUTPUT, NODE_GROUP_INPUT, NODE_GROUP_OUTPUT, and bNodeTree::nodes.
Referenced by add_bNode().
|
protected |
Definition at line 208 of file COM_NodeGraph.cc.
References add_node(), BLI_assert, find_b_node_input(), ListBase::first, bNode::id, bNode::identifier, blender::bke::NODE_INSTANCE_KEY_BASE, and bNode::outputs.
Referenced by add_proxies_group().
|
protected |
Definition at line 228 of file COM_NodeGraph.cc.
References add_node(), BLI_assert, find_b_node_output(), ListBase::first, bNode::id, bNode::identifier, bNode::inputs, and blender::bke::NODE_INSTANCE_KEY_BASE.
Referenced by add_proxies_group().
|
protected |
|
protected |
Definition at line 282 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, bNode::inputs, and bNode::outputs.
Referenced by add_bNode().
|
protected |
Definition at line 186 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, bNode::inputs, output, and bNode::outputs.
|
staticprotected |
Definition at line 36 of file COM_NodeGraph.cc.
References ListBase::first, bNode::inputs, and STREQ.
Referenced by add_proxies_group_inputs().
|
staticprotected |
Definition at line 46 of file COM_NodeGraph.cc.
References ListBase::first, bNode::outputs, and STREQ.
Referenced by add_proxies_group_outputs().
|
protected |
| void blender::compositor::NodeGraph::from_bNodeTree | ( | const CompositorContext & | context, |
| bNodeTree * | tree ) |
Definition at line 31 of file COM_NodeGraph.cc.
References add_bNodeTree(), blender::bke::NODE_INSTANCE_KEY_BASE, and tree.
Referenced by blender::compositor::NodeOperationBuilder::NodeOperationBuilder().
Definition at line 44 of file COM_NodeGraph.h.
Referenced by blender::compositor::NodeOperationBuilder::convert_to_operations().
Definition at line 40 of file COM_NodeGraph.h.
Referenced by blender::compositor::NodeOperationBuilder::convert_to_operations().