Blender V5.0
blender::bke::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()

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

Definition at line 606 of file node_tree_zones.cc.

References blender::bke::node_ids_to_vector(), and owner.

◆ contains_node_recursively()

◆ contains_zone_recursively()

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

◆ input_node()

◆ output_node()

◆ 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 44 of file BKE_node_tree_zones.hh.

Referenced by blender::bke::node_tree_reference_lifetimes::get_references_coming_from_outside_zone(), blender::nodes::initialize_zone_wrapper(), and operator<<.

◆ child_node_ids

Vector<int> blender::bke::bNodeTreeZone::child_node_ids

Direct children nodes excluding nodes that belong to child zones.

Definition at line 38 of file BKE_node_tree_zones.hh.

Referenced by blender::bke::discover_tree_zones(), and 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 36 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 28 of file BKE_node_tree_zones.hh.

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

◆ index

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

◆ input_node_id

◆ output_node_id

◆ owner

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

◆ parent_zone


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