Changeset View
Changeset View
Standalone View
Standalone View
source/blender/alembic/intern/abc_transform.h
| Show All 31 Lines | |||||
| class AbcTransformWriter : public AbcObjectWriter { | class AbcTransformWriter : public AbcObjectWriter { | ||||
| Alembic::AbcGeom::OXform m_xform; | Alembic::AbcGeom::OXform m_xform; | ||||
| Alembic::AbcGeom::OXformSchema m_schema; | Alembic::AbcGeom::OXformSchema m_schema; | ||||
| Alembic::AbcGeom::XformSample m_sample; | Alembic::AbcGeom::XformSample m_sample; | ||||
| Alembic::AbcGeom::OVisibilityProperty m_visibility; | Alembic::AbcGeom::OVisibilityProperty m_visibility; | ||||
| Alembic::Abc::M44d m_matrix; | Alembic::Abc::M44d m_matrix; | ||||
| bool m_is_animated; | bool m_is_animated; | ||||
| Object *m_parent; | |||||
| bool m_visible; | bool m_visible; | ||||
| public: | public: | ||||
| AbcTransformWriter(Object *ob, | AbcTransformWriter(Object *ob, | ||||
| const Alembic::AbcGeom::OObject &abc_parent, | const Alembic::AbcGeom::OObject &abc_parent, | ||||
| AbcTransformWriter *parent, | AbcTransformWriter *parent, | ||||
| unsigned int time_sampling, | unsigned int time_sampling, | ||||
| ExportSettings &settings); | ExportSettings &settings); | ||||
| Alembic::AbcGeom::OXform &alembicXform() { return m_xform;} | Alembic::AbcGeom::OXform &alembicXform() { return m_xform;} | ||||
| virtual Imath::Box3d bounds(); | virtual Imath::Box3d bounds(); | ||||
| void setParent(Object *p) { m_parent = p; } | |||||
| private: | private: | ||||
| virtual void do_write(); | virtual void do_write(); | ||||
| bool hasAnimation(Object *ob) const; | bool hasAnimation(Object *ob) const; | ||||
| }; | }; | ||||
| /* ************************************************************************** */ | /* ************************************************************************** */ | ||||
| Show All 13 Lines | |||||