|
Blender V4.3
|
#include <cstdio>#include "BLI_utildefines.h"#include "BLI_math_matrix.h"#include "BLI_math_rotation.h"#include "BLI_math_vector.h"#include "BLI_path_utils.hh"#include "BLI_string.h"#include "BLT_translation.hh"#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_deform.hh"#include "BKE_main.hh"#include "BKE_mesh.hh"#include "BKE_scene.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "DEG_depsgraph_query.hh"#include "MEM_guardedalloc.h"#include "MOD_meshcache_util.hh"#include "MOD_modifiertypes.hh"#include "MOD_ui_common.hh"#include "MOD_util.hh"Go to the source code of this file.
Functions | |
| static void | init_data (ModifierData *md) |
| static bool | depends_on_time (Scene *, ModifierData *md) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | meshcache_do (MeshCacheModifierData *mcmd, Scene *scene, Object *ob, Mesh *mesh, float(*vertexCos_Real)[3], int verts_num) |
| static void | deform_verts (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh, blender::MutableSpan< blender::float3 > positions) |
| static void | panel_draw (const bContext *, Panel *panel) |
| static void | time_remapping_panel_draw (const bContext *, Panel *panel) |
| static void | axis_mapping_panel_draw (const bContext *, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
Variables | |
| ModifierTypeInfo | modifierType_MeshCache |
Definition at line 342 of file MOD_meshcache.cc.
References col, Panel::layout, modifier_panel_get_property_pointers(), ptr, RNA_enum_get(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiItemR(), uiLayoutColumn(), uiLayoutSetPropSep(), and uiLayoutSetRedAlert().
Referenced by panel_register().
|
static |
Definition at line 276 of file MOD_meshcache.cc.
References DEG_get_evaluated_scene(), ModifierEvalContext::depsgraph, meshcache_do(), and ModifierEvalContext::object.
|
static |
Definition at line 57 of file MOD_meshcache.cc.
References MOD_MESHCACHE_PLAY_CFEA, and MeshCacheModifierData::play_mode.
|
static |
Definition at line 48 of file MOD_meshcache.cc.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 63 of file MOD_meshcache.cc.
References MeshCacheModifierData::factor, and MeshCacheModifierData::filepath.
|
static |
Definition at line 71 of file MOD_meshcache.cc.
References BKE_defvert_find_weight(), BKE_mesh_calc_relative_deform(), BKE_modifier_set_error(), BKE_scene_ctime_get(), BLI_path_abs(), MeshCacheModifierData::defgrp_name, MeshCacheModifierData::deform_mode, MeshCacheModifierData::eval_factor, MeshCacheModifierData::eval_frame, MeshCacheModifierData::eval_time, MeshCacheModifierData::factor, FILE_MAX, MeshCacheModifierData::filepath, MeshCacheModifierData::flag, MeshCacheModifierData::flip_axis, float, MeshCacheModifierData::forward_axis, FPS, MeshCacheModifierData::frame_scale, MeshCacheModifierData::frame_start, ID_BLEND_PATH_FROM_GLOBAL, MeshCacheModifierData::interp, interp_v3_v3v3(), interp_vn_vn(), mat3_from_axis_conversion(), MEM_freeN(), MEM_malloc_arrayN, MOD_get_vgroup(), MOD_MESHCACHE_DEFORM_INTEGRATE, MOD_MESHCACHE_INVERT_VERTEX_GROUP, 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, mul_m3_m3m3(), mul_m3_v3(), OB_MESH, MeshCacheModifierData::play_mode, STRNCPY, time, MeshCacheModifierData::time_mode, MeshCacheModifierData::type, unit_m3(), UNLIKELY, and MeshCacheModifierData::up_axis.
Referenced by deform_verts().
Definition at line 292 of file MOD_meshcache.cc.
References Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), ptr, UI_ITEM_NONE, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 359 of file MOD_meshcache.cc.
References axis_mapping_panel_draw(), eModifierType_MeshCache, modifier_panel_register(), modifier_subpanel_register(), panel_draw(), and time_remapping_panel_draw().
Definition at line 312 of file MOD_meshcache.cc.
References Panel::layout, MOD_MESHCACHE_PLAY_CFEA, MOD_MESHCACHE_TIME_FRAME, MOD_MESHCACHE_TIME_SECONDS, modifier_panel_get_property_pointers(), ptr, RNA_enum_get(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiItemR(), and uiLayoutSetPropSep().
Referenced by panel_register().
| ModifierTypeInfo modifierType_MeshCache |
Definition at line 373 of file MOD_meshcache.cc.