Blender V4.3
blender::bke::bNodeTreeZone Class Reference

#include <BKE_node_tree_zones.hh>

Public Member Functions

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
 
const bNodeinput_node = nullptr
 
const bNodeoutput_node = nullptr
 
bNodeTreeZoneparent_zone = nullptr
 
Vector< bNodeTreeZone * > child_zones
 
Vector< const bNode * > child_nodes
 
Vector< const bNodeLink * > border_links
 

Friends

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

Detailed Description

Definition at line 21 of file BKE_node_tree_zones.hh.

Member Function Documentation

◆ contains_node_recursively()

◆ contains_zone_recursively()

bool blender::bke::bNodeTreeZone::contains_zone_recursively ( const bNodeTreeZone & other_zone) const

Definition at line 382 of file node_tree_zones.cc.

References parent_zone.

Referenced by blender::bke::update_zone_border_links().

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 538 of file node_tree_zones.cc.

Member Data Documentation

◆ border_links

Vector<const bNodeLink *> blender::bke::bNodeTreeZone::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 43 of file BKE_node_tree_zones.hh.

Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::build_graph_contents().

◆ child_nodes

Vector<const bNode *> blender::bke::bNodeTreeZone::child_nodes

Direct children nodes excluding nodes that belong to child zones.

Definition at line 37 of file BKE_node_tree_zones.hh.

◆ child_zones

Vector<bNodeTreeZone *> blender::bke::bNodeTreeZone::child_zones

Direct children zones. Does not contain recursively nested zones.

Definition at line 35 of file BKE_node_tree_zones.hh.

◆ depth

int blender::bke::bNodeTreeZone::depth = -1

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

Definition at line 27 of file BKE_node_tree_zones.hh.

◆ index

int blender::bke::bNodeTreeZone::index = -1

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

Definition at line 25 of file BKE_node_tree_zones.hh.

Referenced by blender::ed::space_node::node_draw_zones_and_frames(), and blender::bke::update_zone_per_node().

◆ input_node

◆ output_node

const bNode* blender::bke::bNodeTreeZone::output_node = nullptr

◆ owner

bNodeTreeZones* blender::bke::bNodeTreeZone::owner = nullptr

Definition at line 23 of file BKE_node_tree_zones.hh.

Referenced by contains_node_recursively().

◆ parent_zone


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