|
Blender
V2.93
|
Namespaces | |
| utils | |
Classes | |
| class | ABCArchive |
| class | CustomPropertiesExporter |
| struct | ABCWriterConstructorArgs |
| class | ABCHierarchyIterator |
| class | SubdivModifierDisabler |
| class | ABCAbstractWriter |
| class | ABCCameraWriter |
| class | ABCCurveWriter |
| class | ABCCurveMeshWriter |
| class | ABCHairWriter |
| class | ABCInstanceWriter |
| class | ABCMetaballWriter |
| class | ABCGenericMeshWriter |
| class | ABCMeshWriter |
| class | ABCNurbsWriter |
| class | ABCNurbsMeshWriter |
| class | ABCPointsWriter |
| class | ABCTransformWriter |
| struct | UVSample |
| struct | CDStreamConfig |
| class | ArchiveReader |
| class | AbcCameraReader |
| class | AbcCurveReader |
| struct | AbcMeshData |
| class | AbcMeshReader |
| class | AbcSubDReader |
| class | AbcNurbsReader |
| struct | ImportSettings |
| class | AbcObjectReader |
| class | AbcPointsReader |
| class | AbcEmptyReader |
| class | ScopeTimer |
| class | SimpleLogger |
| class | AlembicExportTest |
Typedefs | |
| using | index_time_pair_t = std::pair< Alembic::AbcCoreAbstract::index_t, float > |
Enumerations | |
| enum | AbcAxisSwapMode { ABC_ZUP_FROM_YUP = 1 , ABC_YUP_FROM_ZUP = 2 } |
| enum | AbcMatrixMode { ABC_MATRIX_WORLD = 1 , ABC_MATRIX_LOCAL = 2 } |
Functions | |
| static MetaData | create_abc_metadata (const Main *bmain, double scene_fps) |
| static OArchive * | create_archive (std::ofstream *abc_ostream, const std::string &filename, MetaData &abc_metadata) |
| static void | get_shutter_samples (double scene_fps, const AlembicExportParams ¶ms, int nr_of_samples, bool time_relative, std::vector< double > &r_samples) |
| static TimeSamplingPtr | create_time_sampling (double scene_fps, const AlembicExportParams ¶ms, int nr_of_samples) |
| static void | get_frames (double scene_fps, const AlembicExportParams ¶ms, unsigned int nr_of_samples, std::set< double > &r_frames) |
| static void | build_depsgraph (Depsgraph *depsgraph, const bool visible_objects_only) |
| static void | export_startjob (void *customdata, short *stop, short *do_update, float *progress) |
| static void | export_endjob (void *customdata) |
| const std::string | ABC_CURVE_RESOLUTION_U_PROPNAME ("blender:resolution") |
| static void | get_vertices (struct Mesh *mesh, std::vector< Imath::V3f > &points) |
| static void | get_topology (struct Mesh *mesh, std::vector< int32_t > &poly_verts, std::vector< int32_t > &loop_counts, bool &r_has_flat_shaded_poly) |
| static void | get_creases (struct Mesh *mesh, std::vector< int32_t > &indices, std::vector< int32_t > &lengths, std::vector< float > &sharpnesses) |
| static void | get_loop_normals (struct Mesh *mesh, std::vector< Imath::V3f > &normals, bool has_flat_shaded_poly) |
| static void | get_knots (std::vector< float > &knots, const int num_knots, float *nu_knots) |
| void | create_swapped_rotation_matrix (float rot_x_mat[3][3], float rot_y_mat[3][3], float rot_z_mat[3][3], const float euler[3], AbcAxisSwapMode mode) |
| void | copy_m44_axis_swap (float dst_mat[4][4], float src_mat[4][4], AbcAxisSwapMode mode) |
| void | create_transform_matrix (Object *obj, float r_yup_mat[4][4], AbcMatrixMode mode, Object *proxy_from) |
| BLI_INLINE void | copy_zup_from_yup (float zup[3], const float yup[3]) |
| BLI_INLINE void | copy_zup_from_yup (short zup[3], const short yup[3]) |
| BLI_INLINE void | copy_yup_from_zup (float yup[3], const float zup[3]) |
| BLI_INLINE void | copy_yup_from_zup (short yup[3], const short zup[3]) |
| static void | get_uvs (const CDStreamConfig &config, std::vector< Imath::V2f > &uvs, std::vector< uint32_t > &uvidx, void *cd_data) |
| const char * | get_uv_sample (UVSample &sample, const CDStreamConfig &config, CustomData *data) |
| static void | write_uv (const OCompoundProperty &prop, CDStreamConfig &config, void *data, const char *name) |
| static void | write_mcol (const OCompoundProperty &prop, const CDStreamConfig &config, void *data, const char *name) |
| void | write_custom_data (const OCompoundProperty &prop, CDStreamConfig &config, CustomData *data, int data_type) |
| static void | read_uvs (const CDStreamConfig &config, void *data, const Alembic::AbcGeom::V2fArraySamplePtr &uvs, const Alembic::AbcGeom::UInt32ArraySamplePtr &indices) |
| static size_t | mcols_out_of_bounds_check (const size_t color_index, const size_t array_size, const std::string &iobject_full_name, const PropertyHeader &prop_header, bool &r_is_out_of_bounds, bool &r_bounds_warning_given) |
| static void | read_custom_data_mcols (const std::string &iobject_full_name, const ICompoundProperty &arbGeomParams, const PropertyHeader &prop_header, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss) |
| static void | read_custom_data_uvs (const ICompoundProperty &prop, const PropertyHeader &prop_header, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss) |
| void | read_custom_data (const std::string &iobject_full_name, const ICompoundProperty &prop, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss) |
| static IArchive | open_archive (const std::string &filename, const std::vector< std::istream * > &input_streams) |
| static void | read_mverts_interp (MVert *mverts, const P3fArraySamplePtr &positions, const P3fArraySamplePtr &ceil_positions, const float weight) |
| static void | read_mverts (CDStreamConfig &config, const AbcMeshData &mesh_data) |
| void | read_mverts (MVert *mverts, const P3fArraySamplePtr positions, const N3fArraySamplePtr normals) |
| static void | read_mpolys (CDStreamConfig &config, const AbcMeshData &mesh_data) |
| static void | process_no_normals (CDStreamConfig &config) |
| static void | process_loop_normals (CDStreamConfig &config, const N3fArraySamplePtr loop_normals_ptr) |
| static void | process_vertex_normals (CDStreamConfig &config, const N3fArraySamplePtr vertex_normals_ptr) |
| static void | process_normals (CDStreamConfig &config, const IN3fGeomParam &normals, const ISampleSelector &selector) |
| BLI_INLINE void | read_uvs_params (CDStreamConfig &config, AbcMeshData &abc_data, const IV2fGeomParam &uv, const ISampleSelector &selector) |
| static void * | add_customdata_cb (Mesh *mesh, const char *name, int data_type) |
| static void | get_weight_and_index (CDStreamConfig &config, Alembic::AbcCoreAbstract::TimeSamplingPtr time_sampling, size_t samples_number) |
| static void | read_mesh_sample (const std::string &iobject_full_name, ImportSettings *settings, const IPolyMeshSchema &schema, const ISampleSelector &selector, CDStreamConfig &config) |
| CDStreamConfig | get_config (Mesh *mesh, const bool use_vertex_interpolation) |
| template<class typedGeomParam > | |
| bool | is_valid_animated (const ICompoundProperty arbGeomParams, const PropertyHeader &prop_header) |
| static bool | has_animated_geom_params (const ICompoundProperty arbGeomParams) |
| template<> | |
| bool | has_animations (Alembic::AbcGeom::IPolyMeshSchema &schema, ImportSettings *settings) |
| BLI_INLINE MEdge * | find_edge (MEdge *edges, int totedge, int v1, int v2) |
| static void | read_subd_sample (const std::string &iobject_full_name, ImportSettings *settings, const ISubDSchema &schema, const ISampleSelector &selector, CDStreamConfig &config) |
| void | read_mverts (MVert *mverts, const Alembic::AbcGeom::P3fArraySamplePtr positions, const Alembic::AbcGeom::N3fArraySamplePtr normals) |
| static bool | set_knots (const FloatArraySamplePtr &knots, float *&nu_knots) |
| static Imath::M44d | blend_matrices (const Imath::M44d &m0, const Imath::M44d &m1, const float weight) |
| Imath::M44d | get_matrix (const IXformSchema &schema, const float time) |
| template<typename Schema > | |
| static bool | has_animations (Schema &schema, ImportSettings *settings) |
| Imath::M44d | get_matrix (const Alembic::AbcGeom::IXformSchema &schema, const float time) |
| void | read_points_sample (const IPointsSchema &schema, const ISampleSelector &selector, CDStreamConfig &config) |
| void | read_points_sample (const Alembic::AbcGeom::IPointsSchema &schema, const Alembic::AbcGeom::ISampleSelector &selector, CDStreamConfig &config) |
| std::string | get_id_name (const Object *const ob) |
| std::string | get_id_name (const ID *const id) |
| std::string | get_valid_abc_name (const char *name) |
| std::string | get_object_dag_path_name (const Object *const ob, Object *dupli_parent) |
| get_object_dag_path_name returns the name under which the object will be exported in the Alembic file. It is of the form "[../grandparent/]parent/object" if dupli_parent is NULL, or "dupli_parent/[../grandparent/]parent/object" otherwise. More... | |
| Imath::M44d | convert_matrix_datatype (float mat[4][4]) |
| void | convert_matrix_datatype (const Imath::M44d &xform, float r_mat[4][4]) |
| void | split (const std::string &s, const char delim, std::vector< std::string > &tokens) |
| bool | has_property (const Alembic::Abc::ICompoundProperty &prop, const std::string &name) |
| float | get_weight_and_index (float time, const Alembic::AbcCoreAbstract::TimeSamplingPtr &time_sampling, int samples_number, Alembic::AbcGeom::index_t &i0, Alembic::AbcGeom::index_t &i1) |
| AbcObjectReader * | create_reader (const Alembic::AbcGeom::IObject &object, ImportSettings &settings) |
| std::ostream & | operator<< (std::ostream &os, const SimpleLogger &logger) |
| template<class TContainer > | |
| bool | begins_with (const TContainer &input, const TContainer &match) |
| template<typename Schema > | |
| void | get_min_max_time_ex (const Schema &schema, chrono_t &min, chrono_t &max) |
| template<typename Schema > | |
| void | get_min_max_time (const Alembic::AbcGeom::IObject &object, const Schema &schema, chrono_t &min, chrono_t &max) |
| TEST_F (AlembicExportTest, TimeSamplesFullShutterUniform) | |
| TEST_F (AlembicExportTest, TimeSamplesFullShutterDifferent) | |
| TEST_F (AlembicExportTest, TimeSamples180degShutter) | |
| TEST (abc_matrix, CreateRotationMatrixY_YfromZ) | |
| TEST (abc_matrix, CreateRotationMatrixZ_YfromZ) | |
| TEST (abc_matrix, CreateRotationMatrixXYZ_YfromZ) | |
| TEST (abc_matrix, CreateRotationMatrixXYZ_ZfromY) | |
| TEST (abc_matrix, CopyM44AxisSwap_YfromZ) | |
| TEST (abc_matrix, CopyM44AxisSwapWithScale_YfromZ) | |
| TEST (abc_matrix, CopyM44AxisSwap_ZfromY) | |
| TEST (abc_matrix, CopyM44AxisSwapWithScale_ZfromY) | |
| TEST (abc_matrix, CopyM44AxisSwapWithScale_gimbal_ZfromY) | |
Variables | |
| const std::string | ABC_CURVE_RESOLUTION_U_PROPNAME |
| using blender::io::alembic::index_time_pair_t = typedef std::pair<Alembic::AbcCoreAbstract::index_t, float> |
Definition at line 138 of file abc_util.cc.
| Enumerator | |
|---|---|
| ABC_ZUP_FROM_YUP | |
| ABC_YUP_FROM_ZUP | |
Definition at line 74 of file abc_axis_conversion.h.
| Enumerator | |
|---|---|
| ABC_MATRIX_WORLD | |
| ABC_MATRIX_LOCAL | |
Definition at line 89 of file abc_axis_conversion.h.
| const std::string blender::io::alembic::ABC_CURVE_RESOLUTION_U_PROPNAME | ( | "blender:resolution" | ) |
|
static |
Definition at line 378 of file abc_reader_mesh.cc.
References CD_DEFAULT, CD_MLOOPCOL, CD_MLOOPUV, CustomData_add_layer_named(), CustomData_get_layer_named(), ELEM, Mesh::ldata, mesh, and Mesh::totloop.
Referenced by get_config().
| bool blender::io::alembic::begins_with | ( | const TContainer & | input, |
| const TContainer & | match | ||
| ) |
Definition at line 56 of file abc_util.h.
|
static |
Definition at line 115 of file abc_reader_object.cc.
References interp_m4_m4m4(), and ret.
Referenced by get_matrix().
|
static |
Definition at line 68 of file abc_export_capi.cc.
References DEG_graph_build_for_all_objects(), DEG_graph_build_from_view_layer(), and depsgraph.
Referenced by export_startjob().
| void blender::io::alembic::convert_matrix_datatype | ( | const Imath::M44d & | xform, |
| float | r_mat[4][4] | ||
| ) |
Definition at line 106 of file abc_util.cc.
| Imath::M44d blender::io::alembic::convert_matrix_datatype | ( | float | mat[4][4] | ) |
Definition at line 93 of file abc_util.cc.
Referenced by blender::io::alembic::ABCTransformWriter::do_write(), and blender::io::alembic::AbcObjectReader::read_matrix().
| void blender::io::alembic::copy_m44_axis_swap | ( | float | dst_mat[4][4], |
| float | src_mat[4][4], | ||
| AbcAxisSwapMode | mode | ||
| ) |
Definition at line 80 of file abc_axis_conversion.cc.
References ABC_YUP_FROM_ZUP, ABC_ZUP_FROM_YUP, BLI_assert, copy_m4_m3(), copy_yup_from_zup(), copy_zup_from_yup(), create_swapped_rotation_matrix(), mat3_to_eulO(), mat4_to_loc_rot_size(), mul_m3_m3m3(), mul_m4_m4m4(), ROT_MODE_XZY, size_to_mat4(), unit_m3(), unit_m4(), and zero_v3().
Referenced by create_transform_matrix(), blender::io::alembic::ABCTransformWriter::do_write(), blender::io::alembic::AbcObjectReader::read_matrix(), and TEST().
| BLI_INLINE void blender::io::alembic::copy_yup_from_zup | ( | float | yup[3], |
| const float | zup[3] | ||
| ) |
Definition at line 56 of file abc_axis_conversion.h.
Referenced by copy_m44_axis_swap(), blender::io::alembic::ABCCurveWriter::do_write(), blender::io::alembic::ABCNurbsWriter::do_write(), get_loop_normals(), and get_vertices().
| BLI_INLINE void blender::io::alembic::copy_yup_from_zup | ( | short | yup[3], |
| const short | zup[3] | ||
| ) |
Definition at line 64 of file abc_axis_conversion.h.
| BLI_INLINE void blender::io::alembic::copy_zup_from_yup | ( | float | zup[3], |
| const float | yup[3] | ||
| ) |
Definition at line 38 of file abc_axis_conversion.h.
Referenced by ABC_read_velocity_cache(), copy_m44_axis_swap(), process_loop_normals(), process_vertex_normals(), blender::io::alembic::AbcCurveReader::read_curve_sample(), blender::io::alembic::AbcCurveReader::read_mesh(), read_mverts(), read_mverts_interp(), and blender::io::alembic::AbcNurbsReader::readObjectData().
| BLI_INLINE void blender::io::alembic::copy_zup_from_yup | ( | short | zup[3], |
| const short | yup[3] | ||
| ) |
Definition at line 46 of file abc_axis_conversion.h.
|
static |
Definition at line 50 of file abc_archive.cc.
References BKE_blender_version_string(), buffer, Main::name, time, and std::to_string().
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
|
static |
Definition at line 83 of file abc_archive.cc.
References BLI_strncpy(), FILE_MAX, UTF16_ENCODE, and UTF16_UN_ENCODE.
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
| AbcObjectReader * blender::io::alembic::create_reader | ( | const Alembic::AbcGeom::IObject & | object, |
| ImportSettings & | settings | ||
| ) |
Definition at line 174 of file abc_util.cc.
Referenced by CacheReader_open_alembic_object().
| void blender::io::alembic::create_swapped_rotation_matrix | ( | float | rot_x_mat[3][3], |
| float | rot_y_mat[3][3], | ||
| float | rot_z_mat[3][3], | ||
| const float | euler[3], | ||
| AbcAxisSwapMode | mode | ||
| ) |
Definition at line 30 of file abc_axis_conversion.cc.
References ABC_YUP_FROM_ZUP, ABC_ZUP_FROM_YUP, BLI_assert, KDL::cos(), KDL::sin(), and unit_m3().
Referenced by copy_m44_axis_swap(), and TEST().
|
static |
Definition at line 137 of file abc_archive.cc.
References get_shutter_samples(), and params.
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
| void blender::io::alembic::create_transform_matrix | ( | Object * | obj, |
| float | r_yup_mat[4][4], | ||
| AbcMatrixMode | mode, | ||
| Object * | proxy_from | ||
| ) |
Definition at line 144 of file abc_axis_conversion.cc.
References ABC_MATRIX_LOCAL, ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), copy_m4_m4(), Object::imat, invert_m4_m4(), mul_m4_m4m4(), Object::obmat, and Object::parent.
|
static |
Definition at line 184 of file abc_export_capi.cc.
References BLI_delete(), BLI_exists(), data, DEG_graph_free(), G, and WM_set_locked_interface().
Referenced by ABC_export().
|
static |
Definition at line 78 of file abc_export_capi.cc.
References BKE_scene_graph_update_for_newframe(), BKE_scene_graph_update_tagged(), build_depsgraph(), RenderData::cfra, CFRA, CLOG_ERROR, CLOG_INFO, data, DEG_get_input_scene(), blender::io::alembic::SubdivModifierDisabler::disable_modifiers(), G, blender::io::alembic::ABCHierarchyIterator::iterate_and_write(), LOG, max, Scene::r, blender::io::AbstractHierarchyIterator::release_writers(), RPT_ERROR, scene, blender::io::AbstractHierarchyIterator::set_export_subset(), RenderData::subframe, WM_report(), and WM_set_locked_interface().
Referenced by ABC_export().
| BLI_INLINE MEdge* blender::io::alembic::find_edge | ( | MEdge * | edges, |
| int | totedge, | ||
| int | v1, | ||
| int | v2 | ||
| ) |
Definition at line 769 of file abc_reader_mesh.cc.
References e, v1, MEdge::v1, v2, and MEdge::v2.
Referenced by blender::io::alembic::AbcSubDReader::readObjectData().
| CDStreamConfig blender::io::alembic::get_config | ( | Mesh * | mesh, |
| const bool | use_vertex_interpolation | ||
| ) |
Definition at line 454 of file abc_reader_mesh.cc.
References add_customdata_cb(), blender::io::alembic::CDStreamConfig::add_customdata_cb, BLI_assert, Mesh::ldata, blender::io::alembic::CDStreamConfig::loopdata, mesh, blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::CDStreamConfig::mloop, Mesh::mloop, blender::io::alembic::CDStreamConfig::mpoly, Mesh::mpoly, blender::io::alembic::CDStreamConfig::mvert, Mesh::mvert, blender::io::alembic::CDStreamConfig::totloop, Mesh::totloop, blender::io::alembic::CDStreamConfig::totpoly, Mesh::totpoly, Mesh::totvert, and blender::io::alembic::CDStreamConfig::use_vertex_interpolation.
Referenced by blender::io::alembic::AbcSubDReader::read_mesh(), blender::io::alembic::AbcPointsReader::read_mesh(), and blender::io::alembic::AbcMeshReader::read_mesh().
|
static |
Definition at line 491 of file abc_writer_mesh.cc.
References MEdge::crease, e, indices, Mesh::medge, mesh, Mesh::totedge, v1, and v2.
|
static |
Definition at line 153 of file abc_archive.cc.
References get_shutter_samples(), and params.
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
| std::string blender::io::alembic::get_id_name | ( | const ID *const | id | ) |
Definition at line 52 of file abc_util.cc.
References get_valid_abc_name(), id, and ID::name.
| std::string blender::io::alembic::get_id_name | ( | const Object *const | ob | ) |
Definition at line 43 of file abc_util.cc.
References Object::id.
Referenced by get_object_dag_path_name().
|
static |
Definition at line 104 of file abc_writer_nurbs.cc.
Referenced by blender::io::alembic::ABCNurbsWriter::do_write().
|
static |
Definition at line 517 of file abc_writer_mesh.cc.
References BKE_mesh_calc_normals_split(), BLI_assert, CD_CUSTOMLOOPNORMAL, CD_NORMAL, copy_yup_from_zup(), CustomData_get_layer(), CustomData_has_layer(), e, Mesh::flag, float(), Mesh::ldata, MPoly::loopstart, ME_AUTOSMOOTH, mesh, Mesh::mpoly, normals, Mesh::totloop, MPoly::totloop, and Mesh::totpoly.
| Imath::M44d blender::io::alembic::get_matrix | ( | const Alembic::AbcGeom::IXformSchema & | schema, |
| const float | time | ||
| ) |
| Imath::M44d blender::io::alembic::get_matrix | ( | const IXformSchema & | schema, |
| const float | time | ||
| ) |
Definition at line 149 of file abc_reader_object.cc.
References blend_matrices(), get_weight_and_index(), i1, and time.
Referenced by blender::io::alembic::AbcObjectReader::read_matrix().
| void blender::io::alembic::get_min_max_time | ( | const Alembic::AbcGeom::IObject & | object, |
| const Schema & | schema, | ||
| chrono_t & | min, | ||
| chrono_t & | max | ||
| ) |
Definition at line 80 of file abc_util.h.
References get_min_max_time_ex(), max, and min.
Referenced by blender::io::alembic::AbcCameraReader::AbcCameraReader(), blender::io::alembic::AbcCurveReader::AbcCurveReader(), blender::io::alembic::AbcEmptyReader::AbcEmptyReader(), blender::io::alembic::AbcMeshReader::AbcMeshReader(), blender::io::alembic::AbcNurbsReader::AbcNurbsReader(), blender::io::alembic::AbcPointsReader::AbcPointsReader(), and blender::io::alembic::AbcSubDReader::AbcSubDReader().
| void blender::io::alembic::get_min_max_time_ex | ( | const Schema & | schema, |
| chrono_t & | min, | ||
| chrono_t & | max | ||
| ) |
Definition at line 62 of file abc_util.h.
Referenced by get_min_max_time().
| std::string blender::io::alembic::get_object_dag_path_name | ( | const Object *const | ob, |
| Object * | dupli_parent | ||
| ) |
get_object_dag_path_name returns the name under which the object will be exported in the Alembic file. It is of the form "[../grandparent/]parent/object" if dupli_parent is NULL, or "dupli_parent/[../grandparent/]parent/object" otherwise.
| ob | |
| dupli_parent |
Definition at line 75 of file abc_util.cc.
References get_id_name(), and Object::parent.
|
static |
Definition at line 116 of file abc_archive.cc.
References params, blender::compositor::sample(), and time.
Referenced by create_time_sampling(), and get_frames().
|
static |
Definition at line 460 of file abc_writer_mesh.cc.
References MPoly::flag, MPoly::loopstart, ME_SMOOTH, mesh, Mesh::mloop, Mesh::mpoly, Mesh::totloop, MPoly::totloop, Mesh::totpoly, and MLoop::v.
| const char * blender::io::alembic::get_uv_sample | ( | UVSample & | sample, |
| const CDStreamConfig & | config, | ||
| CustomData * | data | ||
| ) |
Definition at line 127 of file abc_customdata.cc.
References CD_MLOOPUV, CustomData_get_active_layer(), CustomData_get_layer_n(), CustomData_get_layer_name(), data, get_uvs(), and blender::compositor::sample().
|
static |
Definition at line 55 of file abc_customdata.cc.
References MPoly::loopstart, blender::io::alembic::CDStreamConfig::mloop, blender::io::alembic::CDStreamConfig::mpoly, blender::io::alembic::CDStreamConfig::pack_uvs, blender::io::alembic::CDStreamConfig::totloop, MPoly::totloop, blender::io::alembic::CDStreamConfig::totpoly, blender::io::alembic::CDStreamConfig::totvert, MLoopUV::uv, and MLoop::v.
Referenced by get_uv_sample(), and write_uv().
| std::string blender::io::alembic::get_valid_abc_name | ( | const char * | name | ) |
Definition at line 57 of file abc_util.cc.
Referenced by get_id_name().
|
static |
Definition at line 448 of file abc_writer_mesh.cc.
References copy_yup_from_zup(), e, mesh, Mesh::mvert, Mesh::totvert, and verts.
|
static |
Definition at line 403 of file abc_reader_mesh.cc.
References blender::io::alembic::CDStreamConfig::ceil_index, i1, blender::io::alembic::CDStreamConfig::index, blender::io::alembic::CDStreamConfig::time, and blender::io::alembic::CDStreamConfig::weight.
Referenced by get_matrix(), read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 502 of file abc_reader_mesh.cc.
Referenced by has_animations().
| bool blender::io::alembic::has_animations | ( | Alembic::AbcGeom::IPolyMeshSchema & | schema, |
| ImportSettings * | settings | ||
| ) |
Definition at line 525 of file abc_reader_mesh.cc.
References has_animated_geom_params(), and blender::io::alembic::ImportSettings::is_sequence.
Referenced by blender::io::alembic::AbcCurveReader::readObjectData(), blender::io::alembic::AbcSubDReader::readObjectData(), blender::io::alembic::AbcPointsReader::readObjectData(), and blender::io::alembic::AbcMeshReader::readObjectData().
|
static |
Definition at line 73 of file abc_reader_object.h.
References blender::io::alembic::ImportSettings::is_sequence.
| bool blender::io::alembic::has_property | ( | const Alembic::Abc::ICompoundProperty & | prop, |
| const std::string & | name | ||
| ) |
Definition at line 129 of file abc_util.cc.
Referenced by gather_objects_paths(), get_property_header(), get_velocity_prop(), read_points_sample(), blender::io::alembic::AbcNurbsReader::readObjectData(), and visit_object().
| bool blender::io::alembic::is_valid_animated | ( | const ICompoundProperty | arbGeomParams, |
| const PropertyHeader & | prop_header | ||
| ) |
Definition at line 492 of file abc_reader_mesh.cc.
|
static |
Definition at line 294 of file abc_customdata.cc.
Referenced by read_custom_data_mcols().
|
static |
Definition at line 44 of file abc_reader_archive.cc.
References e.
Referenced by blender::io::alembic::ArchiveReader::ArchiveReader().
| std::ostream & blender::io::alembic::operator<< | ( | std::ostream & | os, |
| const SimpleLogger & | logger | ||
| ) |
Pass the content of the logger's stream to the specified std::ostream.
Definition at line 256 of file abc_util.cc.
References blender::io::alembic::SimpleLogger::str().
|
static |
Definition at line 259 of file abc_reader_mesh.cc.
References BKE_mesh_set_custom_normals(), copy_zup_from_yup(), e, Mesh::flag, float(), MPoly::loopstart, ME_AUTOSMOOTH, MEM_freeN, MEM_malloc_arrayN, mesh, blender::io::alembic::CDStreamConfig::mesh, Mesh::mpoly, process_no_normals(), Mesh::totloop, MPoly::totloop, and Mesh::totpoly.
Referenced by process_normals().
|
static |
Definition at line 253 of file abc_reader_mesh.cc.
References BKE_mesh_calc_normals(), and blender::io::alembic::CDStreamConfig::mesh.
Referenced by process_loop_normals(), process_normals(), process_vertex_normals(), and read_subd_sample().
|
static |
Definition at line 320 of file abc_reader_mesh.cc.
References normals, process_loop_normals(), process_no_normals(), and process_vertex_normals().
Referenced by read_mesh_sample().
|
static |
Definition at line 298 of file abc_reader_mesh.cc.
References BKE_mesh_set_custom_normals_from_vertices(), copy_zup_from_yup(), Mesh::flag, float(), ME_AUTOSMOOTH, MEM_freeN, MEM_malloc_arrayN, blender::io::alembic::CDStreamConfig::mesh, and process_no_normals().
Referenced by process_normals().
| void blender::io::alembic::read_custom_data | ( | const std::string & | iobject_full_name, |
| const ICompoundProperty & | prop, | ||
| const CDStreamConfig & | config, | ||
| const Alembic::Abc::ISampleSelector & | iss | ||
| ) |
Definition at line 451 of file abc_customdata.cc.
References MAX_MCOL, MAX_MTFACE, read_custom_data_mcols(), and read_custom_data_uvs().
Referenced by read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 315 of file abc_customdata.cc.
References MCol::a, blender::io::alembic::CDStreamConfig::add_customdata_cb, MCol::b, BLI_assert, CD_MLOOPCOL, MCol::g, indices, MPoly::loopstart, mcols_out_of_bounds_check(), blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::CDStreamConfig::mloop, blender::io::alembic::CDStreamConfig::mpoly, MCol::r, blender::compositor::sample(), STREQ, blender::io::alembic::CDStreamConfig::totloop, MPoly::totloop, blender::io::alembic::CDStreamConfig::totpoly, unit_float_to_uchar_clamp(), and MLoop::v.
Referenced by read_custom_data().
|
static |
Definition at line 428 of file abc_customdata.cc.
References blender::io::alembic::CDStreamConfig::add_customdata_cb, CD_MLOOPUV, blender::io::alembic::CDStreamConfig::mesh, read_uvs(), and blender::compositor::sample().
Referenced by read_custom_data().
|
static |
Definition at line 415 of file abc_reader_mesh.cc.
References blender::io::alembic::CDStreamConfig::ceil_index, blender::io::alembic::AbcMeshData::ceil_positions, blender::io::alembic::AbcMeshData::face_counts, blender::io::alembic::AbcMeshData::face_indices, get_weight_and_index(), MOD_MESHSEQ_READ_COLOR, MOD_MESHSEQ_READ_POLY, MOD_MESHSEQ_READ_UV, MOD_MESHSEQ_READ_VERT, blender::io::alembic::AbcMeshData::positions, process_normals(), read_custom_data(), blender::io::alembic::ImportSettings::read_flag, read_mpolys(), read_mverts(), read_uvs_params(), blender::compositor::sample(), and blender::io::alembic::CDStreamConfig::weight.
Referenced by blender::io::alembic::AbcMeshReader::read_mesh().
|
static |
Definition at line 182 of file abc_reader_mesh.cc.
References BKE_mesh_calc_edges(), BKE_mesh_validate(), blender::io::alembic::AbcMeshData::face_counts, blender::io::alembic::AbcMeshData::face_indices, MPoly::flag, MPoly::loopstart, ME_SMOOTH, blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::CDStreamConfig::mloop, blender::io::alembic::CDStreamConfig::mloopuv, blender::io::alembic::CDStreamConfig::modifier_error_message, blender::io::alembic::CDStreamConfig::mpoly, MPoly::totloop, MLoopUV::uv, blender::io::alembic::AbcMeshData::uvs, blender::io::alembic::AbcMeshData::uvs_indices, and MLoop::v.
Referenced by read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 146 of file abc_reader_mesh.cc.
References blender::io::alembic::AbcMeshData::ceil_positions, blender::io::alembic::CDStreamConfig::mvert, blender::io::alembic::AbcMeshData::positions, read_mverts_interp(), blender::io::alembic::CDStreamConfig::use_vertex_interpolation, and blender::io::alembic::CDStreamConfig::weight.
Referenced by read_mesh_sample(), read_points_sample(), and read_subd_sample().
| void blender::io::alembic::read_mverts | ( | MVert * | mverts, |
| const Alembic::AbcGeom::P3fArraySamplePtr | positions, | ||
| const Alembic::AbcGeom::N3fArraySamplePtr | normals | ||
| ) |
| void blender::io::alembic::read_mverts | ( | MVert * | mverts, |
| const P3fArraySamplePtr | positions, | ||
| const N3fArraySamplePtr | normals | ||
| ) |
Definition at line 161 of file abc_reader_mesh.cc.
References MVert::bweight, MVert::co, copy_zup_from_yup(), MVert::no, normal_float_to_short_v3(), and normals.
|
static |
Definition at line 128 of file abc_reader_mesh.cc.
References MVert::bweight, MVert::co, copy_zup_from_yup(), and interp_v3_v3v3().
Referenced by read_mverts().
| void blender::io::alembic::read_points_sample | ( | const Alembic::AbcGeom::IPointsSchema & | schema, |
| const Alembic::AbcGeom::ISampleSelector & | selector, | ||
| CDStreamConfig & | config | ||
| ) |
| void blender::io::alembic::read_points_sample | ( | const IPointsSchema & | schema, |
| const ISampleSelector & | selector, | ||
| CDStreamConfig & | config | ||
| ) |
Definition at line 103 of file abc_reader_points.cc.
References has_property(), blender::io::alembic::CDStreamConfig::mvert, read_mverts(), and blender::compositor::sample().
Referenced by blender::io::alembic::AbcPointsReader::read_mesh().
|
static |
Definition at line 782 of file abc_reader_mesh.cc.
References blender::io::alembic::CDStreamConfig::ceil_index, blender::io::alembic::AbcMeshData::ceil_positions, blender::io::alembic::AbcMeshData::face_counts, blender::io::alembic::AbcMeshData::face_indices, get_weight_and_index(), MOD_MESHSEQ_READ_COLOR, MOD_MESHSEQ_READ_POLY, MOD_MESHSEQ_READ_UV, MOD_MESHSEQ_READ_VERT, blender::io::alembic::AbcMeshData::positions, process_no_normals(), read_custom_data(), blender::io::alembic::ImportSettings::read_flag, read_mpolys(), read_mverts(), read_uvs_params(), blender::compositor::sample(), and blender::io::alembic::CDStreamConfig::weight.
Referenced by blender::io::alembic::AbcSubDReader::read_mesh().
|
static |
Definition at line 267 of file abc_customdata.cc.
References data, MPoly::loopstart, blender::io::alembic::CDStreamConfig::mpoly, MPoly::totloop, blender::io::alembic::CDStreamConfig::totpoly, and MLoopUV::uv.
Referenced by read_custom_data_uvs().
| BLI_INLINE void blender::io::alembic::read_uvs_params | ( | CDStreamConfig & | config, |
| AbcMeshData & | abc_data, | ||
| const IV2fGeomParam & | uv, | ||
| const ISampleSelector & | selector | ||
| ) |
Definition at line 348 of file abc_reader_mesh.cc.
References blender::io::alembic::CDStreamConfig::add_customdata_cb, CD_MLOOPUV, blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::CDStreamConfig::mloopuv, blender::io::alembic::CDStreamConfig::totloop, blender::io::alembic::AbcMeshData::uvs, and blender::io::alembic::AbcMeshData::uvs_indices.
Referenced by read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 74 of file abc_reader_nurbs.cc.
References MEM_callocN.
Referenced by blender::io::alembic::AbcNurbsReader::readObjectData().
| void blender::io::alembic::split | ( | const std::string & | s, |
| const char | delim, | ||
| std::vector< std::string > & | tokens | ||
| ) |
Definition at line 115 of file abc_util.cc.
Referenced by Freestyle::__recursiveSplit(), blender::io::alembic::AbcObjectReader::AbcObjectReader(), adduplicateflagNurb(), area_split(), bchunk_list_ensure_min_size_last(), BKE_unit_value_as_string_adaptive(), block_create__close_file_dialog(), block_create_autorun_warning(), BM_edgeloop_expand(), BVHBuild::build_node(), colorband_buttons_layout(), create_edge_from_corner(), create_split_edge_from_corner(), curve_delete_segments(), curvemap_buttons_layout(), draw_socket_list(), ed_preview_draw_rect(), find_iobject(), generator_panel_draw(), get_dface(), graph_panel_key_properties(), MOD_solidify_nonmanifold_modifyMesh(), node_buts_image_user(), node_composit_buts_colorbalance(), node_shader_buts_tangent(), node_sockets_panel(), p_node_new(), remap_faces_15(), remap_faces_19_21_22(), remap_faces_23(), remap_faces_3_6_9_12(), remap_faces_5_10(), remap_faces_7_11_13_14(), remap_uvs_15(), remap_uvs_19_21_22(), remap_uvs_23(), remap_uvs_3_6_9_12(), remap_uvs_5_10(), remap_uvs_7_11_13_14(), remdoubles_splitface(), shader_preview_render(), sound_mixdown_exec(), Mesh::tessellate(), ui_def_but_rna__menu(), ui_litem_layout_split(), ui_template_node_link_menu(), uiItemsEnumR(), uiItemsFullEnumO_items(), uiLayoutSplit(), uiTemplateAnyID(), uiTemplateMovieClip(), undo_history_invoke(), unit_as_string_main(), v3d_transform_butsR(), and view3d_panel_vgroup().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwap_YfromZ | |||
| ) |
Definition at line 145 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwap_ZfromY | |||
| ) |
Definition at line 205 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwapWithScale_gimbal_ZfromY | |||
| ) |
Definition at line 261 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwapWithScale_YfromZ | |||
| ) |
Definition at line 176 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwapWithScale_ZfromY | |||
| ) |
Definition at line 232 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixXYZ_YfromZ | |||
| ) |
Definition at line 65 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, create_swapped_rotation_matrix(), and unit_m3().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixXYZ_ZfromY | |||
| ) |
Definition at line 105 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, create_swapped_rotation_matrix(), and unit_m3().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixY_YfromZ | |||
| ) |
Definition at line 11 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, create_swapped_rotation_matrix(), M_PI_4, M_SQRT1_2, and unit_m3().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixZ_YfromZ | |||
| ) |
Definition at line 38 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, create_swapped_rotation_matrix(), M_PI_4, M_SQRT1_2, and unit_m3().
| blender::io::alembic::TEST_F | ( | AlembicExportTest | , |
| TimeSamples180degShutter | |||
| ) |
Definition at line 137 of file abc_export_test.cc.
References e, EXPECT_EQ(), and params.
| blender::io::alembic::TEST_F | ( | AlembicExportTest | , |
| TimeSamplesFullShutterDifferent | |||
| ) |
Definition at line 99 of file abc_export_test.cc.
References e, EXPECT_EQ(), and params.
| blender::io::alembic::TEST_F | ( | AlembicExportTest | , |
| TimeSamplesFullShutterUniform | |||
| ) |
Definition at line 71 of file abc_export_test.cc.
References e, EXPECT_EQ(), and params.
| void blender::io::alembic::write_custom_data | ( | const OCompoundProperty & | prop, |
| CDStreamConfig & | config, | ||
| CustomData * | data, | ||
| int | data_type | ||
| ) |
Definition at line 225 of file abc_customdata.cc.
References CD_MLOOPCOL, CD_MLOOPUV, CustomData_get_active_layer(), CustomData_get_layer_n(), CustomData_get_layer_name(), CustomData_has_layer(), CustomData_number_of_layers(), data, write_mcol(), and write_uv().
|
static |
Definition at line 179 of file abc_customdata.cc.
References MCol::a, MCol::b, buffer, col, data, MCol::g, indices, MPoly::loopstart, blender::io::alembic::CDStreamConfig::mloop, blender::io::alembic::CDStreamConfig::mpoly, MCol::r, blender::compositor::sample(), MPoly::totloop, blender::io::alembic::CDStreamConfig::totpoly, and blender::io::alembic::CDStreamConfig::totvert.
Referenced by write_custom_data().
|
static |
Definition at line 147 of file abc_customdata.cc.
References blender::io::alembic::CDStreamConfig::abc_uv_maps, data, get_uvs(), indices, and blender::compositor::sample().
Referenced by write_custom_data().
|
extern |