Blender V4.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::ABCPointsWriter, and blender::io::alembic::ABCTransformWriter.

Public Member Functions

 ABCAbstractWriter (const ABCWriterConstructorArgs &args)
 
virtual 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 IDPropertyget_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< CustomPropertiesExportercustom_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 19 of file abc_writer_abstract.h.

Constructor & Destructor Documentation

◆ ABCAbstractWriter()

blender::io::alembic::ABCAbstractWriter::ABCAbstractWriter ( const ABCWriterConstructorArgs & args)
explicit

Definition at line 19 of file abc_writer_abstract.cc.

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 89 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

Reimplemented in blender::io::alembic::ABCTransformWriter.

Definition at line 73 of file abc_writer_abstract.cc.

Referenced by ensure_custom_properties_exporter(), and write().

◆ is_supported()

◆ timesample_index()

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

◆ update_bounding_box()

◆ write()

◆ write_visibility()

void blender::io::alembic::ABCAbstractWriter::write_visibility ( const HierarchyContext & context)
protected

Member Data Documentation

◆ abc_visibility_

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

Definition at line 29 of file abc_writer_abstract.h.

Referenced by write_visibility().

◆ args_

◆ bounding_box_

Imath::Box3d blender::io::alembic::ABCAbstractWriter::bounding_box_
protected

◆ custom_props_

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

Definition at line 32 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 23 of file abc_writer_abstract.h.

Referenced by write().

◆ is_animated_

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

Definition at line 24 of file abc_writer_abstract.h.

Referenced by write().

◆ timesample_index_


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