Blender  V3.3
Macros | Functions | Variables
MOD_datatransfer.c File Reference
#include "BLI_utildefines.h"
#include "BLI_math.h"
#include "BLT_translation.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "BKE_context.h"
#include "BKE_customdata.h"
#include "BKE_data_transfer.h"
#include "BKE_lib_id.h"
#include "BKE_lib_query.h"
#include "BKE_mesh_mapping.h"
#include "BKE_mesh_remap.h"
#include "BKE_modifier.h"
#include "BKE_report.h"
#include "BKE_screen.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "DEG_depsgraph_query.h"
#include "MEM_guardedalloc.h"
#include "MOD_ui_common.h"
#include "MOD_util.h"

Go to the source code of this file.

Macros

#define DT_TYPES_AFFECT_MESH
 

Functions

static void initData (ModifierData *md)
 
static void requiredDataMask (Object *UNUSED(ob), ModifierData *md, CustomData_MeshMasks *r_cddata_masks)
 
static bool dependsOnNormals (ModifierData *md)
 
static void foreachIDLink (ModifierData *md, Object *ob, IDWalkFunc walk, void *userData)
 
static void updateDepsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx)
 
static bool isDisabled (const struct Scene *UNUSED(scene), ModifierData *md, bool UNUSED(useRenderParams))
 
static MeshmodifyMesh (ModifierData *md, const ModifierEvalContext *ctx, Mesh *me_mod)
 
static void panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void vertex_panel_draw_header (const bContext *UNUSED(C), Panel *panel)
 
static void vertex_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void vertex_vgroup_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void edge_panel_draw_header (const bContext *UNUSED(C), Panel *panel)
 
static void edge_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void face_corner_panel_draw_header (const bContext *UNUSED(C), Panel *panel)
 
static void face_corner_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void vert_vcol_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void face_corner_vcol_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void face_corner_uv_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void face_panel_draw_header (const bContext *UNUSED(C), Panel *panel)
 
static void face_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void advanced_panel_draw (const bContext *UNUSED(C), Panel *panel)
 
static void panelRegister (ARegionType *region_type)
 

Variables

ModifierTypeInfo modifierType_DataTransfer
 

Macro Definition Documentation

◆ DT_TYPES_AFFECT_MESH

#define DT_TYPES_AFFECT_MESH
Value:
DT_TYPE_LNOR | DT_TYPE_SHARP_FACE)
@ DT_TYPE_BWEIGHT_VERT
@ DT_TYPE_CREASE
@ DT_TYPE_SHARP_FACE
@ DT_TYPE_BWEIGHT_EDGE
@ DT_TYPE_SHARP_EDGE

Definition at line 151 of file MOD_datatransfer.c.

Function Documentation

◆ advanced_panel_draw()

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

◆ dependsOnNormals()

static bool dependsOnNormals ( ModifierData md)
static

◆ edge_panel_draw()

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

◆ edge_panel_draw_header()

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

Definition at line 301 of file MOD_datatransfer.c.

References Panel::layout, modifier_panel_get_property_pointers(), NULL, ptr, and uiItemR().

Referenced by panelRegister().

◆ face_corner_panel_draw()

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

◆ face_corner_panel_draw_header()

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

Definition at line 325 of file MOD_datatransfer.c.

References Panel::layout, modifier_panel_get_property_pointers(), NULL, ptr, and uiItemR().

Referenced by panelRegister().

◆ face_corner_uv_panel_draw()

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

◆ face_corner_vcol_panel_draw()

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

◆ face_panel_draw()

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

◆ face_panel_draw_header()

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

Definition at line 396 of file MOD_datatransfer.c.

References Panel::layout, modifier_panel_get_property_pointers(), NULL, ptr, and uiItemR().

Referenced by panelRegister().

◆ foreachIDLink()

static void foreachIDLink ( ModifierData md,
Object ob,
IDWalkFunc  walk,
void userData 
)
static

Definition at line 110 of file MOD_datatransfer.c.

References IDWALK_CB_NOP, and DataTransferModifierData::ob_source.

◆ initData()

static void initData ( ModifierData md)
static

◆ isDisabled()

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

Definition at line 137 of file MOD_datatransfer.c.

References OB_MESH, DataTransferModifierData::ob_source, and Object::type.

◆ modifyMesh()

static Mesh* modifyMesh ( ModifierData md,
const ModifierEvalContext ctx,
Mesh me_mod 
)
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 md,
CustomData_MeshMasks r_cddata_masks 
)
static

◆ updateDepsgraph()

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

◆ vert_vcol_panel_draw()

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

◆ vertex_panel_draw()

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

◆ vertex_panel_draw_header()

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

Definition at line 263 of file MOD_datatransfer.c.

References Panel::layout, modifier_panel_get_property_pointers(), NULL, ptr, and uiItemR().

Referenced by panelRegister().

◆ vertex_vgroup_panel_draw()

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

Variable Documentation

◆ modifierType_DataTransfer

ModifierTypeInfo modifierType_DataTransfer

Definition at line 476 of file MOD_datatransfer.c.