Blender V4.3
ED_mball.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2008 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "BLI_span.hh"
12
13struct Base;
14struct MetaElem;
15struct Object;
17struct UndoType;
18struct bContext;
19struct wmKeyConfig;
20
23void ED_keymap_metaball(wmKeyConfig *keyconf);
24
29 bContext *C, Object *obedit, bool obedit_is_new, float mat[4][4], float dia, int type);
30
32 const uint select_id,
33 MetaElem **r_ml);
34
40bool ED_mball_select_pick(bContext *C, const int mval[2], const SelectPick_Params *params);
42
56
57/* `editmball_undo.cc` */
58
61
62#define MBALLSEL_STIFF (1u << 30)
63#define MBALLSEL_RADIUS (1u << 31)
64#define MBALLSEL_ANY (MBALLSEL_STIFF | MBALLSEL_RADIUS)
unsigned int uint
void ED_operatortypes_metaball()
Definition mball_ops.cc:21
void ED_operatormacros_metaball()
Definition mball_ops.cc:34
bool ED_mball_select_pick(bContext *C, const int mval[2], const SelectPick_Params *params)
bool ED_mball_deselect_all_multi(bContext *C)
Definition mball_edit.cc:95
MetaElem * ED_mball_add_primitive(bContext *C, Object *obedit, bool obedit_is_new, float mat[4][4], float dia, int type)
void ED_mball_editmball_free(Object *obedit)
Definition mball_edit.cc:62
void ED_mball_undosys_type(UndoType *ut)
void ED_mball_editmball_load(Object *obedit)
Definition mball_edit.cc:87
Base * ED_mball_base_and_elem_from_select_buffer(blender::Span< Base * > bases, const uint select_id, MetaElem **r_ml)
void ED_keymap_metaball(wmKeyConfig *keyconf)
Definition mball_ops.cc:48
void ED_mball_editmball_make(Object *obedit)
Definition mball_edit.cc:70
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]