Blender
V3.3
|
#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 |
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 23 of file COM_NodeGraph.h.
|
protected |
Definition at line 53 of file COM_NodeGraph.h.
blender::compositor::NodeGraph::~NodeGraph | ( | ) |
Definition at line 22 of file COM_NodeGraph.cc.
|
protected |
Definition at line 99 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 146 of file COM_NodeGraph.cc.
References add_link(), find_output(), bNodeSocket::flag, bNodeLink::flag, bNodeLink::fromsock, input, node, NODE_LINK_MUTED, NODE_LINK_VALID, output, SOCK_UNAVAIL, and bNodeLink::tosock.
Referenced by add_bNodeTree().
|
protected |
Definition at line 76 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 68 of file COM_NodeGraph.cc.
References blender::compositor::NodeInput::set_link().
Referenced by add_bNodeLink().
|
protected |
Definition at line 54 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 259 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 212 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 231 of file COM_NodeGraph.cc.
References add_node(), BLI_assert, buffer, blender::compositor::context, find_b_node_output(), ListBase::first, bNode::id, bNode::inputs, NODE_INSTANCE_KEY_BASE, and blender::compositor::Tiled.
Referenced by add_proxies_group().
|
protected |
Definition at line 178 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, and bNode::internal_links.
Referenced by add_bNode().
|
protected |
Definition at line 290 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, bNode::inputs, and bNode::outputs.
Referenced by add_bNode().
|
protected |
Definition at line 190 of file COM_NodeGraph.cc.
References add_node(), ListBase::first, input, bNode::inputs, output, and bNode::outputs.
Referenced by add_bNode().
|
staticprotected |
Definition at line 34 of file COM_NodeGraph.cc.
References ListBase::first, bNode::inputs, and STREQ.
Referenced by add_proxies_group_inputs().
|
staticprotected |
Definition at line 44 of file COM_NodeGraph.cc.
References ListBase::first, bNode::outputs, and STREQ.
Referenced by add_proxies_group_outputs().
|
protected |
Definition at line 133 of file COM_NodeGraph.cc.
Referenced by add_bNodeLink().
void blender::compositor::NodeGraph::from_bNodeTree | ( | const CompositorContext & | context, |
bNodeTree * | tree | ||
) |
Definition at line 29 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 45 of file COM_NodeGraph.h.
Referenced by blender::compositor::NodeOperationBuilder::convert_to_operations().
Definition at line 41 of file COM_NodeGraph.h.
Referenced by blender::compositor::NodeOperationBuilder::convert_to_operations().