Blender  V3.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::io::alembic::ABCAbstractWriter Class Referenceabstract

#include <abc_writer_abstract.h>

Inheritance diagram for blender::io::alembic::ABCAbstractWriter:
blender::io::AbstractHierarchyWriter 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 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 20 of file abc_writer_abstract.h.

Constructor & Destructor Documentation

◆ ABCAbstractWriter()

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

Definition at line 24 of file abc_writer_abstract.cc.

Member Function Documentation

◆ abc_prop_for_custom_props()

virtual Alembic::Abc::OCompoundProperty blender::io::alembic::ABCAbstractWriter::abc_prop_for_custom_props ( )
pure virtual

◆ abc_schema_prop_for_custom_props()

template<typename T >
Alembic::Abc::OCompoundProperty blender::io::alembic::ABCAbstractWriter::abc_schema_prop_for_custom_props ( T  abc_schema)
inlineprotected

◆ bounding_box()

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

Definition at line 94 of file abc_writer_abstract.cc.

References bounding_box_.

◆ create_alembic_objects()

virtual void blender::io::alembic::ABCAbstractWriter::create_alembic_objects ( const HierarchyContext context)
pure virtual

◆ do_write()

virtual void blender::io::alembic::ABCAbstractWriter::do_write ( HierarchyContext context)
protectedpure virtual

◆ ensure_custom_properties_exporter()

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

◆ get_alembic_object()

virtual Alembic::Abc::OObject blender::io::alembic::ABCAbstractWriter::get_alembic_object ( ) const
pure virtual

◆ get_id_properties()

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

◆ is_supported()

bool blender::io::alembic::ABCAbstractWriter::is_supported ( const HierarchyContext context) const
virtual

◆ timesample_index()

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

◆ update_bounding_box()

void blender::io::alembic::ABCAbstractWriter::update_bounding_box ( Object object)
protectedvirtual

◆ write()

void blender::io::alembic::ABCAbstractWriter::write ( HierarchyContext context)
overridevirtual

◆ 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 30 of file abc_writer_abstract.h.

Referenced by write_visibility().

◆ args_

const ABCWriterConstructorArgs blender::io::alembic::ABCAbstractWriter::args_
protected

◆ 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 33 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 24 of file abc_writer_abstract.h.

Referenced by write().

◆ is_animated_

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

Definition at line 25 of file abc_writer_abstract.h.

Referenced by write().

◆ timesample_index_

uint32_t blender::io::alembic::ABCAbstractWriter::timesample_index_
protected

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