Blender V5.0
blender::io::alembic::ABCCurveWriter Class Reference

#include <abc_writer_curves.h>

Inherits blender::io::alembic::ABCAbstractWriter.

Public Member Functions

 ABCCurveWriter (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
virtual bool is_supported (const HierarchyContext *context) const
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

void do_write (HierarchyContext &context) override
Protected Member Functions inherited from blender::io::alembic::ABCAbstractWriter
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

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

Detailed Description

Definition at line 19 of file abc_writer_curves.h.

Constructor & Destructor Documentation

◆ ABCCurveWriter()

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

Member Function Documentation

◆ abc_prop_for_custom_props()

Alembic::Abc::OCompoundProperty blender::io::alembic::ABCCurveWriter::abc_prop_for_custom_props ( )
overridevirtual

◆ create_alembic_objects()

◆ do_write()

void blender::io::alembic::ABCCurveWriter::do_write ( HierarchyContext & context)
overrideprotectedvirtual

Implements blender::io::alembic::ABCAbstractWriter.

Definition at line 91 of file abc_writer_curves.cc.

References BKE_id_free(), BLI_assert_unreachable, blender::array_utils::booleans_mix_calc(), blender::io::alembic::ABCAbstractWriter::bounding_box_, CLOG_WARN, blender::offset_indices::copy_group_sizes(), count, blender::bke::curve_legacy_to_curves(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, blender::bke::CurvesGeometry::curve_type_counts(), CURVE_TYPE_NURBS, CURVE_TYPE_POLY, blender::bke::CurvesGeometry::curve_types(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::CurvesGeometry::cyclic(), blender::IndexRange::drop_back(), blender::IndexRange::first(), blender::VArrayCommon< T >::first(), Curves::geometry, blender::bke::CurvesGeometry::handle_positions_left(), blender::bke::CurvesGeometry::handle_positions_right(), blender::offset_indices::OffsetIndices< T >::index_range(), is_cyclic(), blender::bke::CurvesGeometry::is_empty(), blender::IndexRange::last(), LOG, blender::array_utils::Mixed, blender::bke::CurvesGeometry::nurbs_orders(), blender::bke::CurvesGeometry::nurbs_weights(), OB_CURVES, OB_CURVES_LEGACY, blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::bke::CurvesGeometry::points_range(), blender::bke::CurvesGeometry::positions(), blender::bke::CurvesGeometry::radius(), sample, blender::io::alembic::to_yup_V3f(), blender::io::alembic::ABCAbstractWriter::update_bounding_box(), and verts.

◆ get_alembic_object()

Alembic::Abc::OObject blender::io::alembic::ABCCurveWriter::get_alembic_object ( ) const
overridevirtual

Implements blender::io::alembic::ABCAbstractWriter.

Definition at line 81 of file abc_writer_curves.cc.


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