|
Blender
V2.93
|
#include "DEG_depsgraph.h"Go to the source code of this file.
Classes | |
| struct | AlembicExportParams |
Typedefs | |
| typedef struct AbcArchiveHandle | AbcArchiveHandle |
Functions | |
| int | ABC_get_version (void) |
| bool | ABC_export (struct Scene *scene, struct bContext *C, const char *filepath, const struct AlembicExportParams *params, bool as_background_job) |
| bool | ABC_import (struct bContext *C, const char *filepath, float scale, bool is_sequence, bool set_frame_range, int sequence_len, int offset, bool validate_meshes, bool as_background_job) |
| AbcArchiveHandle * | ABC_create_handle (struct Main *bmain, const char *filename, struct ListBase *object_paths) |
| void | ABC_free_handle (AbcArchiveHandle *handle) |
| void | ABC_get_transform (struct CacheReader *reader, float r_mat_world[4][4], float time, float scale) |
| struct Mesh * | ABC_read_mesh (struct CacheReader *reader, struct Object *ob, struct Mesh *existing_mesh, const float time, const char **err_str, int read_flags) |
| bool | ABC_mesh_topology_changed (struct CacheReader *reader, struct Object *ob, struct Mesh *existing_mesh, const float time, const char **err_str) |
| void | CacheReader_incref (struct CacheReader *reader) |
| void | CacheReader_free (struct CacheReader *reader) |
| struct CacheReader * | CacheReader_open_alembic_object (struct AbcArchiveHandle *handle, struct CacheReader *reader, struct Object *object, const char *object_path) |
| bool | ABC_has_vec3_array_property_named (struct CacheReader *reader, const char *name) |
| int | ABC_read_velocity_cache (struct CacheReader *reader, const char *velocity_name, float time, float velocity_scale, int num_vertices, float *r_vertex_velocities) |
| typedef struct AbcArchiveHandle AbcArchiveHandle |
Definition at line 1 of file ABC_alembic.h.
| AbcArchiveHandle* ABC_create_handle | ( | struct Main * | bmain, |
| const char * | filename, | ||
| struct ListBase * | object_paths | ||
| ) |
Definition at line 163 of file alembic_capi.cc.
References gather_objects_paths(), blender::io::alembic::ArchiveReader::getTop(), handle_from_archive(), and blender::io::alembic::ArchiveReader::valid().
Referenced by BKE_cachefile_eval().
| bool ABC_export | ( | struct Scene * | scene, |
| struct bContext * | C, | ||
| const char * | filepath, | ||
| const struct AlembicExportParams * | params, | ||
| bool | as_background_job | ||
| ) |
| void ABC_free_handle | ( | AbcArchiveHandle * | handle | ) |
Definition at line 181 of file alembic_capi.cc.
References archive_from_handle().
Referenced by cachefile_handle_free().
| void ABC_get_transform | ( | struct CacheReader * | reader, |
| float | r_mat_world[4][4], | ||
| float | time, | ||
| float | scale | ||
| ) |
Definition at line 727 of file alembic_capi.cc.
References BKE_object_get_parent_matrix(), mul_m4_m4m4(), blender::io::alembic::AbcObjectReader::object(), Object::parent, Object::parentinv, blender::io::alembic::AbcObjectReader::read_matrix(), and time.
Referenced by transformcache_evaluate().
| int ABC_get_version | ( | void | ) |
Definition at line 186 of file alembic_capi.cc.
Referenced by make_alembic_info().
| bool ABC_has_vec3_array_property_named | ( | struct CacheReader * | reader, |
| const char * | name | ||
| ) |
Definition at line 884 of file alembic_capi.cc.
References get_property_header(), blender::io::alembic::AbcObjectReader::iobject(), and mesh.
| bool ABC_import | ( | struct bContext * | C, |
| const char * | filepath, | ||
| float | scale, | ||
| bool | is_sequence, | ||
| bool | set_frame_range, | ||
| int | sequence_len, | ||
| int | offset, | ||
| bool | validate_meshes, | ||
| bool | as_background_job | ||
| ) |
Definition at line 661 of file alembic_capi.cc.
References ABC_NO_ERROR, ImportJobData::archive, BLI_strncpy(), ImportJobData::bmain, C, ImportJobData::C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), CTX_wm_window(), ImportJobData::error_code, ImportJobData::filename, G, import_endjob(), import_freejob(), ImportJobData::import_ok, import_startjob(), ImportJobData::is_background_job, blender::io::alembic::ImportSettings::is_sequence, NC_SCENE, ND_FRAME, blender::io::alembic::ImportSettings::scale, ImportJobData::scene, blender::io::alembic::ImportSettings::sequence_len, blender::io::alembic::ImportSettings::sequence_offset, blender::io::alembic::ImportSettings::set_frame_range, ImportJobData::settings, blender::io::alembic::ImportSettings::validate_meshes, ImportJobData::view_layer, ImportJobData::was_cancelled, ImportJobData::wm, WM_JOB_PROGRESS, WM_JOB_TYPE_ALEMBIC, WM_jobs_callbacks(), WM_jobs_customdata_set(), WM_jobs_get(), WM_jobs_start(), and WM_jobs_timer().
| bool ABC_mesh_topology_changed | ( | struct CacheReader * | reader, |
| struct Object * | ob, | ||
| struct Mesh * | existing_mesh, | ||
| const float | time, | ||
| const char ** | err_str | ||
| ) |
Definition at line 801 of file alembic_capi.cc.
References get_abc_reader(), sample_selector_for_time(), time, and blender::io::alembic::AbcObjectReader::topology_changed().
Referenced by modifyMesh().
| struct Mesh* ABC_read_mesh | ( | struct CacheReader * | reader, |
| struct Object * | ob, | ||
| struct Mesh * | existing_mesh, | ||
| const float | time, | ||
| const char ** | err_str, | ||
| int | read_flags | ||
| ) |
Definition at line 785 of file alembic_capi.cc.
References get_abc_reader(), blender::io::alembic::AbcObjectReader::read_mesh(), sample_selector_for_time(), and time.
Referenced by modifyMesh().
| int ABC_read_velocity_cache | ( | struct CacheReader * | reader, |
| const char * | velocity_name, | ||
| float | time, | ||
| float | velocity_scale, | ||
| int | num_vertices, | ||
| float * | r_vertex_velocities | ||
| ) |
Definition at line 942 of file alembic_capi.cc.
References copy_v3_v3(), blender::io::alembic::copy_zup_from_yup(), get_velocity_prop(), blender::io::alembic::AbcObjectReader::iobject(), mesh, mul_v3_fl(), blender::compositor::sample(), and time.
| void CacheReader_free | ( | struct CacheReader * | reader | ) |
Definition at line 815 of file alembic_capi.cc.
References blender::io::alembic::AbcObjectReader::decref(), and blender::io::alembic::AbcObjectReader::refcount().
Referenced by BKE_cachefile_reader_free(), cachefile_handle_free(), and CacheReader_open_alembic_object().
| void CacheReader_incref | ( | struct CacheReader * | reader | ) |
Definition at line 825 of file alembic_capi.cc.
References blender::io::alembic::AbcObjectReader::incref().
| struct CacheReader* CacheReader_open_alembic_object | ( | struct AbcArchiveHandle * | handle, |
| struct CacheReader * | reader, | ||
| struct Object * | object, | ||
| const char * | object_path | ||
| ) |
Definition at line 831 of file alembic_capi.cc.
References archive_from_handle(), CacheReader_free(), blender::io::alembic::create_reader(), find_iobject(), blender::io::alembic::ArchiveReader::getTop(), blender::io::alembic::AbcObjectReader::incref(), blender::io::alembic::AbcObjectReader::object(), and blender::io::alembic::ArchiveReader::valid().
Referenced by BKE_cachefile_reader_open().