30 using Alembic::Abc::ISampleSelector;
41 Alembic::AbcGeom::IXform
xform(
object, Alembic::AbcGeom::kWrapExisting);
42 m_schema =
xform.getSchema();
49 return m_schema.valid();
53 const Alembic::AbcCoreAbstract::ObjectHeader &alembic_header,
55 const char **err_str)
const
57 if (!Alembic::AbcGeom::IXform::matches(alembic_header)) {
59 "Object type mismatch, Alembic object path pointed to XForm when importing, but not any "
65 *err_str =
"Object type mismatch, Alembic object path points to XForm.";
General operations, lookup, etc. for blender objects.
struct Object * BKE_object_add_only_object(struct Main *bmain, int type, const char *name) ATTR_NONNULL(1) ATTR_RETURNS_NONNULL
Object is a sort of wrapper for general info.
bool accepts_object_type(const Alembic::AbcCoreAbstract::ObjectHeader &alembic_header, const Object *const ob, const char **err_str) const
AbcEmptyReader(const Alembic::Abc::IObject &object, ImportSettings &settings)
void readObjectData(Main *bmain, const Alembic::Abc::ISampleSelector &sample_sel)
std::string m_object_name
Alembic::Abc::IObject m_iobject
virtual Alembic::AbcGeom::IXform xform()
void get_min_max_time(const Alembic::AbcGeom::IObject &object, const Schema &schema, chrono_t &min, chrono_t &max)