Blender V5.3
mball.cc File Reference
#include <cctype>
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <numbers>
#include <optional>
#include "DNA_ID.h"
#include "MEM_guardedalloc.h"
#include "DNA_material_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meta_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLI_listbase.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string_utils.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_main.hh"
#include "BKE_geometry_set.hh"
#include "BKE_idtype.hh"
#include "BKE_lattice.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_library.hh"
#include "BKE_mball.hh"
#include "BKE_mball_tessellate.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "BLO_read_write.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DNA_DEPRECATED_ALLOW

Functions

static void blender::metaball_init_data (ID *id)
static void blender::metaball_copy_data (Main *, std::optional< Library * >, ID *id_dst, const ID *id_src, const int)
static void blender::metaball_free_data (ID *id)
static void blender::metaball_foreach_id (ID *id, LibraryForeachIDData *data)
static void blender::metaball_blend_write (BlendWriter *writer, ID *id, const void *id_address)
static void blender::metaball_blend_read_data (BlendDataReader *reader, ID *id)
MetaBall * blender::BKE_mball_add (Main *bmain, const char *name)
MetaElem * blender::BKE_mball_element_add (MetaBall *mb, int type)
float2 blender::BKE_mball_element_display_radius_calc_with_stiffness (const MetaElem *ml)
float blender::BKE_mball_element_display_radius_calc (const MetaElem *ml)
bool blender::BKE_mball_is_basis (const Object *ob)
bool blender::BKE_mball_is_same_group (const Object *ob1, const Object *ob2)
bool blender::BKE_mball_is_basis_for (const Object *ob1, const Object *ob2)
bool blender::BKE_mball_is_any_selected (const MetaBall *mb)
bool blender::BKE_mball_is_any_selected_multi (const Span< Base * > bases)
bool blender::BKE_mball_is_any_unselected (const MetaBall *mb)
static void blender::mball_data_properties_copy (MetaBall *mb_dst, MetaBall *mb_src)
void blender::BKE_mball_properties_copy (Main *bmain, MetaBall *metaball_src)
Object * blender::BKE_mball_basis_find (const Main &bmain, Scene *scene, Object *ob)
bool blender::BKE_mball_minmax_ex (const MetaBall *mb, float min[3], float max[3], const float obmat[4][4], short flag)
bool blender::BKE_mball_minmax (const MetaBall *mb, float min[3], float max[3])
bool blender::BKE_mball_center_median (const MetaBall *mb, float r_cent[3])
bool blender::BKE_mball_center_bounds (const MetaBall *mb, float r_cent[3])
void blender::BKE_mball_transform (MetaBall *mb, const float mat[4][4], bool do_props)
void blender::BKE_mball_translate (MetaBall *mb, const float offset[3])
int blender::BKE_mball_select_count (const MetaBall *mb)
int blender::BKE_mball_select_count_multi (const Span< Base * > bases)
bool blender::BKE_mball_select_all (MetaBall *mb)
bool blender::BKE_mball_select_all_multi_ex (const Span< Base * > bases)
bool blender::BKE_mball_deselect_all (MetaBall *mb)
bool blender::BKE_mball_deselect_all_multi_ex (const Span< Base * > bases)
bool blender::BKE_mball_select_swap (MetaBall *mb)
bool blender::BKE_mball_select_swap_multi_ex (const Span< Base * > bases)
void blender::BKE_mball_data_update (Depsgraph *depsgraph, Scene *scene, Object *ob)

Detailed Description

MetaBalls are created from a single Object (with a name without number in it). All objects with the same name (but with a number in it) are added to this.

Definition in file mball.cc.

Macro Definition Documentation

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

Definition at line 24 of file mball.cc.