Blender  V3.3
Macros | Functions | Variables
MOD_boolean.cc File Reference
#include <cstdio>
#include "BLI_utildefines.h"
#include "BLI_array.hh"
#include "BLI_float4x4.hh"
#include "BLI_math_geom.h"
#include "BLI_math_matrix.h"
#include "BLI_vector.hh"
#include "BLI_vector_set.hh"
#include "BLT_translation.h"
#include "DNA_collection_types.h"
#include "DNA_defaults.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "BKE_collection.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_lib_id.h"
#include "BKE_lib_query.h"
#include "BKE_material.h"
#include "BKE_mesh.h"
#include "BKE_mesh_boolean_convert.hh"
#include "BKE_mesh_wrapper.h"
#include "BKE_modifier.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "MOD_ui_common.h"
#include "MOD_util.h"
#include "DEG_depsgraph_query.h"
#include "MEM_guardedalloc.h"
#include "bmesh.h"
#include "bmesh_tools.h"
#include "tools/bmesh_boolean.h"
#include "tools/bmesh_intersect.h"

Go to the source code of this file.

Macros

#define BM_FACE_TAG   BM_ELEM_DRAW
 

Functions

static void initData (ModifierData *md)
 
static bool isDisabled (const struct Scene *UNUSED(scene), ModifierData *md, bool UNUSED(useRenderParams))
 
static void foreachIDLink (ModifierData *md, Object *ob, IDWalkFunc walk, void *userData)
 
static void updateDepsgraph (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 *UNUSED(user_data))
 
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 MeshmodifyMesh (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh)
 
static void requiredDataMask (Object *UNUSED(ob), ModifierData *UNUSED(md), CustomData_MeshMasks *r_cddata_masks)
 
static void panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void solver_options_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void panelRegister (ARegionType *region_type)
 

Variables

ModifierTypeInfo modifierType_Boolean
 

Macro Definition Documentation

◆ BM_FACE_TAG

#define BM_FACE_TAG   BM_ELEM_DRAW

Definition at line 169 of file MOD_boolean.cc.

Function Documentation

◆ bm_face_isect_pair()

static int bm_face_isect_pair ( BMFace f,
void UNUSEDuser_data 
)
static

Compare selected/unselected.

Definition at line 174 of file MOD_boolean.cc.

References BM_elem_flag_test, and BM_FACE_TAG.

Referenced by BMD_mesh_intersection().

◆ BMD_error_messages()

static bool BMD_error_messages ( const Object ob,
ModifierData md 
)
static

◆ BMD_mesh_bm_create()

static BMesh* BMD_mesh_bm_create ( Mesh mesh,
Object object,
Mesh mesh_operand_ob,
Object operand_ob,
bool r_is_flip 
)
static

◆ BMD_mesh_intersection()

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

◆ foreachIDLink()

static void foreachIDLink ( ModifierData md,
Object ob,
IDWalkFunc  walk,
void userData 
)
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

◆ initData()

static void initData ( ModifierData md)
static

◆ isDisabled()

static bool isDisabled ( const struct Scene UNUSEDscene,
ModifierData md,
bool   UNUSEDuseRenderParams 
)
static

◆ modifyMesh()

static Mesh* modifyMesh ( ModifierData md,
const ModifierEvalContext ctx,
Mesh mesh 
)
static

◆ panel_draw()

static void panel_draw ( const bContext UNUSEDC,
Panel panel 
)
static

◆ panelRegister()

static void panelRegister ( ARegionType region_type)
static

◆ requiredDataMask()

static void requiredDataMask ( Object UNUSEDob,
ModifierData UNUSEDmd,
CustomData_MeshMasks r_cddata_masks 
)
static

◆ solver_options_panel_draw()

static void solver_options_panel_draw ( const bContext UNUSEDC,
Panel panel 
)
static

◆ updateDepsgraph()

static void updateDepsgraph ( ModifierData md,
const ModifierUpdateDepsgraphContext ctx 
)
static

Variable Documentation

◆ modifierType_Boolean

ModifierTypeInfo modifierType_Boolean

Definition at line 639 of file MOD_boolean.cc.