|
Blender V4.3
|
#include <BKE_pointcache.h>
Public Attributes | |
| struct PTCacheID * | next |
| struct PTCacheID * | prev |
| struct Scene * | scene |
| struct ID * | owner_id |
| void * | calldata |
| unsigned int | type |
| unsigned int | file_type |
| unsigned int | stack_index |
| unsigned int | flag |
| unsigned int | default_step |
| unsigned int | max_step |
| unsigned int | data_types |
| unsigned int | info_types |
| int(* | write_point )(int index, void *calldata, void **data, int cfra) |
| void(* | read_point )(int index, void *calldata, void **data, float cfra, const float *old_data) |
| void(* | interpolate_point )(int index, void *calldata, void **data, float cfra, float cfra1, float cfra2, const float *old_data) |
| int(* | write_stream )(PTCacheFile *pf, void *calldata) |
| int(* | read_stream )(PTCacheFile *pf, void *calldata) |
| void(* | write_extra_data )(void *calldata, struct PTCacheMem *pm, int cfra) |
| void(* | read_extra_data )(void *calldata, struct PTCacheMem *pm, float cfra) |
| void(* | interpolate_extra_data )(void *calldata, struct PTCacheMem *pm, float cfra, float cfra1, float cfra2) |
| int(* | totpoint )(void *calldata, int cfra) |
| void(* | error )(const struct ID *owner_id, void *calldata, const char *message) |
| int(* | totwrite )(void *calldata, int cfra) |
| int(* | write_header )(PTCacheFile *pf) |
| int(* | read_header )(PTCacheFile *pf) |
| struct PointCache * | cache |
| struct PointCache ** | cache_ptr |
| struct ListBase * | ptcaches |
Definition at line 112 of file BKE_pointcache.h.
| struct PointCache* PTCacheID::cache |
Definition at line 167 of file BKE_pointcache.h.
Referenced by BKE_ptcache_bake(), BKE_ptcache_disk_cache_rename(), BKE_ptcache_disk_to_mem(), BKE_ptcache_id_clear(), BKE_ptcache_id_exist(), BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_smoke(), BKE_ptcache_id_from_softbody(), BKE_ptcache_id_reset(), BKE_ptcache_id_time(), BKE_ptcache_load_external(), BKE_ptcache_mem_to_disk(), BKE_ptcache_object_reset(), BKE_ptcache_read(), BKE_ptcache_toggle_disk_cache(), BKE_ptcache_update_info(), BKE_ptcache_write(), cloth_clear_cache(), dynamicPaint_frameUpdate(), pe_get_current(), ptcache_add_new_exec(), ptcache_file_open(), ptcache_filepath(), ptcache_filepath_ext_append(), ptcache_find_frames_around(), ptcache_interpolate(), ptcache_mem_frame_to_disk(), ptcache_path(), ptcache_read(), ptcache_remove_exec(), ptcache_write(), ptcache_write_needed(), timeline_cache_draw_single(), tot_particles(), undoptcache_from_editcache(), and undoptcache_to_editcache().
| struct PointCache** PTCacheID::cache_ptr |
Used for setting the current cache from ptcaches list.
Definition at line 169 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_smoke(), BKE_ptcache_id_from_softbody(), ptcache_add_new_exec(), and ptcache_remove_exec().
| void* PTCacheID::calldata |
Definition at line 117 of file BKE_pointcache.h.
Referenced by BKE_ptcache_bake(), BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_smoke(), BKE_ptcache_id_from_softbody(), BKE_ptcache_id_reset(), BKE_ptcache_read(), BKE_ptcache_update_info(), BKE_ptcache_write(), pe_get_current(), ptcache_interpolate(), ptcache_read(), ptcache_read_stream(), ptcache_write(), and ptcache_write_stream().
| unsigned int PTCacheID::data_types |
flags defined in DNA_object_force_types.h.
Definition at line 126 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_write(), object_lib_override_apply_post(), ptcache_interpolate(), ptcache_read(), ptcache_write(), and ptcache_write_stream().
| unsigned int PTCacheID::default_step |
Definition at line 122 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), object_lib_override_apply_post(), and ptcache_add_new_exec().
Report error if number of points does not match
Definition at line 160 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), ptcache_interpolate(), ptcache_read(), and ptcache_read_stream().
| unsigned int PTCacheID::file_type |
Definition at line 118 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), object_lib_override_apply_post(), and ptcache_file_extension().
| unsigned int PTCacheID::flag |
Definition at line 120 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_particles(), object_lib_override_apply_post(), and update_velocities().
| unsigned int PTCacheID::info_types |
Definition at line 126 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_write(), object_lib_override_apply_post(), and ptcache_write().
| void(* PTCacheID::interpolate_extra_data) (void *calldata, struct PTCacheMem *pm, float cfra, float cfra1, float cfra2) |
Copies custom PTCacheMem::extradata to cache data
Definition at line 151 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), and ptcache_interpolate().
| void(* PTCacheID::interpolate_point) (int index, void *calldata, void **data, float cfra, float cfra1, float cfra2, const float *old_data) |
Interpolated between previously read point data and cache data.
Definition at line 133 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_read(), and ptcache_interpolate().
| unsigned int PTCacheID::max_step |
Definition at line 123 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), and object_lib_override_apply_post().
| struct PTCacheID* PTCacheID::next |
Definition at line 113 of file BKE_pointcache.h.
Referenced by BKE_ptcache_bake(), object_lib_override_apply_post(), and pe_get_current().
| struct ID* PTCacheID::owner_id |
Definition at line 116 of file BKE_pointcache.h.
Referenced by BKE_ptcache_bake(), BKE_ptcache_id_clear(), BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_smoke(), BKE_ptcache_id_from_softbody(), BKE_ptcache_toggle_disk_cache(), ptcache_file_open(), ptcache_filepath(), ptcache_filepath_ext_append(), ptcache_interpolate(), ptcache_job_endjob(), ptcache_path(), ptcache_read(), and ptcache_read_stream().
| struct PTCacheID * PTCacheID::prev |
Definition at line 113 of file BKE_pointcache.h.
| struct ListBase* PTCacheID::ptcaches |
Definition at line 170 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_smoke(), BKE_ptcache_id_from_softbody(), object_lib_override_apply_post(), ptcache_add_new_exec(), ptcache_remove_exec(), and scene_lib_override_apply_post().
| void(* PTCacheID::read_extra_data) (void *calldata, struct PTCacheMem *pm, float cfra) |
Copies custom PTCacheMem::extradata to cache data.
Definition at line 149 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), and ptcache_read().
| int(* PTCacheID::read_header) (PTCacheFile *pf) |
Definition at line 165 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_load_external(), ptcache_disk_frame_to_mem(), and ptcache_read_stream().
| void(* PTCacheID::read_point) (int index, void *calldata, void **data, float cfra, const float *old_data) |
Copies cache data to point data.
Definition at line 131 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_read(), and ptcache_read().
| int(* PTCacheID::read_stream) (PTCacheFile *pf, void *calldata) |
Copies cache data to point data.
Definition at line 144 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_read(), and ptcache_read_stream().
| struct Scene* PTCacheID::scene |
Definition at line 115 of file BKE_pointcache.h.
| unsigned int PTCacheID::stack_index |
Definition at line 119 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_smoke(), BKE_ptcache_id_from_softbody(), and ptcache_filepath_ext_append().
Total number of simulated points (the cfra parameter is just for using same function pointer with totwrite).
Definition at line 158 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_read(), BKE_ptcache_update_info(), BKE_ptcache_write(), ptcache_interpolate(), ptcache_read(), ptcache_read_stream(), and ptcache_write().
Number of points written for current cache frame.
Definition at line 162 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), and ptcache_write().
| unsigned int PTCacheID::type |
Definition at line 118 of file BKE_pointcache.h.
Referenced by BKE_ptcache_bake(), BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_smoke(), BKE_ptcache_id_from_softbody(), BKE_ptcache_id_reset(), BKE_ptcache_load_external(), BKE_ptcache_update_info(), blender::deg::DepsgraphRelationBuilder::build_object_pointcache(), object_lib_override_apply_post(), pe_get_current(), ptcache_disk_frame_to_mem(), ptcache_mem_frame_to_disk(), ptcache_old_elemsize(), ptcache_read_stream(), ptcache_write_stream(), timeline_cache_color_get(), and timeline_cache_is_hidden_by_setting().
| void(* PTCacheID::write_extra_data) (void *calldata, struct PTCacheMem *pm, int cfra) |
Copies custom PTCacheMem::extradata to cache data.
Definition at line 147 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), and ptcache_write().
| int(* PTCacheID::write_header) (PTCacheFile *pf) |
Definition at line 164 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), ptcache_mem_frame_to_disk(), and ptcache_write_stream().
Copies point data to cache data.
Definition at line 129 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_write(), and ptcache_write().
| int(* PTCacheID::write_stream) (PTCacheFile *pf, void *calldata) |
Copies point data to cache data.
Definition at line 142 of file BKE_pointcache.h.
Referenced by BKE_ptcache_id_from_cloth(), BKE_ptcache_id_from_dynamicpaint(), BKE_ptcache_id_from_particles(), BKE_ptcache_id_from_rigidbody(), BKE_ptcache_id_from_softbody(), BKE_ptcache_write(), and ptcache_write_stream().