Blender V4.3
MOD_boolean.cc File Reference
#include <cstdio>
#include "BLI_utildefines.h"
#include "BLI_array.hh"
#include "BLI_math_geom.h"
#include "BLI_math_matrix.h"
#include "BLI_math_matrix_types.hh"
#include "BLI_vector.hh"
#include "BLI_vector_set.hh"
#include "BLT_translation.hh"
#include "DNA_defaults.h"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "BKE_collection.hh"
#include "BKE_global.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_material.h"
#include "BKE_mesh.hh"
#include "BKE_mesh_wrapper.hh"
#include "BKE_modifier.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "MOD_ui_common.hh"
#include "MEM_guardedalloc.h"
#include "GEO_mesh_boolean.hh"
#include "GEO_randomize.hh"
#include "bmesh.hh"
#include "tools/bmesh_intersect.hh"

Go to the source code of this file.

Macros

#define BM_FACE_TAG   BM_ELEM_DRAW
 

Functions

static void init_data (ModifierData *md)
 
static bool is_disabled (const Scene *, ModifierData *md, bool)
 
static void foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data)
 
static void update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx)
 
static Meshget_quick_mesh (Object *ob_self, Mesh *mesh_self, Object *ob_operand_ob, Mesh *mesh_operand_ob, int operation)
 
static int bm_face_isect_pair (BMFace *f, void *)
 
static bool BMD_error_messages (const Object *ob, ModifierData *md)
 
static BMeshBMD_mesh_bm_create (Mesh *mesh, Object *object, Mesh *mesh_operand_ob, Object *operand_ob, bool *r_is_flip)
 
static void BMD_mesh_intersection (BMesh *bm, ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh_operand_ob, Object *object, Object *operand_ob, bool is_flip)
 
static Meshmodify_mesh (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh)
 
static void required_data_mask (ModifierData *, CustomData_MeshMasks *r_cddata_masks)
 
static void panel_draw (const bContext *, Panel *panel)
 
static void solver_options_panel_draw (const bContext *, Panel *panel)
 
static void panel_register (ARegionType *region_type)
 

Variables

ModifierTypeInfo modifierType_Boolean
 

Macro Definition Documentation

◆ BM_FACE_TAG

#define BM_FACE_TAG   BM_ELEM_DRAW

Definition at line 161 of file MOD_boolean.cc.

Referenced by bm_face_isect_pair(), and BMD_mesh_intersection().

Function Documentation

◆ bm_face_isect_pair()

static int bm_face_isect_pair ( BMFace * f,
void *  )
static

Compare selected/unselected.

Definition at line 166 of file MOD_boolean.cc.

References BM_elem_flag_test, and BM_FACE_TAG.

Referenced by BMD_mesh_intersection().

◆ BMD_error_messages()

◆ BMD_mesh_bm_create()

◆ BMD_mesh_intersection()

◆ foreach_ID_link()

static void foreach_ID_link ( ModifierData * md,
Object * ob,
IDWalkFunc walk,
void * user_data )
static

◆ get_quick_mesh()

static Mesh * get_quick_mesh ( Object * ob_self,
Mesh * mesh_self,
Object * ob_operand_ob,
Mesh * mesh_operand_ob,
int operation )
static

◆ init_data()

static void init_data ( ModifierData * md)
static

◆ is_disabled()

◆ modify_mesh()

◆ panel_draw()

◆ panel_register()

static void panel_register ( ARegionType * region_type)
static

◆ required_data_mask()

static void required_data_mask ( ModifierData * ,
CustomData_MeshMasks * r_cddata_masks )
static

◆ solver_options_panel_draw()

◆ update_depsgraph()

Variable Documentation

◆ modifierType_Boolean

ModifierTypeInfo modifierType_Boolean

Definition at line 666 of file MOD_boolean.cc.