|
Blender V5.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 |
| ListBaseT< PointCache > * | ptcaches |
Definition at line 113 of file BKE_pointcache.h.
| struct PointCache* blender::PTCacheID::cache |
Definition at line 168 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_bake(), blender::BKE_ptcache_disk_cache_rename(), blender::BKE_ptcache_disk_to_mem(), blender::BKE_ptcache_id_clear(), blender::BKE_ptcache_id_exist(), blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_smoke(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_id_reset(), blender::BKE_ptcache_id_time(), blender::BKE_ptcache_load_external(), blender::BKE_ptcache_mem_to_disk(), blender::BKE_ptcache_object_reset(), blender::BKE_ptcache_path(), blender::BKE_ptcache_read(), blender::BKE_ptcache_toggle_disk_cache(), blender::BKE_ptcache_update_info(), blender::BKE_ptcache_write(), blender::cloth_clear_cache(), blender::dynamicPaint_frameUpdate(), blender::pe_get_current(), blender::ptcache_add_new_exec(), blender::ptcache_file_open(), blender::ptcache_filepath(), blender::ptcache_filepath_ext_append(), blender::ptcache_find_frames_around(), blender::ptcache_interpolate(), blender::ptcache_read(), blender::ptcache_remove_exec(), blender::ptcache_write(), blender::ptcache_write_needed(), blender::timeline_cache_draw_single(), blender::tot_particles(), blender::undoptcache_from_editcache(), and blender::undoptcache_to_editcache().
| struct PointCache** blender::PTCacheID::cache_ptr |
Used for setting the current cache from ptcaches list.
Definition at line 170 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_smoke(), blender::BKE_ptcache_id_from_softbody(), blender::ptcache_add_new_exec(), and blender::ptcache_remove_exec().
| void* blender::PTCacheID::calldata |
Definition at line 118 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_bake(), blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_smoke(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_id_reset(), blender::BKE_ptcache_read(), blender::BKE_ptcache_update_info(), blender::BKE_ptcache_write(), blender::pe_get_current(), blender::ptcache_interpolate(), blender::ptcache_read(), blender::ptcache_read_stream(), blender::ptcache_write(), and blender::ptcache_write_stream().
| unsigned int blender::PTCacheID::data_types |
flags defined in DNA_object_force_types.h.
Definition at line 127 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_write(), blender::object_lib_override_apply_post(), blender::ptcache_interpolate(), blender::ptcache_read(), blender::ptcache_write(), and blender::ptcache_write_stream().
| unsigned int blender::PTCacheID::default_step |
Definition at line 123 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::object_lib_override_apply_post(), and blender::ptcache_add_new_exec().
Report error if number of points does not match
Definition at line 161 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::ptcache_interpolate(), blender::ptcache_read(), and blender::ptcache_read_stream().
| unsigned int blender::PTCacheID::file_type |
Definition at line 119 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::object_lib_override_apply_post(), and blender::ptcache_file_extension().
| unsigned int blender::PTCacheID::flag |
Definition at line 121 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_particles(), and blender::update_velocities().
| unsigned int blender::PTCacheID::info_types |
Definition at line 127 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_write(), blender::object_lib_override_apply_post(), and blender::ptcache_write().
| void(*) blender::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 152 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), and blender::ptcache_interpolate().
| void(*) blender::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 134 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_read(), and blender::ptcache_interpolate().
| unsigned int blender::PTCacheID::max_step |
Definition at line 124 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), and blender::object_lib_override_apply_post().
| struct PTCacheID* blender::PTCacheID::next |
Definition at line 114 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_bake(), blender::object_lib_override_apply_post(), and blender::pe_get_current().
| struct ID* blender::PTCacheID::owner_id |
Definition at line 117 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_bake(), blender::BKE_ptcache_id_clear(), blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_smoke(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_path(), blender::BKE_ptcache_toggle_disk_cache(), blender::ptcache_file_open(), blender::ptcache_filepath(), blender::ptcache_filepath_ext_append(), blender::ptcache_interpolate(), blender::ptcache_job_endjob(), blender::ptcache_read(), and blender::ptcache_read_stream().
| struct PTCacheID * blender::PTCacheID::prev |
Definition at line 114 of file BKE_pointcache.h.
| ListBaseT<PointCache>* blender::PTCacheID::ptcaches |
Definition at line 171 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_smoke(), blender::BKE_ptcache_id_from_softbody(), blender::object_lib_override_apply_post(), blender::ptcache_add_new_exec(), blender::ptcache_remove_exec(), and blender::scene_lib_override_apply_post().
| void(*) blender::PTCacheID::read_extra_data(void *calldata, struct PTCacheMem *pm, float cfra) |
Copies custom #PTCacheMem::extradata to cache data.
Definition at line 150 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), and blender::ptcache_read().
| int(*) blender::PTCacheID::read_header(PTCacheFile *pf) |
Definition at line 166 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_load_external(), blender::ptcache_disk_frame_to_mem(), and blender::ptcache_read_stream().
| void(*) blender::PTCacheID::read_point(int index, void *calldata, void **data, float cfra, const float *old_data) |
Copies cache data to point data.
Definition at line 132 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_read(), and blender::ptcache_read().
| int(*) blender::PTCacheID::read_stream(PTCacheFile *pf, void *calldata) |
Copies cache data to point data.
Definition at line 145 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_read(), and blender::ptcache_read_stream().
| struct Scene* blender::PTCacheID::scene |
Definition at line 116 of file BKE_pointcache.h.
| unsigned int blender::PTCacheID::stack_index |
Definition at line 120 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_smoke(), blender::BKE_ptcache_id_from_softbody(), and blender::ptcache_filepath_ext_append().
| int(*) blender::PTCacheID::totpoint(void *calldata, int cfra) |
Total number of simulated points (the cfra parameter is just for using same function pointer with totwrite).
Definition at line 159 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_read(), blender::BKE_ptcache_update_info(), blender::BKE_ptcache_write(), blender::ptcache_interpolate(), blender::ptcache_read(), blender::ptcache_read_stream(), and blender::ptcache_write().
| int(*) blender::PTCacheID::totwrite(void *calldata, int cfra) |
Number of points written for current cache frame.
Definition at line 163 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), and blender::ptcache_write().
| unsigned int blender::PTCacheID::type |
Definition at line 119 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_bake(), blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_smoke(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_id_reset(), blender::BKE_ptcache_load_external(), blender::BKE_ptcache_update_info(), blender::deg::DepsgraphRelationBuilder::build_object_pointcache(), blender::object_lib_override_apply_post(), blender::pe_get_current(), blender::ptcache_disk_frame_to_mem(), blender::ptcache_mem_frame_to_disk(), blender::ptcache_old_elemsize(), blender::ptcache_read_stream(), blender::ptcache_write_stream(), blender::timeline_cache_color_get(), and blender::timeline_cache_is_hidden_by_setting().
| void(*) blender::PTCacheID::write_extra_data(void *calldata, struct PTCacheMem *pm, int cfra) |
Copies custom #PTCacheMem::extradata to cache data.
Definition at line 148 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), and blender::ptcache_write().
| int(*) blender::PTCacheID::write_header(PTCacheFile *pf) |
Definition at line 165 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::ptcache_mem_frame_to_disk(), and blender::ptcache_write_stream().
Copies point data to cache data.
Definition at line 130 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_write(), and blender::ptcache_write().
| int(*) blender::PTCacheID::write_stream(PTCacheFile *pf, void *calldata) |
Copies point data to cache data.
Definition at line 143 of file BKE_pointcache.h.
Referenced by blender::BKE_ptcache_id_from_cloth(), blender::BKE_ptcache_id_from_dynamicpaint(), blender::BKE_ptcache_id_from_particles(), blender::BKE_ptcache_id_from_rigidbody(), blender::BKE_ptcache_id_from_softbody(), blender::BKE_ptcache_write(), and blender::ptcache_write_stream().