Blender V5.0
blender::nodes::derived_node_tree_types::DTreeContext Class Reference

#include <NOD_derived_node_tree.hh>

Public Member Functions

#DTreeContext Inline Methods
const bNodeTreebtree () const
const DTreeContextparent_context () const
const bNodeparent_node () const
bNodeInstanceKey instance_key () const
const DTreeContextchild_context (const bNode &node) const
const DerivedNodeTree & derived_tree () const
bool is_root () const

Detailed Description

The context attached to every node or socket in a derived node tree. It can be used to determine the place of a node in a hierarchy of node groups.

Contexts are organized in a tree data structure to avoid having to store the entire path to the root node group for every node/socket.

Definition at line 39 of file NOD_derived_node_tree.hh.

Member Function Documentation

◆ btree()

const bNodeTree & blender::nodes::DTreeContext::btree ( ) const
inline

Definition at line 241 of file NOD_derived_node_tree.hh.

◆ child_context()

const DTreeContext * blender::nodes::DTreeContext::child_context ( const bNode & node) const
inline

Definition at line 261 of file NOD_derived_node_tree.hh.

◆ derived_tree()

const DerivedNodeTree & blender::nodes::DTreeContext::derived_tree ( ) const
inline

Definition at line 266 of file NOD_derived_node_tree.hh.

◆ instance_key()

bNodeInstanceKey blender::nodes::DTreeContext::instance_key ( ) const
inline

Definition at line 256 of file NOD_derived_node_tree.hh.

◆ is_root()

bool blender::nodes::DTreeContext::is_root ( ) const
inline

Definition at line 271 of file NOD_derived_node_tree.hh.

◆ parent_context()

const DTreeContext * blender::nodes::DTreeContext::parent_context ( ) const
inline

Definition at line 246 of file NOD_derived_node_tree.hh.

◆ parent_node()

const bNode * blender::nodes::DTreeContext::parent_node ( ) const
inline

Definition at line 251 of file NOD_derived_node_tree.hh.


The documentation for this class was generated from the following file: