Blender  V2.93
Macros | Functions
ED_mball.h File Reference

Go to the source code of this file.

Macros

#define MBALLSEL_STIFF   (1u << 30)
 
#define MBALLSEL_RADIUS   (1u << 31)
 
#define MBALLSEL_ANY   (MBALLSEL_STIFF | MBALLSEL_RADIUS)
 

Functions

void ED_operatortypes_metaball (void)
 
void ED_operatormacros_metaball (void)
 
void ED_keymap_metaball (struct wmKeyConfig *keyconf)
 
struct MetaElemED_mball_add_primitive (struct bContext *C, struct Object *obedit, bool obedit_is_new, float mat[4][4], float dia, int type)
 
bool ED_mball_select_pick (struct bContext *C, const int mval[2], bool extend, bool deselect, bool toggle)
 
bool ED_mball_deselect_all_multi_ex (struct Base **bases, uint bases_len)
 
bool ED_mball_deselect_all_multi (struct bContext *C)
 
void ED_mball_editmball_free (struct Object *obedit)
 
void ED_mball_editmball_make (struct Object *obedit)
 
void ED_mball_editmball_load (struct Object *obedit)
 
void ED_mball_undosys_type (struct UndoType *ut)
 

Macro Definition Documentation

◆ MBALLSEL_ANY

#define MBALLSEL_ANY   (MBALLSEL_STIFF | MBALLSEL_RADIUS)

Definition at line 62 of file ED_mball.h.

◆ MBALLSEL_RADIUS

#define MBALLSEL_RADIUS   (1u << 31)

Definition at line 61 of file ED_mball.h.

◆ MBALLSEL_STIFF

#define MBALLSEL_STIFF   (1u << 30)

Definition at line 60 of file ED_mball.h.

Function Documentation

◆ ED_keymap_metaball()

void ED_keymap_metaball ( struct wmKeyConfig keyconf)

Definition at line 63 of file mball_ops.c.

References ED_operator_editmball(), wmKeyMap::poll, and WM_keymap_ensure().

Referenced by ED_spacetypes_keymap().

◆ ED_mball_add_primitive()

struct MetaElem* ED_mball_add_primitive ( struct bContext C,
struct Object obedit,
bool  obedit_is_new,
float  mat[4][4],
float  dia,
int  type 
)

◆ ED_mball_deselect_all_multi()

bool ED_mball_deselect_all_multi ( struct bContext C)

◆ ED_mball_deselect_all_multi_ex()

bool ED_mball_deselect_all_multi_ex ( struct Base **  bases,
uint  bases_len 
)

◆ ED_mball_editmball_free()

void ED_mball_editmball_free ( struct Object obedit)

Definition at line 66 of file mball_edit.c.

References Object::data, MetaBall::editelems, MetaBall::lastelem, and NULL.

Referenced by ED_object_editmode_load_free_ex().

◆ ED_mball_editmball_load()

void ED_mball_editmball_load ( struct Object obedit)

◆ ED_mball_editmball_make()

void ED_mball_editmball_make ( struct Object obedit)

◆ ED_mball_select_pick()

bool ED_mball_select_pick ( struct bContext C,
const int  mval[2],
bool  extend,
bool  deselect,
bool  toggle 
)

◆ ED_mball_undosys_type()

void ED_mball_undosys_type ( struct UndoType ut)

◆ ED_operatormacros_metaball()

void ED_operatormacros_metaball ( void  )

◆ ED_operatortypes_metaball()

void ED_operatortypes_metaball ( void  )