Blender
V3.3
|
#include <abc_writer_mesh.h>
Public Member Functions | |
ABCGenericMeshWriter (const ABCWriterConstructorArgs &args) | |
virtual void | create_alembic_objects (const HierarchyContext *context) override |
virtual Alembic::Abc::OObject | get_alembic_object () const override |
Alembic::Abc::OCompoundProperty | abc_prop_for_custom_props () override |
![]() | |
ABCAbstractWriter (const ABCWriterConstructorArgs &args) | |
virtual void | write (HierarchyContext &context) override |
uint32_t | timesample_index () const |
const Imath::Box3d & | bounding_box () const |
![]() | |
virtual | ~AbstractHierarchyWriter ()=default |
Protected Member Functions | |
virtual bool | is_supported (const HierarchyContext *context) const override |
virtual 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 |
![]() | |
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) |
![]() | |
virtual bool | check_is_animated (const HierarchyContext &context) const |
Additional Inherited Members | |
![]() | |
static bool | check_has_physics (const HierarchyContext &context) |
static bool | check_has_deforming_physics (const HierarchyContext &context) |
![]() | |
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 19 of file abc_writer_mesh.h.
|
explicit |
Definition at line 76 of file abc_writer_mesh.cc.
|
overridevirtual |
Implements blender::io::alembic::ABCAbstractWriter.
Definition at line 111 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 81 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCWriterConstructorArgs::abc_name, blender::io::alembic::ABCWriterConstructorArgs::abc_parent, blender::io::alembic::ABCWriterConstructorArgs::abc_path, AlembicExportParams::apply_subdiv, blender::io::alembic::ABCAbstractWriter::args_, CLOG_INFO, blender::compositor::context, export_as_subdivision_surface(), blender::io::alembic::ABCWriterConstructorArgs::export_params, LOG, blender::io::alembic::ABCAbstractWriter::timesample_index_, type, and AlembicExportParams::use_subdiv_schema.
|
overrideprotectedvirtual |
Implements blender::io::alembic::ABCAbstractWriter.
Definition at line 142 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCAbstractWriter::args_, BKE_mesh_from_bmesh_for_eval_nomain(), BKE_mesh_to_bmesh_ex(), bm, BM_mesh_free(), BM_mesh_triangulate(), BMeshFromMeshParams::calc_face_normal, blender::compositor::context, blender::io::alembic::ABCWriterConstructorArgs::export_params, free_export_mesh(), get_export_mesh(), mesh, blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::CDStreamConfig::mloop, Mesh::mloop, blender::io::alembic::CDStreamConfig::mpoly, Mesh::mpoly, AlembicExportParams::ngon_method, blender::io::alembic::CDStreamConfig::pack_uvs, AlembicExportParams::packuv, AlembicExportParams::quad_method, blender::io::alembic::CDStreamConfig::timesample_index, blender::io::alembic::ABCAbstractWriter::timesample_index_, blender::io::alembic::CDStreamConfig::totloop, Mesh::totloop, blender::io::alembic::CDStreamConfig::totpoly, Mesh::totpoly, blender::io::alembic::CDStreamConfig::totvert, Mesh::totvert, and AlembicExportParams::triangulate.
|
protectedvirtual |
Reimplemented in blender::io::alembic::ABCMetaballWriter.
Definition at line 119 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().
Reimplemented in blender::io::alembic::ABCMetaballWriter.
Definition at line 205 of file abc_writer_mesh.cc.
References BKE_id_free(), and mesh.
Referenced by do_write().
|
overridevirtual |
Implements blender::io::alembic::ABCAbstractWriter.
Definition at line 103 of file abc_writer_mesh.cc.
|
protectedpure virtual |
Implemented in blender::io::alembic::ABCNurbsMeshWriter, blender::io::alembic::ABCMeshWriter, blender::io::alembic::ABCMetaballWriter, and blender::io::alembic::ABCCurveMeshWriter.
Referenced by do_write().
|
overrideprotectedvirtual |
Reimplemented from blender::io::alembic::ABCAbstractWriter.
Reimplemented in blender::io::alembic::ABCMetaballWriter.
Definition at line 134 of file abc_writer_mesh.cc.
References blender::io::alembic::ABCAbstractWriter::args_, blender::compositor::context, AlembicExportParams::evaluation_mode, blender::io::alembic::ABCWriterConstructorArgs::export_params, and AlembicExportParams::visible_objects_only.
Referenced by blender::io::alembic::ABCMetaballWriter::is_supported().