Blender V5.0
bNodeTreeZone Class Reference

#include <BKE_node_tree_zones.hh>

Public Member Functions

const bNodeinput_node () const
const bNodeoutput_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

bNodeTreeZonesowner = nullptr
int index = -1
int depth = -1
std::optional< int > input_node_id
std::optional< int > output_node_id
bNodeTreeZoneparent_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 22 of file BKE_node_tree_zones.hh.

Member Function Documentation

◆ child_nodes()

Definition at line 606 of file node_tree_zones.cc.

◆ contains_node_recursively()

Definition at line 389 of file node_tree_zones.cc.

◆ contains_zone_recursively()

Definition at line 404 of file node_tree_zones.cc.

◆ input_node()

Definition at line 581 of file node_tree_zones.cc.

◆ output_node()

Definition at line 589 of file node_tree_zones.cc.

◆ operator<<

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

Definition at line 627 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 44 of file BKE_node_tree_zones.hh.

◆ child_node_ids

Direct children nodes excluding nodes that belong to child zones.

Definition at line 38 of file BKE_node_tree_zones.hh.

◆ child_zones

Direct children zones. Does not contain recursively nested zones.

Definition at line 36 of file BKE_node_tree_zones.hh.

◆ depth

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

Definition at line 28 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 26 of file BKE_node_tree_zones.hh.

◆ input_node_id

Input node of the zone.

Definition at line 30 of file BKE_node_tree_zones.hh.

◆ output_node_id

Output node of the zone.

Definition at line 32 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 34 of file BKE_node_tree_zones.hh.


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