|
Blender
V2.93
|
#include <NOD_node_tree_ref.hh>
Inherits blender::NonCopyable, and blender::NonMovable.
Inherited by blender::nodes::InputSocketRef, and blender::nodes::OutputSocketRef.
Public Member Functions | |
| Span< const SocketRef * > | logically_linked_sockets () const |
| Span< const SocketRef * > | logically_linked_skipped_sockets () const |
| Span< const SocketRef * > | directly_linked_sockets () const |
| Span< const LinkRef * > | directly_linked_links () const |
| bool | is_directly_linked () const |
| bool | is_logically_linked () const |
| const NodeRef & | node () const |
| const NodeTreeRef & | tree () const |
| int | id () const |
| int | index () const |
| bool | is_input () const |
| bool | is_output () const |
| const SocketRef & | as_base () const |
| const InputSocketRef & | as_input () const |
| const OutputSocketRef & | as_output () const |
| PointerRNA * | rna () const |
| StringRefNull | idname () const |
| StringRefNull | name () const |
| StringRefNull | identifier () const |
| bNodeSocketType * | typeinfo () const |
| bNodeSocket * | bsocket () const |
| bNode * | bnode () const |
| bNodeTree * | btree () const |
| bool | is_available () const |
| bool | is_undefined () const |
| void * | default_value () const |
| template<typename T > | |
| T * | default_value () const |
Protected Attributes | |
| NodeRef * | node_ |
| bNodeSocket * | bsocket_ |
| bool | is_input_ |
| int | id_ |
| int | index_ |
| PointerRNA | rna_ |
| Vector< LinkRef * > | directly_linked_links_ |
| MutableSpan< const SocketRef * > | directly_linked_sockets_ |
| MutableSpan< const SocketRef * > | logically_linked_sockets_ |
| MutableSpan< const SocketRef * > | logically_linked_skipped_sockets_ |
| friend | NodeTreeRef |
Definition at line 73 of file NOD_node_tree_ref.hh.
|
inline |
Definition at line 361 of file NOD_node_tree_ref.hh.
|
inline |
Definition at line 366 of file NOD_node_tree_ref.hh.
References BLI_assert, and is_input().
Referenced by blender::nodes::DInputSocket::foreach_origin_socket().
|
inline |
Definition at line 372 of file NOD_node_tree_ref.hh.
References BLI_assert, and is_output().
Referenced by blender::nodes::DOutputSocket::foreach_target_socket().
|
inline |
Definition at line 408 of file NOD_node_tree_ref.hh.
References blender::nodes::NodeRef::bnode(), and node_.
|
inline |
Definition at line 403 of file NOD_node_tree_ref.hh.
References bsocket_.
Referenced by compute_geometry(), and sh_node_value_expand_in_mf_network().
|
inline |
Definition at line 413 of file NOD_node_tree_ref.hh.
References blender::nodes::NodeRef::btree(), and node_.
|
inline |
Definition at line 428 of file NOD_node_tree_ref.hh.
References bsocket_, and bNodeSocket::default_value.
|
inline |
Definition at line 433 of file NOD_node_tree_ref.hh.
References bsocket_, bNodeSocket::default_value, and T.
Definition at line 316 of file NOD_node_tree_ref.hh.
References directly_linked_links_.
Definition at line 311 of file NOD_node_tree_ref.hh.
References directly_linked_sockets_.
|
inline |
Definition at line 341 of file NOD_node_tree_ref.hh.
References id_.
|
inline |
Definition at line 393 of file NOD_node_tree_ref.hh.
References bsocket_, and bNodeSocket::identifier.
|
inline |
Definition at line 383 of file NOD_node_tree_ref.hh.
References bsocket_, and bNodeSocket::idname.
Referenced by modifyGeometry().
|
inline |
Definition at line 346 of file NOD_node_tree_ref.hh.
References index_.
Referenced by blender::nodes::DOutputSocket::get_active_corresponding_group_output_socket(), blender::nodes::DInputSocket::get_corresponding_group_input_sockets(), blender::nodes::DOutputSocket::get_corresponding_group_node_input(), and blender::nodes::DInputSocket::get_corresponding_group_node_output().
|
inline |
Definition at line 418 of file NOD_node_tree_ref.hh.
References bsocket_, bNodeSocket::flag, and SOCK_UNAVAIL.
|
inline |
Definition at line 321 of file NOD_node_tree_ref.hh.
References directly_linked_sockets_.
|
inline |
Definition at line 351 of file NOD_node_tree_ref.hh.
References is_input_.
Referenced by blender::nodes::MFNetworkTreeMap::add(), as_input(), and blender::nodes::DInputSocket::DInputSocket().
|
inline |
Definition at line 326 of file NOD_node_tree_ref.hh.
References logically_linked_sockets_.
Referenced by blender::nodes::DInputSocket::foreach_origin_socket().
|
inline |
Definition at line 356 of file NOD_node_tree_ref.hh.
References is_input_.
Referenced by as_output(), and blender::nodes::DOutputSocket::DOutputSocket().
|
inline |
Definition at line 423 of file NOD_node_tree_ref.hh.
References bsocket_, NodeSocketTypeUndefined, and bNodeSocket::typeinfo.
|
inline |
Definition at line 306 of file NOD_node_tree_ref.hh.
References logically_linked_skipped_sockets_.
Referenced by blender::nodes::DOutputSocket::foreach_target_socket().
Definition at line 301 of file NOD_node_tree_ref.hh.
References logically_linked_sockets_.
|
inline |
Definition at line 388 of file NOD_node_tree_ref.hh.
References bsocket_, and bNodeSocket::name.
|
inline |
Definition at line 331 of file NOD_node_tree_ref.hh.
References node_.
Referenced by blender::nodes::DOutputSocket::get_active_corresponding_group_output_socket(), blender::nodes::DInputSocket::get_corresponding_group_input_sockets(), blender::nodes::DOutputSocket::get_corresponding_group_node_input(), blender::nodes::DInputSocket::get_corresponding_group_node_output(), and blender::nodes::DSocket::node().
|
inline |
Definition at line 378 of file NOD_node_tree_ref.hh.
References rna_.
|
inline |
Definition at line 336 of file NOD_node_tree_ref.hh.
References node_, and blender::nodes::NodeRef::tree().
Referenced by blender::nodes::DSocket::DSocket().
|
inline |
Definition at line 398 of file NOD_node_tree_ref.hh.
References bsocket_, and bNodeSocket::typeinfo.
Referenced by blender::nodes::insert_unlinked_input(), and log_ui_hints().
|
protected |
Definition at line 76 of file NOD_node_tree_ref.hh.
Referenced by bsocket(), default_value(), identifier(), idname(), is_available(), blender::nodes::InputSocketRef::is_multi_input_socket(), is_undefined(), name(), blender::nodes::NodeTreeRef::NodeTreeRef(), and typeinfo().
Definition at line 81 of file NOD_node_tree_ref.hh.
Referenced by directly_linked_links(), and blender::nodes::NodeTreeRef::NodeTreeRef().
|
protected |
Definition at line 84 of file NOD_node_tree_ref.hh.
Referenced by directly_linked_sockets(), blender::nodes::InputSocketRef::directly_linked_sockets(), blender::nodes::OutputSocketRef::directly_linked_sockets(), and is_directly_linked().
|
protected |
Definition at line 78 of file NOD_node_tree_ref.hh.
Referenced by id(), and blender::nodes::NodeTreeRef::NodeTreeRef().
|
protected |
Definition at line 79 of file NOD_node_tree_ref.hh.
Referenced by index(), and blender::nodes::NodeTreeRef::NodeTreeRef().
|
protected |
Definition at line 77 of file NOD_node_tree_ref.hh.
Referenced by is_input(), is_output(), and blender::nodes::NodeTreeRef::NodeTreeRef().
|
protected |
Definition at line 90 of file NOD_node_tree_ref.hh.
Referenced by logically_linked_skipped_sockets().
|
protected |
Definition at line 87 of file NOD_node_tree_ref.hh.
Referenced by is_logically_linked(), logically_linked_sockets(), blender::nodes::InputSocketRef::logically_linked_sockets(), and blender::nodes::OutputSocketRef::logically_linked_sockets().
|
protected |
Definition at line 75 of file NOD_node_tree_ref.hh.
Referenced by bnode(), btree(), node(), blender::nodes::NodeTreeRef::NodeTreeRef(), and tree().
|
protected |
Definition at line 92 of file NOD_node_tree_ref.hh.
|
protected |
Definition at line 80 of file NOD_node_tree_ref.hh.
Referenced by blender::nodes::NodeTreeRef::NodeTreeRef(), and rna().