Blender V5.3
curves.cc File Reference
#include <cstring>
#include <optional>
#include "MEM_guardedalloc.h"
#include "DNA_curves_types.h"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "BLI_index_range.hh"
#include "BLI_math_matrix.hh"
#include "BLI_rand.hh"
#include "BLI_resource_scope.hh"
#include "BLI_span.hh"
#include "BLI_string.hh"
#include "BLI_utildefines.hh"
#include "BLI_vector.hh"
#include "BKE_anim_data.hh"
#include "BKE_attribute_legacy_convert.hh"
#include "BKE_curves.hh"
#include "BKE_customdata.hh"
#include "BKE_geometry_fields.hh"
#include "BKE_geometry_set.hh"
#include "BKE_idtype.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_material.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BLT_translation.hh"
#include "DEG_depsgraph_query.hh"
#include "BLO_read_write.hh"
#include "NOD_geometry_nodes_bundle.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke

Functions

static void blender::curves_init_data (ID *id)
static void blender::curves_copy_data (Main *, std::optional< Library * >, ID *id_dst, const ID *id_src, const int)
static void blender::curves_free_data (ID *id)
static void blender::curves_foreach_id (ID *id, LibraryForeachIDData *data)
static void blender::curves_foreach_working_space_color (ID *id, const IDTypeForeachColorFunctionCallback &fn)
static void blender::curves_blend_write (BlendWriter *writer, ID *id, const void *id_address)
static void blender::curves_blend_read_data (BlendDataReader *reader, ID *id)
struct Curves * blender::BKE_curves_add (struct Main *bmain, const char *name)
bool blender::BKE_curves_attribute_required (const Curves *, const StringRef name)
void blender::BKE_curves_material_remap (struct Curves *curves, const unsigned int *remap, int remap_num)
Curves * blender::BKE_curves_copy_for_eval (const Curves *curves_src)
static void blender::curves_evaluate_modifiers (Depsgraph *depsgraph, Scene *scene, Object *object, bke::GeometrySet &geometry_set)
void blender::BKE_curves_data_update (struct Depsgraph *depsgraph, struct Scene *scene, struct Object *object)
void blender::BKE_curves_batch_cache_dirty_tag (struct Curves *curves, int mode)
void blender::BKE_curves_batch_cache_free (struct Curves *curves)
Curves * blender::bke::curves_new_nomain (int points_num, int curves_num)
Curves * blender::bke::curves_new_nomain_single (int points_num, CurveType type)
Curves * blender::bke::curves_new_nomain (CurvesGeometry curves)
void blender::bke::curves_copy_parameters (const Curves &src, Curves &dst)
void blender::bke::curves_store_surface_in_geometry_bundle (const Depsgraph &depsgraph, const Curves &curves, GeometrySet &geometry)
void blender::bke::curves_normals_point_domain_calc (const CurvesGeometry &curves, MutableSpan< float3 > normals)

Variables

static const char * blender::ATTR_POSITION = "position"