Blender V4.3
node_add.cc File Reference
#include <numeric>
#include "AS_asset_representation.hh"
#include "MEM_guardedalloc.h"
#include "DNA_collection_types.h"
#include "DNA_node_types.h"
#include "DNA_texture_types.h"
#include "BLI_easing.h"
#include "BLI_listbase.h"
#include "BLI_math_geom.h"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_image.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_node.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_tree_update.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_texture.h"
#include "DEG_depsgraph_build.hh"
#include "ED_asset.hh"
#include "ED_asset_menu_utils.hh"
#include "ED_node.hh"
#include "ED_render.hh"
#include "ED_screen.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "UI_view2d.hh"
#include "io_utils.hh"
#include <fmt/format.h>
#include "node_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ed::space_node::RerouteCutsForSocket
 
struct  blender::ed::space_node::NodeStackAnimationData
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::space_node
 

Functions

Utilities
static void blender::ed::space_node::position_node_based_on_mouse (bNode &node, const float2 &location)
 
bNodeblender::ed::space_node::add_node (const bContext &C, const StringRef idname, const float2 &location)
 
bNodeblender::ed::space_node::add_static_node (const bContext &C, int type, const float2 &location)
 
Add Reroute Operator
std::optional< float2blender::ed::space_node::link_path_intersection (const bNodeLink &link, const Span< float2 > path)
 
static int blender::ed::space_node::add_reroute_exec (bContext *C, wmOperator *op)
 
void blender::ed::space_node::NODE_OT_add_reroute (wmOperatorType *ot)
 
Add Node Group Operator
static bool blender::ed::space_node::node_group_add_poll (const bNodeTree &node_tree, const bNodeTree &node_group, ReportList &reports)
 
static int blender::ed::space_node::node_add_group_exec (bContext *C, wmOperator *op)
 
static bool blender::ed::space_node::node_add_group_poll (bContext *C)
 
static int blender::ed::space_node::node_add_group_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void blender::ed::space_node::NODE_OT_add_group (wmOperatorType *ot)
 
Add Node Group Asset Operator
static bool blender::ed::space_node::add_node_group_asset (const bContext &C, const asset_system::AssetRepresentation &asset, ReportList &reports)
 
static int blender::ed::space_node::node_add_group_asset_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static std::string blender::ed::space_node::node_add_group_asset_get_description (bContext *C, wmOperatorType *, PointerRNA *ptr)
 
void blender::ed::space_node::NODE_OT_add_group_asset (wmOperatorType *ot)
 
Add Node Object Operator
static int blender::ed::space_node::node_add_object_exec (bContext *C, wmOperator *op)
 
static int blender::ed::space_node::node_add_object_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static bool blender::ed::space_node::node_add_object_poll (bContext *C)
 
void blender::ed::space_node::NODE_OT_add_object (wmOperatorType *ot)
 
Add Node Collection Operator
static int blender::ed::space_node::node_add_collection_exec (bContext *C, wmOperator *op)
 
static int blender::ed::space_node::node_add_collection_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static bool blender::ed::space_node::node_add_collection_poll (bContext *C)
 
void blender::ed::space_node::NODE_OT_add_collection (wmOperatorType *ot)
 
Add File Node Operator
static bool blender::ed::space_node::node_add_file_poll (bContext *C)
 
static int blender::ed::space_node::node_add_file_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::space_node::node_add_file_exec (bContext *C, wmOperator *op)
 
static int blender::ed::space_node::node_add_file_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void blender::ed::space_node::NODE_OT_add_file (wmOperatorType *ot)
 
Add Mask Node Operator
static bool blender::ed::space_node::node_add_mask_poll (bContext *C)
 
static int blender::ed::space_node::node_add_mask_exec (bContext *C, wmOperator *op)
 
void blender::ed::space_node::NODE_OT_add_mask (wmOperatorType *ot)
 
Add Material Operator
static int blender::ed::space_node::node_add_material_exec (bContext *C, wmOperator *op)
 
static int blender::ed::space_node::node_add_material_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static bool blender::ed::space_node::node_add_material_poll (bContext *C)
 
void blender::ed::space_node::NODE_OT_add_material (wmOperatorType *ot)
 
New Node Tree Operator
static int blender::ed::space_node::new_node_tree_exec (bContext *C, wmOperator *op)
 
static const EnumPropertyItemblender::ed::space_node::new_node_tree_type_itemf (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
 
void blender::ed::space_node::NODE_OT_new_node_tree (wmOperatorType *ot)