Blender V4.3
blender::io::alembic::AbcMeshReader Class Referencefinal

#include <abc_reader_mesh.h>

Inherits blender::io::alembic::AbcObjectReader.

Public Member Functions

 AbcMeshReader (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 **r_err_str) const override
 
void readObjectData (Main *bmain, const Alembic::Abc::ISampleSelector &sample_sel) override
 
struct Meshread_mesh (struct Mesh *existing_mesh, const Alembic::Abc::ISampleSelector &sample_sel, int read_flag, const char *velocity_name, float velocity_scale, const char **r_err_str)
 
void read_geometry (bke::GeometrySet &geometry_set, const Alembic::Abc::ISampleSelector &sample_sel, int read_flag, const char *velocity_name, float velocity_scale, const char **r_err_str) override
 
bool topology_changed (const Mesh *existing_mesh, const Alembic::Abc::ISampleSelector &sample_sel) 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 ()
 
Objectobject () 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
 
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
AbcObjectReaderparent_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
 
Objectm_object
 
Alembic::Abc::IObject m_iobject
 
ImportSettingsm_settings
 
bool m_is_reading_a_file_sequence = false
 
chrono_t m_min_time
 
chrono_t m_max_time
 
int m_refcount
 
bool m_inherits_xform
 

Detailed Description

Definition at line 21 of file abc_reader_mesh.h.

Constructor & Destructor Documentation

◆ AbcMeshReader()

Member Function Documentation

◆ accepts_object_type()

bool blender::io::alembic::AbcMeshReader::accepts_object_type ( const Alembic::AbcCoreAbstract::ObjectHeader & alembic_header,
const Object *const ob,
const char ** r_err_str ) const
overridevirtual

Implements blender::io::alembic::AbcObjectReader.

Definition at line 603 of file abc_reader_mesh.cc.

References OB_MESH, RPT_, and Object::type.

◆ read_geometry()

void blender::io::alembic::AbcMeshReader::read_geometry ( bke::GeometrySet & geometry_set,
const Alembic::Abc::ISampleSelector & sample_sel,
int read_flag,
const char * velocity_name,
float velocity_scale,
const char ** r_err_str )
overridevirtual

◆ read_mesh()

◆ readObjectData()

◆ topology_changed()

bool blender::io::alembic::AbcMeshReader::topology_changed ( const Mesh * existing_mesh,
const Alembic::Abc::ISampleSelector & sample_sel )
overridevirtual

◆ valid()

bool blender::io::alembic::AbcMeshReader::valid ( ) const
overridevirtual

Implements blender::io::alembic::AbcObjectReader.

Definition at line 517 of file abc_reader_mesh.cc.


The documentation for this class was generated from the following files: