Blender V5.3
blender::nodes::eval_log::bNodeTreeZone Class Reference

#include <BKE_node_tree_zones.hh>

Public Member Functions

const bNode * input_node () const
const bNode * output_node () const
Vector< const bNode * > child_nodes () const
bool contains_node_recursively (const bNode &node) const
bool contains_zone_recursively (const bNodeTreeZone &other_zone) const

Public Attributes

bNodeTreeZones * owner = nullptr
int index = -1
int depth = -1
std::optional< int > input_node_id
std::optional< int > output_node_id
bNodeTreeZone * parent_zone = nullptr
Vector< bNodeTreeZone * > child_zones
Vector< int > child_node_ids
Vector< const bNodeLink * > border_links

Friends

std::ostream & operator<< (std::ostream &stream, const bNodeTreeZone &zone)

Detailed Description

Definition at line 23 of file BKE_node_tree_zones.hh.

Member Function Documentation

◆ child_nodes()

Definition at line 610 of file node_tree_zones.cc.

◆ contains_node_recursively()

Definition at line 392 of file node_tree_zones.cc.

◆ contains_zone_recursively()

Definition at line 407 of file node_tree_zones.cc.

◆ input_node()

Definition at line 585 of file node_tree_zones.cc.

◆ output_node()

Definition at line 593 of file node_tree_zones.cc.

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const bNodeTreeZone & zone )
friend

Definition at line 631 of file node_tree_zones.cc.

Member Data Documentation

◆ border_links

Links that enter the zone through the zone border and carry information. This excludes muted and unavailable links as well as links that are dangling because they are only connected to a reroute.

Definition at line 45 of file BKE_node_tree_zones.hh.

◆ child_node_ids

Direct children nodes excluding nodes that belong to child zones.

Definition at line 39 of file BKE_node_tree_zones.hh.

◆ child_zones

Direct children zones. Does not contain recursively nested zones.

Definition at line 37 of file BKE_node_tree_zones.hh.

◆ depth

Zero for top level zones, one for a nested zone, and so on.

Definition at line 29 of file BKE_node_tree_zones.hh.

◆ index

Index of the zone in the array of all zones in a node tree.

Definition at line 27 of file BKE_node_tree_zones.hh.

◆ input_node_id

Input node of the zone.

Definition at line 31 of file BKE_node_tree_zones.hh.

◆ output_node_id

Output node of the zone.

Definition at line 33 of file BKE_node_tree_zones.hh.

◆ owner

◆ parent_zone

Direct parent of the zone. If this is null, this is a top level zone.

Definition at line 35 of file BKE_node_tree_zones.hh.


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