|
Blender V5.0
|
#include <abc_writer_mesh.h>
Inherits blender::io::alembic::ABCAbstractWriter.
Inherited by blender::io::alembic::ABCCurveMeshWriter, blender::io::alembic::ABCMeshWriter, blender::io::alembic::ABCMetaballWriter, and blender::io::alembic::ABCNurbsMeshWriter.
Public Member Functions | |
| ABCGenericMeshWriter (const ABCWriterConstructorArgs &args) | |
| void | create_alembic_objects (const HierarchyContext *context) override |
| Alembic::Abc::OObject | get_alembic_object () const override |
| Alembic::Abc::OCompoundProperty | abc_prop_for_custom_props () override |
| Public Member Functions inherited from blender::io::alembic::ABCAbstractWriter | |
| ABCAbstractWriter (const ABCWriterConstructorArgs &args) | |
| void | write (HierarchyContext &context) override |
| uint32_t | timesample_index () const |
| const Imath::Box3d & | bounding_box () const |
| Public Member Functions inherited from blender::io::AbstractHierarchyWriter | |
| virtual | ~AbstractHierarchyWriter ()=default |
Protected Member Functions | |
| bool | is_supported (const HierarchyContext *context) const override |
| void | do_write (HierarchyContext &context) override |
| virtual Mesh * | get_export_mesh (Object *object_eval, bool &r_needsfree)=0 |
| virtual void | free_export_mesh (Mesh *mesh) |
| virtual bool | export_as_subdivision_surface (Object *ob_eval) const |
| Protected Member Functions inherited from blender::io::alembic::ABCAbstractWriter | |
| virtual void | update_bounding_box (Object *object) |
| virtual const IDProperty * | get_id_properties (const HierarchyContext &context) const |
| virtual void | ensure_custom_properties_exporter (const HierarchyContext &context) |
| void | write_visibility (const HierarchyContext &context) |
| template<typename T> | |
| Alembic::Abc::OCompoundProperty | abc_schema_prop_for_custom_props (T abc_schema) |
| Protected Member Functions inherited from blender::io::AbstractHierarchyWriter | |
| virtual bool | check_is_animated (const HierarchyContext &context) const |
Additional Inherited Members | |
| Static Protected Member Functions inherited from blender::io::AbstractHierarchyWriter | |
| static bool | check_has_physics (const HierarchyContext &context) |
| static bool | check_has_deforming_physics (const HierarchyContext &context) |
| Protected Attributes inherited from blender::io::alembic::ABCAbstractWriter | |
| const ABCWriterConstructorArgs | args_ |
| bool | frame_has_been_written_ |
| bool | is_animated_ |
| uint32_t | timesample_index_ |
| Imath::Box3d | bounding_box_ |
| Alembic::Abc::OCharProperty | abc_visibility_ |
| std::unique_ptr< CustomPropertiesExporter > | custom_props_ |
Definition at line 21 of file abc_writer_mesh.h.
|
explicit |
Definition at line 69 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCAbstractWriter::ABCAbstractWriter(), and false.
Referenced by blender::io::alembic::ABCCurveMeshWriter::ABCCurveMeshWriter(), blender::io::alembic::ABCMeshWriter::ABCMeshWriter(), and blender::io::alembic::ABCMetaballWriter::ABCMetaballWriter().
|
overridevirtual |
Implements blender::io::alembic::ABCAbstractWriter.
Definition at line 104 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCAbstractWriter::abc_schema_prop_for_custom_props().
|
overridevirtual |
Implements blender::io::alembic::ABCAbstractWriter.
Definition at line 74 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCAbstractWriter::args_, CLOG_DEBUG, export_as_subdivision_surface(), LOG, and blender::io::alembic::ABCAbstractWriter::timesample_index_.
|
overrideprotectedvirtual |
Implements blender::io::alembic::ABCAbstractWriter.
Definition at line 132 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCAbstractWriter::args_, BKE_mesh_from_bmesh_for_eval_nomain(), BKE_mesh_to_bmesh_ex(), BKE_mesh_wrapper_ensure_mdata(), bm, BM_mesh_free(), BM_mesh_triangulate(), BMeshFromMeshParams::calc_face_normal, BMeshFromMeshParams::calc_vert_normal, Mesh::corners_num, Mesh::faces_num, free_export_mesh(), get_export_mesh(), blender::io::alembic::ABCAbstractWriter::timesample_index_, and Mesh::verts_num.
|
protectedvirtual |
Reimplemented in blender::io::alembic::ABCMetaballWriter.
Definition at line 112 of file abc_writer_mesh.cc.
References eModifierMode_DisableTemporary, eModifierType_Subsurf, ListBase::last, ModifierData::mode, Object::modifiers, ModifierData::prev, and ModifierData::type.
Referenced by create_alembic_objects().
|
protectedvirtual |
Reimplemented in blender::io::alembic::ABCMetaballWriter.
Definition at line 198 of file abc_writer_mesh.cc.
References BKE_id_free().
Referenced by do_write().
|
overridevirtual |
Implements blender::io::alembic::ABCAbstractWriter.
Definition at line 96 of file abc_writer_mesh.cc.
|
protectedpure virtual |
Implemented in blender::io::alembic::ABCCurveMeshWriter, blender::io::alembic::ABCMeshWriter, blender::io::alembic::ABCMetaballWriter, and blender::io::alembic::ABCNurbsMeshWriter.
Referenced by do_write().
|
overrideprotectedvirtual |
Reimplemented from blender::io::alembic::ABCAbstractWriter.
Reimplemented in blender::io::alembic::ABCMetaballWriter.
Definition at line 127 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCAbstractWriter::args_.
Referenced by blender::io::alembic::ABCMetaballWriter::is_supported().