Blender V5.3
MOD_explode.cc File Reference
#include "BLI_utildefines.hh"
#include "BLI_array.hh"
#include "BLI_kdtree.hh"
#include "BLI_map.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rand_c.hh"
#include "BLT_translation.hh"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "BKE_attribute_legacy_convert.hh"
#include "BKE_customdata.hh"
#include "BKE_deform.hh"
#include "BKE_lib_id.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_legacy_convert.hh"
#include "BKE_modifier.hh"
#include "BKE_particle.h"
#include "BKE_scene.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "DEG_depsgraph_query.hh"
#include "MEM_guardedalloc.h"
#include "MOD_ui_common.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DNA_DEPRECATED_ALLOW
#define SET_VERTS(a, b, c, d)
#define GET_ES(v1, v2)
#define INT_UV(uvf, c0, c1)

Functions

static Array< int, 0 > * blender::facepa_array (ExplodeModifierData *emd)
static void blender::init_data (ModifierData *md)
static void blender::free_data (ModifierData *md)
static void blender::copy_data (const ModifierData *md, ModifierData *target, const int flag)
static bool blender::depends_on_time (Scene *, ModifierData *)
static void blender::required_data_mask (ModifierData *md, CustomData_MeshMasks *r_cddata_masks)
static void blender::createFacepa (ExplodeModifierData *emd, ParticleSystemModifierData *psmd, Mesh *mesh)
static int blender::edgecut_get (const Map< OrderedEdge, int > &edgehash, uint v1, uint v2)
static MFace * blender::get_dface (Mesh *mesh, Mesh *split, int cur, int i, MFace *mf)
static void blender::remap_faces_3_6_9_12 (Mesh *mesh, Mesh *split, MFace *mf, int *facepa, const int *vertpa, int i, const Map< OrderedEdge, int > &eh, int cur, int v1, int v2, int v3, int v4)
static void blender::remap_uvs_3_6_9_12 (Mesh *mesh, Mesh *split, int layers_num, int i, int cur, int c0, int c1, int c2, int c3)
static void blender::remap_faces_5_10 (Mesh *mesh, Mesh *split, MFace *mf, int *facepa, const int *vertpa, int i, const Map< OrderedEdge, int > &eh, int cur, int v1, int v2, int v3, int v4)
static void blender::remap_uvs_5_10 (Mesh *mesh, Mesh *split, int layers_num, int i, int cur, int c0, int c1, int c2, int c3)
static void blender::remap_faces_15 (Mesh *mesh, Mesh *split, MFace *mf, int *facepa, const int *vertpa, int i, const Map< OrderedEdge, int > &eh, int cur, int v1, int v2, int v3, int v4)
static void blender::remap_uvs_15 (Mesh *mesh, Mesh *split, int layers_num, int i, int cur, int c0, int c1, int c2, int c3)
static void blender::remap_faces_7_11_13_14 (Mesh *mesh, Mesh *split, MFace *mf, int *facepa, const int *vertpa, int i, const Map< OrderedEdge, int > &eh, int cur, int v1, int v2, int v3, int v4)
static void blender::remap_uvs_7_11_13_14 (Mesh *mesh, Mesh *split, int layers_num, int i, int cur, int c0, int c1, int c2, int c3)
static void blender::remap_faces_19_21_22 (Mesh *mesh, Mesh *split, MFace *mf, int *facepa, const int *vertpa, int i, const Map< OrderedEdge, int > &eh, int cur, int v1, int v2, int v3)
static void blender::remap_uvs_19_21_22 (Mesh *mesh, Mesh *split, int layers_num, int i, int cur, int c0, int c1, int c2)
static void blender::remap_faces_23 (Mesh *mesh, Mesh *split, MFace *mf, int *facepa, const int *vertpa, int i, const Map< OrderedEdge, int > &eh, int cur, int v1, int v2, int v3)
static void blender::remap_uvs_23 (Mesh *mesh, Mesh *split, int layers_num, int i, int cur, int c0, int c1, int c2)
static Mesh * blender::cutEdges (ExplodeModifierData *emd, Mesh *mesh)
static Mesh * blender::explodeMesh (ExplodeModifierData *emd, ParticleSystemModifierData *psmd, const ModifierEvalContext *ctx, Scene *scene, Mesh *to_explode)
static ParticleSystemModifierData * blender::findPrecedingParticlesystem (Object *ob, ModifierData *emd)
static Mesh * blender::modify_mesh (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh)
static void blender::panel_draw (const bContext *, Panel *panel)
static void blender::panel_register (ARegionType *region_type)
static void blender::blend_read (BlendDataReader *, ModifierData *md)

Variables

static const short blender::add_faces [24]
ModifierTypeInfo blender::modifierType_Explode

Macro Definition Documentation

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

Definition at line 9 of file MOD_explode.cc.

◆ GET_ES

◆ INT_UV

#define INT_UV ( uvf,
c0,
c1 )

◆ SET_VERTS

#define SET_VERTS ( a,
b,
c,
d )
Value:
{ \
v[0] = mf->v##a; \
uv[0] = a - 1; \
v[1] = mf->v##b; \
uv[1] = b - 1; \
v[2] = mf->v##c; \
uv[2] = c - 1; \
v[3] = mf->v##d; \
uv[3] = d - 1; \
} \
(void)0

Definition at line 234 of file MOD_explode.cc.

Referenced by blender::cutEdges().