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().

◆ operator<<

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

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::initialize_zone_wrapper(), and operator<<.

◆ 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.

Referenced by blender::ed::space_node::find_bounds_by_zone_recursive().

◆ 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.

Referenced by blender::ed::space_node::find_bounds_by_zone_recursive(), and blender::nodes::geo_eval_log::find_tree_zone_hash_recursive().

◆ 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.

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

◆ index

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

◆ input_node

◆ output_node

◆ 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: