|
Blender
V3.3
|
#include <abc_reader_points.h>
Public Member Functions | |
| AbcPointsReader (const Alembic::Abc::IObject &object, ImportSettings &settings) | |
| bool | valid () const override |
| bool | accepts_object_type (const Alembic::AbcCoreAbstract::ObjectHeader &alembic_header, const Object *const ob, const char **err_str) const override |
| void | readObjectData (Main *bmain, const Alembic::Abc::ISampleSelector &sample_sel) override |
| struct Mesh * | read_mesh (struct Mesh *existing_mesh, const Alembic::Abc::ISampleSelector &sample_sel, int read_flag, const char *velocity_name, float velocity_scale, const char **err_str) override |
Public Member Functions inherited from blender::io::alembic::AbcObjectReader | |
| AbcObjectReader (const Alembic::Abc::IObject &object, ImportSettings &settings) | |
| virtual | ~AbcObjectReader ()=default |
| const Alembic::Abc::IObject & | iobject () const |
| virtual Alembic::AbcGeom::IXform | xform () |
| Object * | object () const |
| void | object (Object *ob) |
| const std::string & | name () const |
| const std::string & | object_name () const |
| const std::string & | data_name () const |
| bool | inherits_xform () const |
| virtual bool | topology_changed (const Mesh *existing_mesh, const Alembic::Abc::ISampleSelector &sample_sel) |
| void | setupObjectTransform (chrono_t time) |
| void | addCacheModifier () |
| chrono_t | minTime () const |
| chrono_t | maxTime () const |
| int | refcount () const |
| void | incref () |
| void | decref () |
| void | read_matrix (float r_mat[4][4], chrono_t time, float scale, bool &is_constant) |
Additional Inherited Members | |
Public Types inherited from blender::io::alembic::AbcObjectReader | |
| typedef std::vector< AbcObjectReader * > | ptr_vector |
Public Attributes inherited from blender::io::alembic::AbcObjectReader | |
| AbcObjectReader * | parent_reader |
Protected Member Functions inherited from blender::io::alembic::AbcObjectReader | |
| void | determine_inherits_xform () |
Protected Attributes inherited from blender::io::alembic::AbcObjectReader | |
| std::string | m_name |
| std::string | m_object_name |
| std::string | m_data_name |
| Object * | m_object |
| Alembic::Abc::IObject | m_iobject |
| ImportSettings * | m_settings |
| chrono_t | m_min_time |
| chrono_t | m_max_time |
| int | m_refcount |
| bool | m_inherits_xform |
Definition at line 14 of file abc_reader_points.h.
| blender::io::alembic::AbcPointsReader::AbcPointsReader | ( | const Alembic::Abc::IObject & | object, |
| ImportSettings & | settings | ||
| ) |
Definition at line 33 of file abc_reader_points.cc.
References blender::io::alembic::get_min_max_time(), blender::io::alembic::AbcObjectReader::m_iobject, blender::io::alembic::AbcObjectReader::m_max_time, and blender::io::alembic::AbcObjectReader::m_min_time.
|
overridevirtual |
Implements blender::io::alembic::AbcObjectReader.
Definition at line 46 of file abc_reader_points.cc.
References OB_MESH, and Object::type.
|
overridevirtual |
Reimplemented from blender::io::alembic::AbcObjectReader.
Definition at line 111 of file abc_reader_points.cc.
References BKE_mesh_new_nomain(), blender::io::alembic::get_config(), blender::io::alembic::AbcObjectReader::m_iobject, MOD_MESHSEQ_INTERPOLATE_VERTICES, positions, blender::io::alembic::read_points_sample(), sample, and Mesh::totvert.
Referenced by readObjectData().
|
overridevirtual |
Implements blender::io::alembic::AbcObjectReader.
Definition at line 66 of file abc_reader_points.cc.
References blender::io::alembic::AbcObjectReader::addCacheModifier(), blender::io::alembic::ImportSettings::always_add_cache_reader, BKE_mesh_add(), BKE_mesh_nomain_to_mesh(), BKE_mesh_validate(), BKE_object_add_only_object(), CD_MASK_MESH, Object::data, blender::io::alembic::has_animations(), blender::io::alembic::AbcObjectReader::m_data_name, blender::io::alembic::AbcObjectReader::m_object, blender::io::alembic::AbcObjectReader::m_object_name, blender::io::alembic::AbcObjectReader::m_settings, mesh, OB_MESH, read_mesh(), and blender::io::alembic::ImportSettings::validate_meshes.
|
overridevirtual |
Implements blender::io::alembic::AbcObjectReader.
Definition at line 41 of file abc_reader_points.cc.