Blender V5.3
blender::io::alembic::ABCAbstractWriter Class Referenceabstract

#include <abc_writer_abstract.h>

Inherits blender::io::AbstractHierarchyWriter.

Inherited by blender::io::alembic::ABCCameraWriter, blender::io::alembic::ABCCurveWriter, blender::io::alembic::ABCGenericMeshWriter, blender::io::alembic::ABCHairWriter, blender::io::alembic::ABCInstanceWriter, blender::io::alembic::ABCNurbsWriter, blender::io::alembic::ABCPointCloudWriter, blender::io::alembic::ABCPointsWriter, and blender::io::alembic::ABCTransformWriter.

Public Member Functions

 ABCAbstractWriter (const ABCWriterConstructorArgs &args)
void write (HierarchyContext &context) override
virtual bool is_supported (const HierarchyContext *context) const
uint32_t timesample_index () const
const Imath::Box3d & bounding_box () const
virtual void create_alembic_objects (const HierarchyContext *context)=0
virtual Alembic::Abc::OObject get_alembic_object () const =0
virtual Alembic::Abc::OCompoundProperty abc_prop_for_custom_props ()=0
Public Member Functions inherited from blender::io::AbstractHierarchyWriter
virtual ~AbstractHierarchyWriter ()=default

Protected Member Functions

virtual void do_write (HierarchyContext &context)=0
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

Protected Attributes

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_

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)

Detailed Description

Definition at line 26 of file abc_writer_abstract.h.

Constructor & Destructor Documentation

◆ ABCAbstractWriter()

Member Function Documentation

◆ abc_prop_for_custom_props()

◆ abc_schema_prop_for_custom_props()

◆ bounding_box()

const Imath::Box3d & blender::io::alembic::ABCAbstractWriter::bounding_box ( ) const

Definition at line 101 of file abc_writer_abstract.cc.

References bounding_box_.

◆ create_alembic_objects()

◆ do_write()

◆ ensure_custom_properties_exporter()

void blender::io::alembic::ABCAbstractWriter::ensure_custom_properties_exporter ( const HierarchyContext & context)
protectedvirtual

◆ get_alembic_object()

◆ get_id_properties()

const IDProperty * blender::io::alembic::ABCAbstractWriter::get_id_properties ( const HierarchyContext & context) const
protectedvirtual

◆ is_supported()

◆ timesample_index()

uint32_t blender::io::alembic::ABCAbstractWriter::timesample_index ( ) const

Definition at line 96 of file abc_writer_abstract.cc.

References timesample_index_.

◆ update_bounding_box()

◆ write()

◆ write_visibility()

Member Data Documentation

◆ abc_visibility_

Alembic::Abc::OCharProperty blender::io::alembic::ABCAbstractWriter::abc_visibility_
protected

Definition at line 36 of file abc_writer_abstract.h.

Referenced by write_visibility().

◆ args_

◆ bounding_box_

◆ custom_props_

std::unique_ptr<CustomPropertiesExporter> blender::io::alembic::ABCAbstractWriter::custom_props_
protected

Definition at line 39 of file abc_writer_abstract.h.

Referenced by ensure_custom_properties_exporter(), and write().

◆ frame_has_been_written_

bool blender::io::alembic::ABCAbstractWriter::frame_has_been_written_
protected

Definition at line 30 of file abc_writer_abstract.h.

Referenced by ABCAbstractWriter(), and write().

◆ is_animated_

bool blender::io::alembic::ABCAbstractWriter::is_animated_
protected

Definition at line 31 of file abc_writer_abstract.h.

Referenced by ABCAbstractWriter(), and write().

◆ timesample_index_


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