Blender
V3.3
|
Low-level operations for curves that cannot be defined in the C++ header yet. More...
#include "DNA_curves_types.h"
Go to the source code of this file.
Enumerations | |
enum | { BKE_CURVES_BATCH_DIRTY_ALL = 0 } |
Functions | |
void * | BKE_curves_add (struct Main *bmain, const char *name) |
struct BoundBox * | BKE_curves_boundbox_get (struct Object *ob) |
bool | BKE_curves_customdata_required (const struct Curves *curves, const char *name) |
struct Curves * | BKE_curves_copy_for_eval (struct Curves *curves_src, bool reference) |
void | BKE_curves_data_update (struct Depsgraph *depsgraph, struct Scene *scene, struct Object *object) |
void | BKE_curves_batch_cache_dirty_tag (struct Curves *curves, int mode) |
void | BKE_curves_batch_cache_free (struct Curves *curves) |
Variables | |
void(* | BKE_curves_batch_cache_dirty_tag_cb )(struct Curves *curves, int mode) |
void(* | BKE_curves_batch_cache_free_cb )(struct Curves *curves) |
Low-level operations for curves that cannot be defined in the C++ header yet.
Definition in file BKE_curves.h.
anonymous enum |
Enumerator | |
---|---|
BKE_CURVES_BATCH_DIRTY_ALL |
Definition at line 40 of file BKE_curves.h.
Definition at line 231 of file curves.cc.
References BKE_id_new(), curves, and ID_CV.
Referenced by BKE_object_obdata_add_from_type().
Definition at line 351 of file curves.cc.
References BKE_curves_batch_cache_dirty_tag_cb, and curves.
Referenced by BKE_object_data_batch_cache_dirty_tag().
Definition at line 358 of file curves.cc.
References BKE_curves_batch_cache_free_cb, and curves.
Referenced by curves_free_data().
Definition at line 238 of file curves.cc.
References Object_Runtime::bb, BKE_boundbox_init_from_minmax(), BLI_assert, BOUNDBOX_DIRTY, curves, Object::data, BoundBox::flag, Curves::geometry, max, min, OB_CURVES, Object::runtime, Object::type, and blender::bke::CurvesGeometry::wrap().
Referenced by BKE_object_boundbox_get(), and BKE_object_minmax().
Definition at line 271 of file curves.cc.
References BKE_id_copy_ex(), Curves::id, LIB_ID_COPY_CD_REFERENCE, LIB_ID_COPY_LOCALIZE, and result.
Referenced by CurveComponent::copy(), CurveComponent::ensure_owns_direct_data(), and CurveComponent::get_for_write().
Referenced by BKE_id_attribute_required().
void BKE_curves_data_update | ( | struct Depsgraph * | depsgraph, |
struct Scene * | scene, | ||
struct Object * | object | ||
) |
Definition at line 315 of file curves.cc.
References BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), GeometrySet::create_with_curves(), curves, GeometryComponentEditData::curves_edit_hints_, curves_evaluate_modifiers(), blender::bke::curves_new_nomain(), data, DEG_get_original_object(), depsgraph, GeometrySet::get_component_for_write(), GeometrySet::get_curves_for_read(), Curves::id, Object::mode, OB_MODE_SCULPT_CURVES, ReadOnly, and scene.
Referenced by BKE_object_handle_data_update(), and object_force_modifier_update_for_bind().
|
extern |
Definition at line 348 of file curves.cc.
Referenced by BKE_curves_batch_cache_dirty_tag(), and DRW_engines_register().
Definition at line 349 of file curves.cc.
Referenced by BKE_curves_batch_cache_free(), and DRW_engines_register().