|
Blender V5.0
|
#include <BKE_node.hh>
Inherited by ClosureZoneType, ForeachGeometryElementZoneType, RepeatZoneType, and SimulationZoneType.
Public Member Functions | |
| virtual | ~bNodeZoneType ()=default |
| virtual const int & | get_corresponding_output_id (const bNode &input_bnode) const =0 |
| int & | get_corresponding_output_id (bNode &input_bnode) const |
| const bNode * | get_corresponding_input (const bNodeTree &tree, const bNode &output_bnode) const |
| bNode * | get_corresponding_input (bNodeTree &tree, const bNode &output_bnode) const |
| const bNode * | get_corresponding_output (const bNodeTree &tree, const bNode &input_bnode) const |
| bNode * | get_corresponding_output (bNodeTree &tree, const bNode &input_bnode) const |
Public Attributes | |
| std::string | input_idname |
| std::string | output_idname |
| int | input_type |
| int | output_type |
| int | theme_id |
Contains information about a specific kind of zone (e.g. simulation or repeat zone in geometry nodes). This allows writing code that works for all kinds of zones automatically, reducing redundancy and the amount of boilerplate needed when adding a new zone type.
Definition at line 1197 of file BKE_node.hh.
|
virtualdefault |
| bNode * blender::bke::bNodeZoneType::get_corresponding_input | ( | bNodeTree & | tree, |
| const bNode & | output_bnode ) const |
Definition at line 506 of file node_tree_zones.cc.
References get_corresponding_input(), and tree.
| const bNode * blender::bke::bNodeZoneType::get_corresponding_input | ( | const bNodeTree & | tree, |
| const bNode & | output_bnode ) const |
Definition at line 489 of file node_tree_zones.cc.
References get_corresponding_output_id(), bNode::identifier, and tree.
Referenced by blender::nodes::ClosureSignature::from_closure_output_node(), get_corresponding_input(), blender::nodes::node_geo_closure_cc::output_node::node_insert_link(), and blender::nodes::sync_node().
| bNode * blender::bke::bNodeZoneType::get_corresponding_output | ( | bNodeTree & | tree, |
| const bNode & | input_bnode ) const |
Definition at line 512 of file node_tree_zones.cc.
References get_corresponding_output(), and tree.
| const bNode * blender::bke::bNodeZoneType::get_corresponding_output | ( | const bNodeTree & | tree, |
| const bNode & | input_bnode ) const |
Definition at line 500 of file node_tree_zones.cc.
References get_corresponding_output_id(), and tree.
Referenced by blender::bke::node_structure_type_inferencing::find_auto_structure_type_sockets(), get_corresponding_output(), blender::bke::node_tree_runtime::get_implicit_target_nodes(), and blender::nodes::sync_node().
|
inline |
Definition at line 1209 of file BKE_node.hh.
References get_corresponding_output_id().
|
pure virtual |
Implemented in ClosureZoneType, ForeachGeometryElementZoneType, RepeatZoneType, and SimulationZoneType.
Referenced by get_corresponding_input(), get_corresponding_output(), get_corresponding_output_id(), blender::bke::node_tree_runtime::get_implicit_origin_nodes(), blender::ed::space_node::remap_node_pairing(), and blender::ed::space_node::remap_pairing().
| std::string blender::bke::bNodeZoneType::input_idname |
Definition at line 1199 of file BKE_node.hh.
Referenced by ClosureZoneType::ClosureZoneType(), ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), blender::bke::node_tree_runtime::get_implicit_origin_nodes(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().
| int blender::bke::bNodeZoneType::input_type |
Definition at line 1201 of file BKE_node.hh.
Referenced by ClosureZoneType::ClosureZoneType(), ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().
| std::string blender::bke::bNodeZoneType::output_idname |
Definition at line 1200 of file BKE_node.hh.
Referenced by ClosureZoneType::ClosureZoneType(), ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().
| int blender::bke::bNodeZoneType::output_type |
Definition at line 1202 of file BKE_node.hh.
Referenced by ClosureZoneType::ClosureZoneType(), ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().
| int blender::bke::bNodeZoneType::theme_id |
Definition at line 1203 of file BKE_node.hh.
Referenced by ClosureZoneType::ClosureZoneType(), ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().