Blender V4.3
node_geo_simulation.cc File Reference
#include "BLI_math_matrix.hh"
#include "BLI_string.h"
#include "BLI_string_utf8.h"
#include "BLI_string_utils.hh"
#include "BLI_task.hh"
#include "BKE_anonymous_attribute_make.hh"
#include "BKE_attribute_math.hh"
#include "BKE_bake_geometry_nodes_modifier.hh"
#include "BKE_bake_items_socket.hh"
#include "BKE_compute_contexts.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_instances.hh"
#include "BKE_modifier.hh"
#include "BKE_node_socket_value.hh"
#include "BKE_node_tree_update.hh"
#include "BKE_node_tree_zones.hh"
#include "BKE_object.hh"
#include "BKE_scene.hh"
#include "BKE_screen.hh"
#include "DEG_depsgraph_query.hh"
#include "UI_interface.hh"
#include "NOD_common.h"
#include "NOD_geo_bake.hh"
#include "NOD_geo_simulation.hh"
#include "NOD_geometry.hh"
#include "NOD_node_extra_info.hh"
#include "NOD_socket.hh"
#include "NOD_socket_items_ops.hh"
#include "DNA_curves_types.h"
#include "DNA_mesh_types.h"
#include "DNA_modifier_types.h"
#include "DNA_pointcloud_types.h"
#include "DNA_space_types.h"
#include "ED_node.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "MOD_nodes.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 const CPPTypeblender::nodes::node_geo_simulation_cc::get_simulation_item_cpp_type (const eNodeSocketDatatype socket_type)
 
static const CPPTypeblender::nodes::node_geo_simulation_cc::get_simulation_item_cpp_type (const NodeSimulationItem &item)
 
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 void blender::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, Span< void * > r_output_values)
 
static void blender::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, Span< void * > r_output_values)
 
static bke::bake::BakeState blender::nodes::node_geo_simulation_cc::move_values_to_simulation_state (const Span< NodeSimulationItem > node_simulation_items, const Span< void * > input_values, bke::bake::BakeDataBlockMap *data_block_map)
 
static void blender::nodes::node_geo_simulation_cc::draw_simulation_state_item (uiList *, const bContext *C, uiLayout *layout, PointerRNA *, PointerRNA *itemptr, int, PointerRNA *, const char *, int, int)
 
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_OT_simulation_zone_item_remove (wmOperatorType *ot)
 
static void blender::nodes::node_geo_simulation_cc::NODE_OT_simulation_zone_item_add (wmOperatorType *ot)
 
static void blender::nodes::node_geo_simulation_cc::NODE_OT_simulation_zone_item_move (wmOperatorType *ot)
 
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 (bNodeTree *ntree, bNode *node, bNodeLink *link)
 
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 (bNodeTree *ntree, bNode *node, bNodeLink *link)
 
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_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, void *prev, const void *next, const float factor)