|
Blender
V2.93
|
#include <NOD_node_tree_ref.hh>
Inherits blender::NonCopyable, and blender::NonMovable.
Public Member Functions | |
| NodeTreeRef (bNodeTree *btree) | |
| ~NodeTreeRef () | |
| Span< const NodeRef * > | nodes () const |
| Span< const NodeRef * > | nodes_by_type (StringRefNull idname) const |
| Span< const NodeRef * > | nodes_by_type (const bNodeType *nodetype) const |
| Span< const SocketRef * > | sockets () const |
| Span< const InputSocketRef * > | input_sockets () const |
| Span< const OutputSocketRef * > | output_sockets () const |
| Span< const LinkRef * > | links () const |
| bool | has_link_cycles () const |
| bool | has_undefined_nodes_or_sockets () const |
| bNodeTree * | btree () const |
| StringRefNull | name () const |
| std::string | to_dot () const |
Definition at line 239 of file NOD_node_tree_ref.hh.
| blender::nodes::NodeTreeRef::NodeTreeRef | ( | bNodeTree * | btree | ) |
Definition at line 23 of file node_tree_ref.cc.
References Freestyle::a, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::nodes::SocketRef::bsocket_, btree(), blender::LinearAllocator< Allocator >::construct(), blender::nodes::SocketRef::directly_linked_links_, bNodeTree::id, blender::nodes::SocketRef::id_, blender::nodes::SocketRef::index_, blender::nodes::SocketRef::is_input_, bNodeTree::links, LISTBASE_FOREACH, node, blender::nodes::SocketRef::node_, bNodeTree::nodes, blender::nodes::SocketRef::rna_, RNA_Node, RNA_NodeSocket, RNA_pointer_create(), and sort().
| blender::nodes::NodeTreeRef::~NodeTreeRef | ( | ) |
Definition at line 116 of file node_tree_ref.cc.
References node.
|
inline |
Definition at line 668 of file NOD_node_tree_ref.hh.
Referenced by blender::nodes::NodeRef::btree(), and NodeTreeRef().
| bool blender::nodes::NodeTreeRef::has_link_cycles | ( | ) | const |
Definition at line 335 of file node_tree_ref.cc.
References blender::nodes::has_link_cycles_recursive(), node, and visited.
| bool blender::nodes::NodeTreeRef::has_undefined_nodes_or_sockets | ( | ) | const |
Definition at line 349 of file node_tree_ref.cc.
References node.
|
inline |
Definition at line 653 of file NOD_node_tree_ref.hh.
Definition at line 663 of file NOD_node_tree_ref.hh.
|
inline |
Definition at line 673 of file NOD_node_tree_ref.hh.
References bNodeTree::id, and ID::name.
Definition at line 632 of file NOD_node_tree_ref.hh.
Referenced by try_get_socket_to_preview_for_spreadsheet().
|
inline |
Definition at line 643 of file NOD_node_tree_ref.hh.
|
inline |
Definition at line 637 of file NOD_node_tree_ref.hh.
References blender::StringRefNull::c_str(), and nodeTypeFind().
Referenced by blender::nodes::DOutputSocket::get_active_corresponding_group_output_socket(), blender::nodes::DInputSocket::get_corresponding_group_input_sockets(), and modifyGeometry().
|
inline |
Definition at line 658 of file NOD_node_tree_ref.hh.
Definition at line 648 of file NOD_node_tree_ref.hh.
| std::string blender::nodes::NodeTreeRef::to_dot | ( | ) | const |
Definition at line 364 of file node_tree_ref.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::nodes::InputSocketRef::directly_linked_sockets(), blender::dot::NodeWithSocketsRef::input(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::dot::DirectedGraph::new_edge(), blender::dot::Graph::new_node(), node, blender::dot::NodeWithSocketsRef::output(), blender::dot::Node::set_background_color(), blender::dot::Graph::set_rankdir(), and blender::dot::DirectedGraph::to_dot_string().