Blender V5.0
node_geo_simulation.cc File Reference
#include "BLI_string.h"
#include "BLI_string_utf8.h"
#include "BKE_anonymous_attribute_make.hh"
#include "BKE_attribute_math.hh"
#include "BKE_bake_items_socket.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_instances.hh"
#include "BKE_modifier.hh"
#include "BKE_node_tree_zones.hh"
#include "BKE_screen.hh"
#include "DEG_depsgraph_query.hh"
#include "UI_interface_layout.hh"
#include "NOD_common.hh"
#include "NOD_geo_bake.hh"
#include "NOD_geo_simulation.hh"
#include "NOD_node_extra_info.hh"
#include "NOD_socket.hh"
#include "NOD_socket_items_blend.hh"
#include "NOD_socket_items_ops.hh"
#include "NOD_socket_items_ui.hh"
#include "NOD_socket_search_link.hh"
#include "DNA_mesh_types.h"
#include "DNA_pointcloud_types.h"
#include "ED_node.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "BLT_translation.hh"
#include "GEO_mix_geometries.hh"
#include "WM_api.hh"
#include "BLO_read_write.hh"
#include "node_geometry_util.hh"

Go to the source code of this file.

Classes

class  blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode
class  blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode

Namespaces

namespace  blender
namespace  blender::nodes
namespace  blender::nodes::node_geo_simulation_cc
namespace  blender::nodes::node_geo_simulation_cc::sim_input_node
namespace  blender::nodes::node_geo_simulation_cc::sim_output_node

Functions

static bke::bake::BakeSocketConfig blender::nodes::node_geo_simulation_cc::make_bake_socket_config (const Span< NodeSimulationItem > node_simulation_items)
static std::shared_ptr< AttributeFieldInputblender::nodes::node_geo_simulation_cc::make_attribute_field (const Object &self_object, const ComputeContext &compute_context, const bNode &node, const NodeSimulationItem &item, const CPPType &type)
static Vector< SocketValueVariantblender::nodes::node_geo_simulation_cc::move_simulation_state_to_values (const Span< NodeSimulationItem > node_simulation_items, bke::bake::BakeState zone_state, const Object &self_object, const ComputeContext &compute_context, const bNode &node, bke::bake::BakeDataBlockMap *data_block_map)
static Vector< SocketValueVariantblender::nodes::node_geo_simulation_cc::copy_simulation_state_to_values (const Span< NodeSimulationItem > node_simulation_items, const bke::bake::BakeStateRef &zone_state, const Object &self_object, const ComputeContext &compute_context, const bNode &node, bke::bake::BakeDataBlockMap *data_block_map)
static bke::bake::BakeState blender::nodes::node_geo_simulation_cc::move_values_to_simulation_state (const Span< NodeSimulationItem > node_simulation_items, MutableSpan< SocketValueVariant > input_values, bke::bake::BakeDataBlockMap *data_block_map)
static void blender::nodes::node_geo_simulation_cc::draw_simulation_state (const bContext *C, uiLayout *layout, bNodeTree &ntree, bNode &output_node)
static void blender::nodes::node_geo_simulation_cc::node_layout_ex (uiLayout *layout, bContext *C, PointerRNA *current_node_ptr)
 blender::nodes::node_geo_simulation_cc::sim_input_node::NODE_STORAGE_FUNCS (NodeGeometrySimulationInput)
static void blender::nodes::node_geo_simulation_cc::sim_input_node::node_declare (NodeDeclarationBuilder &b)
static void blender::nodes::node_geo_simulation_cc::sim_input_node::node_init (bNodeTree *, bNode *node)
static void blender::nodes::node_geo_simulation_cc::sim_input_node::node_label (const bNodeTree *, const bNode *, char *label, const int label_maxncpy)
static bool blender::nodes::node_geo_simulation_cc::sim_input_node::node_insert_link (bke::NodeInsertLinkParams &params)
static void blender::nodes::node_geo_simulation_cc::sim_input_node::node_register ()
 blender::nodes::node_geo_simulation_cc::sim_output_node::NODE_STORAGE_FUNCS (NodeGeometrySimulationOutput)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_declare (NodeDeclarationBuilder &b)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_init (bNodeTree *, bNode *node)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_free_storage (bNode *node)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_copy_storage (bNodeTree *, bNode *dst_node, const bNode *src_node)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_operators ()
static bool blender::nodes::node_geo_simulation_cc::sim_output_node::node_insert_link (bke::NodeInsertLinkParams &params)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_extra_info (NodeExtraInfoParams &params)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_gather_link_searches (GatherLinkSearchOpParams &params)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_blend_write (const bNodeTree &, const bNode &node, BlendWriter &writer)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_blend_read (bNodeTree &, bNode &node, BlendDataReader &reader)
static void blender::nodes::node_geo_simulation_cc::sim_output_node::node_register ()
std::unique_ptr< LazyFunctionblender::nodes::get_simulation_input_lazy_function (const bNodeTree &node_tree, const bNode &node, GeometryNodesLazyFunctionGraphInfo &own_lf_graph_info)
std::unique_ptr< LazyFunctionblender::nodes::get_simulation_output_lazy_function (const bNode &node, GeometryNodesLazyFunctionGraphInfo &own_lf_graph_info)
void blender::nodes::mix_baked_data_item (eNodeSocketDatatype socket_type, SocketValueVariant &prev, const SocketValueVariant &next, const float factor)