|
Blender
V2.93
|
#include <stdio.h>#include "BLI_utildefines.h"#include "BLI_math.h"#include "BLI_path_util.h"#include "BLI_string.h"#include "BLT_translation.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_context.h"#include "BKE_main.h"#include "BKE_mesh.h"#include "BKE_scene.h"#include "BKE_screen.h"#include "UI_interface.h"#include "UI_resources.h"#include "RNA_access.h"#include "DEG_depsgraph_query.h"#include "MEM_guardedalloc.h"#include "MOD_meshcache_util.h"#include "MOD_modifiertypes.h"#include "MOD_ui_common.h"Go to the source code of this file.
Functions | |
| static void | initData (ModifierData *md) |
| static bool | dependsOnTime (ModifierData *md) |
| static bool | isDisabled (const struct Scene *UNUSED(scene), ModifierData *md, bool UNUSED(useRenderParams)) |
| static void | meshcache_do (MeshCacheModifierData *mcmd, Scene *scene, Object *ob, float(*vertexCos_Real)[3], int numVerts) |
| static void | deformVerts (ModifierData *md, const ModifierEvalContext *ctx, Mesh *UNUSED(mesh), float(*vertexCos)[3], int numVerts) |
| static void | deformVertsEM (ModifierData *md, const ModifierEvalContext *ctx, struct BMEditMesh *UNUSED(editData), Mesh *UNUSED(mesh), float(*vertexCos)[3], int numVerts) |
| static void | panel_draw (const bContext *UNUSED(C), Panel *panel) |
| static void | time_remapping_panel_draw (const bContext *UNUSED(C), Panel *panel) |
| static void | axis_mapping_panel_draw (const bContext *UNUSED(C), Panel *panel) |
| static void | panelRegister (ARegionType *region_type) |
Variables | |
| ModifierTypeInfo | modifierType_MeshCache |
Definition at line 342 of file MOD_meshcache.c.
References col, Panel::layout, modifier_panel_get_property_pointers(), NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, uiItemR(), uiLayoutColumn(), uiLayoutSetPropSep(), and uiLayoutSetRedAlert().
Referenced by panelRegister().
|
static |
Definition at line 269 of file MOD_meshcache.c.
References DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, meshcache_do(), ModifierEvalContext::object, and scene.
|
static |
Definition at line 281 of file MOD_meshcache.c.
References DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, meshcache_do(), ModifierEvalContext::object, and scene.
|
static |
Definition at line 66 of file MOD_meshcache.c.
References MOD_MESHCACHE_PLAY_CFEA, and MeshCacheModifierData::play_mode.
|
static |
Definition at line 57 of file MOD_meshcache.c.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 72 of file MOD_meshcache.c.
References MeshCacheModifierData::factor, and MeshCacheModifierData::filepath.
|
static |
Definition at line 82 of file MOD_meshcache.c.
References BKE_mesh_calc_relative_deform(), BKE_modifier_set_error(), BKE_scene_frame_get(), BLI_path_abs(), BLI_strncpy(), copy_v3_v3(), MeshCacheModifierData::deform_mode, MeshCacheModifierData::eval_factor, MeshCacheModifierData::eval_frame, MeshCacheModifierData::eval_time, MeshCacheModifierData::factor, FILE_MAX, MeshCacheModifierData::filepath, MeshCacheModifierData::flip_axis, float(), MeshCacheModifierData::forward_axis, FPS, MeshCacheModifierData::frame_scale, MeshCacheModifierData::frame_start, ID_BLEND_PATH_FROM_GLOBAL, MeshCacheModifierData::interp, interp_vn_vn(), mat3_from_axis_conversion(), MEM_freeN, MEM_malloc_arrayN, Mesh::mloop, MOD_MESHCACHE_DEFORM_INTEGRATE, MOD_MESHCACHE_PLAY_CFEA, MOD_meshcache_read_mdd_times(), MOD_meshcache_read_pc2_times(), MOD_MESHCACHE_TIME_FACTOR, MOD_MESHCACHE_TIME_FRAME, MOD_MESHCACHE_TIME_SECONDS, MOD_MESHCACHE_TYPE_MDD, MOD_MESHCACHE_TYPE_PC2, MeshCacheModifierData::modifier, Mesh::mpoly, mul_m3_m3m3(), mul_m3_v3(), Mesh::mvert, NULL, OB_MESH, MeshCacheModifierData::play_mode, scene, time, MeshCacheModifierData::time_mode, Mesh::totpoly, Mesh::totvert, MeshCacheModifierData::type, unit_m3(), UNLIKELY, and MeshCacheModifierData::up_axis.
Referenced by deformVerts(), and deformVertsEM().
Definition at line 294 of file MOD_meshcache.c.
References Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), NULL, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 359 of file MOD_meshcache.c.
References axis_mapping_panel_draw(), eModifierType_MeshCache, modifier_panel_register(), modifier_subpanel_register(), NULL, panel_draw(), and time_remapping_panel_draw().
Definition at line 312 of file MOD_meshcache.c.
References Panel::layout, MOD_MESHCACHE_PLAY_CFEA, MOD_MESHCACHE_TIME_FRAME, MOD_MESHCACHE_TIME_SECONDS, modifier_panel_get_property_pointers(), NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, uiItemR(), and uiLayoutSetPropSep().
Referenced by panelRegister().
| ModifierTypeInfo modifierType_MeshCache |
Definition at line 373 of file MOD_meshcache.c.