Blender V5.3
node_group.cc File Reference
#include <cstdlib>
#include "MEM_guardedalloc.h"
#include "DNA_node_types.h"
#include "BLI_math_vector_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BLI_vector.hh"
#include "BLT_translation.hh"
#include "BKE_action.hh"
#include "BKE_animsys.hh"
#include "BKE_context.hh"
#include "BKE_lib_id.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_main_invariants.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_tree_update.hh"
#include "BKE_report.hh"
#include "ANIM_action.hh"
#include "DEG_depsgraph_build.hh"
#include "ED_node.hh"
#include "ED_node_preview.hh"
#include "ED_render.hh"
#include "ED_screen.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "UI_resources.hh"
#include "NOD_common.hh"
#include "NOD_composite.hh"
#include "NOD_geometry.hh"
#include "NOD_node_declaration.hh"
#include "NOD_shader.h"
#include "NOD_socket.hh"
#include "NOD_texture.h"
#include "node_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ed
namespace  blender::ed::space_node

Functions

Local Utilities
static bool blender::ed::space_node::node_group_operator_active_poll (bContext *C)
static bool blender::ed::space_node::node_group_operator_editable (bContext *C)
static StringRef blender::ed::space_node::group_ntree_idname (bContext *C)
UString blender::ed::space_node::node_group_idname (const bContext *C)
static bNode * blender::ed::space_node::node_group_get_active (bContext *C, const UString node_idname)
Edit Group Operator
static wmOperatorStatus blender::ed::space_node::node_group_edit_exec (bContext *C, wmOperator *op)
void blender::ed::space_node::NODE_OT_group_edit (wmOperatorType *ot)
Enter group at cursor, or exit when not hovering any node.
static wmOperatorStatus blender::ed::space_node::node_group_enter_exit_invoke (bContext *C, wmOperator *, const wmEvent *event)
void blender::ed::space_node::NODE_OT_group_enter_exit (wmOperatorType *ot)
Ungroup Operator
static void blender::ed::space_node::node_group_ungroup (bContext &C, bNodeTree &ntree, bNode &group_node)
static wmOperatorStatus blender::ed::space_node::node_group_ungroup_exec (bContext *C, wmOperator *)
void blender::ed::space_node::NODE_OT_group_ungroup (wmOperatorType *ot)
Make Group Operator
static VectorSet< bNode * > blender::ed::space_node::get_nodes_to_group (bNodeTree &node_tree, bNode *group_node)
static bool blender::ed::space_node::node_group_make_test_selected (bNodeTree &ntree, const VectorSet< bNode * > &nodes_to_group, const StringRef ntree_idname, ReportList &reports)
static void blender::ed::space_node::node_group_make_insert_selected (const bContext &C, bNodeTree &ntree, bNode *gnode, const Span< bNode * > nodes)
static bNode * blender::ed::space_node::node_group_make_from_nodes (const bContext &C, bNodeTree &ntree, const Span< bNode * > nodes_to_group, const UString ntype, const StringRef ntreetype)
static bNode * blender::ed::space_node::node_group_make_from_node_declaration (bContext &C, bNodeTree &ntree, bNode &src_node, const UString node_idname)
static wmOperatorStatus blender::ed::space_node::node_group_make_exec (bContext *C, wmOperator *op)
void blender::ed::space_node::NODE_OT_group_make (wmOperatorType *ot)
Group Insert Operator
static wmOperatorStatus blender::ed::space_node::node_group_insert_exec (bContext *C, wmOperator *op)
void blender::ed::space_node::NODE_OT_group_insert (wmOperatorType *ot)
Set Default Group Width Operator
static bool blender::ed::space_node::node_default_group_width_set_poll (bContext *C)
static wmOperatorStatus blender::ed::space_node::node_default_group_width_set_exec (bContext *C, wmOperator *)
void blender::ed::space_node::NODE_OT_default_group_width_set (wmOperatorType *ot)

Separate Operator

enum  blender::ed::space_node::eNodeGroupSeparateType { blender::ed::space_node::NODE_GS_COPY , blender::ed::space_node::NODE_GS_MOVE }
static const EnumPropertyItem blender::ed::space_node::node_group_separate_types []
static bool blender::ed::space_node::node_group_separate_selected (Main &bmain, bNodeTree &ntree, bNodeTree &ngroup, const float2 &offset, const bool make_copy)
static wmOperatorStatus blender::ed::space_node::node_group_separate_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::space_node::node_group_separate_invoke (bContext *C, wmOperator *, const wmEvent *)
void blender::ed::space_node::NODE_OT_group_separate (wmOperatorType *ot)