|
Blender
V2.93
|
#include <COM_NodeGraph.h>
Classes | |
| struct | Link |
Public Member Functions | |
| ~NodeGraph () | |
| const Vector< Node * > & | nodes () const |
| const Vector< 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 *fromSocket, NodeInput *toSocket) |
| 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 (bNode *b_node, bNode *b_node_io, bool use_buffer) |
| 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 43 of file COM_NodeGraph.h.
|
protected |
Definition at line 73 of file COM_NodeGraph.h.
| blender::compositor::NodeGraph::~NodeGraph | ( | ) |
Definition at line 42 of file COM_NodeGraph.cc.
|
protected |
Definition at line 119 of file COM_NodeGraph.cc.
References add_node(), add_proxies_group(), add_proxies_mute(), add_proxies_reroute(), add_proxies_skip(), blender::compositor::COM_bnode_is_fast_node(), blender::compositor::COM_convert_bnode(), blender::compositor::context, ELEM, bNode::flag, node, NODE_CUSTOM_GROUP, NODE_GROUP, NODE_MUTED, NODE_REROUTE, and bNode::type.
Referenced by add_bNodeTree().
|
protected |
Definition at line 166 of file COM_NodeGraph.cc.
References add_link(), find_output(), bNodeSocket::flag, bNodeLink::flag, bNodeLink::fromsock, node, NODE_LINK_MUTED, NODE_LINK_VALID, output, SOCK_UNAVAIL, and bNodeLink::tosock.
Referenced by add_bNodeTree().
|
protected |
Definition at line 96 of file COM_NodeGraph.cc.
References bNodeTree::active_viewer_key, add_bNode(), add_bNodeLink(), BKE_node_instance_key(), blender::compositor::context, node, tree, and bNodeInstanceKey::value.
Referenced by add_proxies_group(), and from_bNodeTree().
|
protected |
Definition at line 88 of file COM_NodeGraph.cc.
References blender::compositor::NodeInput::setLink().
Referenced by add_bNodeLink().
|
protected |
Definition at line 74 of file COM_NodeGraph.cc.
References node, and 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 276 of file COM_NodeGraph.cc.
References add_bNodeTree(), add_proxies_group_inputs(), add_proxies_group_outputs(), blender::compositor::context, ListBase::first, bNode::id, if(), NODE_DO_OUTPUT, NODE_GROUP_INPUT, NODE_GROUP_OUTPUT, and bNodeTree::nodes.
Referenced by add_bNode().
|
protected |
Definition at line 232 of file COM_NodeGraph.cc.
References add_node(), BLI_assert, find_b_node_input(), ListBase::first, bNode::id, NODE_INSTANCE_KEY_BASE, and bNode::outputs.
Referenced by add_proxies_group().
|
protected |
Definition at line 251 of file COM_NodeGraph.cc.
References add_node(), BLI_assert, buffer, find_b_node_output(), ListBase::first, bNode::id, bNode::inputs, and NODE_INSTANCE_KEY_BASE.
Referenced by add_proxies_group().
|
protected |
Definition at line 198 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, and bNode::internal_links.
Referenced by add_bNode().
|
protected |
Definition at line 307 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, bNode::inputs, and bNode::outputs.
Referenced by add_bNode().
|
protected |
Definition at line 210 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, bNode::inputs, bNodeSocket::next, output, bNode::outputs, and bNodeSocket::type.
Referenced by add_bNode().
|
staticprotected |
Definition at line 54 of file COM_NodeGraph.cc.
References ListBase::first, bNode::inputs, and STREQ.
Referenced by add_proxies_group_inputs().
|
staticprotected |
Definition at line 64 of file COM_NodeGraph.cc.
References ListBase::first, bNode::outputs, and STREQ.
Referenced by add_proxies_group_outputs().
|
protected |
Definition at line 153 of file COM_NodeGraph.cc.
Referenced by add_bNodeLink().
| void blender::compositor::NodeGraph::from_bNodeTree | ( | const CompositorContext & | context, |
| bNodeTree * | tree | ||
| ) |
Definition at line 49 of file COM_NodeGraph.cc.
References add_bNodeTree(), blender::compositor::context, NODE_INSTANCE_KEY_BASE, and tree.
Referenced by blender::compositor::NodeOperationBuilder::NodeOperationBuilder().
Definition at line 65 of file COM_NodeGraph.h.
Referenced by blender::compositor::NodeOperationBuilder::convertToOperations().
Definition at line 61 of file COM_NodeGraph.h.
Referenced by blender::compositor::NodeOperationBuilder::convertToOperations().