Blender V5.0
node_group_operator.cc File Reference
#include "BLI_array_utils.hh"
#include "BLI_index_mask.hh"
#include "BLI_listbase.h"
#include "BLI_path_utils.hh"
#include "BLI_rect.h"
#include "BLI_string_utf8.h"
#include "DNA_key_types.h"
#include "ED_curves.hh"
#include "ED_grease_pencil.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "ED_select_utils.hh"
#include "ED_view3d.hh"
#include "WM_api.hh"
#include "BKE_asset.hh"
#include "BKE_compute_context_cache.hh"
#include "BKE_compute_contexts.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_customdata.hh"
#include "BKE_editmesh.hh"
#include "BKE_geometry_set.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_main.hh"
#include "BKE_material.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_wrapper.hh"
#include "BKE_node_runtime.hh"
#include "BKE_object.hh"
#include "BKE_paint.hh"
#include "BKE_paint_bvh.hh"
#include "BKE_pointcloud.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_screen.hh"
#include "BKE_workspace.hh"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DEG_depsgraph_query.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "ED_asset.hh"
#include "ED_asset_menu_utils.hh"
#include "ED_geometry.hh"
#include "ED_mesh.hh"
#include "ED_sculpt.hh"
#include "BLT_translation.hh"
#include "NOD_geometry_nodes_caller_ui.hh"
#include "NOD_geometry_nodes_dependencies.hh"
#include "NOD_geometry_nodes_execute.hh"
#include "NOD_geometry_nodes_lazy_function.hh"
#include "NOD_socket_usage_inference.hh"
#include "AS_asset_catalog.hh"
#include "AS_asset_catalog_path.hh"
#include "AS_asset_catalog_tree.hh"
#include "AS_asset_library.hh"
#include "AS_asset_representation.hh"
#include "geometry_intern.hh"
#include <fmt/format.h>

Go to the source code of this file.

Classes

class  blender::ed::geometry::MeshState

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::geometry

Functions

Operator
static const bNodeTreeblender::ed::geometry::get_asset_or_local_node_group (const bContext &C, PointerRNA &ptr, ReportList *reports)
static const bNodeTreeblender::ed::geometry::get_node_group (const bContext &C, PointerRNA &ptr, ReportList *reports)
static GeoOperatorLogblender::ed::geometry::get_static_eval_log ()
const GeoOperatorLogblender::ed::geometry::node_group_operator_static_eval_log ()
static void blender::ed::geometry::find_socket_log_contexts (const Main &bmain, Set< ComputeContextHash > &r_socket_log_contexts)
static const ImplicitSharingInfoblender::ed::geometry::get_vertex_group_sharing_info (const Mesh &mesh)
static std::string blender::ed::geometry::shape_key_attribute_name (const KeyBlock &kb)
static void blender::ed::geometry::add_shape_keys_as_attributes (Mesh &mesh, const Key &key)
static void blender::ed::geometry::store_attributes_to_shape_keys (const Mesh &mesh, Key &key)
static void blender::ed::geometry::remove_shape_key_attributes (Mesh &mesh, const Key &key)
static bke::GeometrySet blender::ed::geometry::get_original_geometry_eval_copy (Depsgraph &depsgraph, Object &object, nodes::GeoNodesOperatorData &operator_data, Vector< MeshState > &orig_mesh_states)
static void blender::ed::geometry::store_result_geometry (const bContext &C, const wmOperator &op, const Depsgraph &depsgraph, Main &bmain, Scene &scene, Object &object, const RegionView3D *rv3d, bke::GeometrySet geometry)
static void blender::ed::geometry::gather_node_group_ids (const bNodeTree &node_tree, Set< ID * > &ids)
static const bNodeTreeInterfaceSocketblender::ed::geometry::find_group_input_by_identifier (const bNodeTree &node_group, const StringRef identifier)
static std::optional< ID_Typeblender::ed::geometry::socket_type_to_id_type (const eNodeSocketDatatype socket_type)
static Map< StringRef, ID * > blender::ed::geometry::gather_input_ids (const Main &bmain, const bNodeTree &node_group, const IDProperty &properties)
static Depsgraph * blender::ed::geometry::build_extra_depsgraph (const Depsgraph &depsgraph_active, const Set< ID * > &ids)
static IDPropertyblender::ed::geometry::replace_strings_with_id_pointers (const IDProperty &op_properties, const Map< StringRef, ID * > &input_ids)
static void blender::ed::geometry::replace_inputs_evaluated_data_blocks (IDProperty &properties, const nodes::GeoNodesOperatorDepsgraphs &depsgraphs)
static bool blender::ed::geometry::object_has_editable_data (const Main &bmain, const Object &object)
static Vector< Object * > blender::ed::geometry::gather_supported_objects (const bContext &C, const Main &bmain, const eObjectMode mode)
static wmOperatorStatus blender::ed::geometry::run_node_group_exec (bContext *C, wmOperator *op)
static void blender::ed::geometry::store_input_node_values_rna_props (const bContext &C, wmOperator &op, const wmEvent &event)
static wmOperatorStatus blender::ed::geometry::run_node_group_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static std::string blender::ed::geometry::run_node_group_get_description (bContext *C, wmOperatorType *, PointerRNA *ptr)
static void blender::ed::geometry::run_node_group_ui (bContext *C, wmOperator *op)
static bool blender::ed::geometry::run_node_ui_poll (wmOperatorType *, PointerRNA *ptr)
static std::string blender::ed::geometry::run_node_group_get_name (wmOperatorType *, PointerRNA *ptr)
static bool blender::ed::geometry::run_node_group_depends_on_cursor (bContext &C, wmOperatorType &, PointerRNA *ptr)
void blender::ed::geometry::GEOMETRY_OT_execute_node_group (wmOperatorType *ot)
Menu
static bool blender::ed::geometry::asset_menu_poll (const bContext *C, MenuType *)
static GeometryNodeAssetTraitFlag blender::ed::geometry::asset_flag_for_context (const ObjectType type, const eObjectMode mode)
static GeometryNodeAssetTraitFlag blender::ed::geometry::asset_flag_for_context (const Object &active_object)
static asset::AssetItemTreeblender::ed::geometry::get_static_item_tree (const ObjectType type, const eObjectMode mode)
static asset::AssetItemTreeblender::ed::geometry::get_static_item_tree (const Object &active_object)
void blender::ed::geometry::clear_operator_asset_trees ()
static asset::AssetItemTree blender::ed::geometry::build_catalog_tree (const bContext &C, const Object &active_object)
static Set< std::string > blender::ed::geometry::get_builtin_menus (const ObjectType object_type, const eObjectMode mode)
static void blender::ed::geometry::catalog_assets_draw (const bContext *C, Menu *menu)
MenuType blender::ed::geometry::node_group_operator_assets_menu ()
static bool blender::ed::geometry::unassigned_local_poll (const bContext &C)
static void blender::ed::geometry::catalog_assets_draw_unassigned (const bContext *C, Menu *menu)
MenuType blender::ed::geometry::node_group_operator_assets_menu_unassigned ()
void blender::ed::geometry::ui_template_node_operator_asset_menu_items (uiLayout &layout, const bContext &C, const StringRef catalog_path)
void blender::ed::geometry::ui_template_node_operator_asset_root_items (uiLayout &layout, const bContext &C)