Blender
V4.5
source
blender
io
alembic
exporter
abc_writer_curves.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2016 Kévin Dietrich. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
#pragma once
5
10
#include "
abc_writer_abstract.h
"
11
#include "
abc_writer_mesh.h
"
12
13
#include <Alembic/AbcGeom/OCurves.h>
14
15
namespace
blender::io::alembic
{
16
17
extern
const
std::string
ABC_CURVE_RESOLUTION_U_PROPNAME
;
18
19
class
ABCCurveWriter
:
public
ABCAbstractWriter
{
20
private
:
21
Alembic::AbcGeom::OCurves abc_curve_;
22
Alembic::AbcGeom::OCurvesSchema abc_curve_schema_;
23
24
public
:
25
explicit
ABCCurveWriter
(
const
ABCWriterConstructorArgs
&args);
26
27
void
create_alembic_objects
(
const
HierarchyContext
*context)
override
;
28
Alembic::Abc::OObject
get_alembic_object
()
const override
;
29
Alembic::Abc::OCompoundProperty
abc_prop_for_custom_props
()
override
;
30
31
protected
:
32
void
do_write
(
HierarchyContext
&context)
override
;
33
};
34
35
class
ABCCurveMeshWriter
:
public
ABCGenericMeshWriter
{
36
public
:
37
ABCCurveMeshWriter
(
const
ABCWriterConstructorArgs
&args);
38
39
protected
:
40
Mesh
*
get_export_mesh
(
Object
*object_eval,
bool
&r_needsfree)
override
;
41
};
42
43
}
// namespace blender::io::alembic
abc_writer_abstract.h
abc_writer_mesh.h
blender::io::alembic::ABCAbstractWriter
Definition
abc_writer_abstract.h:19
blender::io::alembic::ABCCurveMeshWriter
Definition
abc_writer_curves.h:35
blender::io::alembic::ABCCurveMeshWriter::get_export_mesh
Mesh * get_export_mesh(Object *object_eval, bool &r_needsfree) override
Definition
abc_writer_curves.cc:258
blender::io::alembic::ABCCurveMeshWriter::ABCCurveMeshWriter
ABCCurveMeshWriter(const ABCWriterConstructorArgs &args)
Definition
abc_writer_curves.cc:253
blender::io::alembic::ABCCurveWriter
Definition
abc_writer_curves.h:19
blender::io::alembic::ABCCurveWriter::get_alembic_object
Alembic::Abc::OObject get_alembic_object() const override
Definition
abc_writer_curves.cc:81
blender::io::alembic::ABCCurveWriter::ABCCurveWriter
ABCCurveWriter(const ABCWriterConstructorArgs &args)
Definition
abc_writer_curves.cc:49
blender::io::alembic::ABCCurveWriter::create_alembic_objects
void create_alembic_objects(const HierarchyContext *context) override
Definition
abc_writer_curves.cc:51
blender::io::alembic::ABCCurveWriter::do_write
void do_write(HierarchyContext &context) override
Definition
abc_writer_curves.cc:91
blender::io::alembic::ABCCurveWriter::abc_prop_for_custom_props
Alembic::Abc::OCompoundProperty abc_prop_for_custom_props() override
Definition
abc_writer_curves.cc:86
blender::io::alembic::ABCGenericMeshWriter
Definition
abc_writer_mesh.h:21
blender::io::alembic
Definition
abc_archive.cc:29
blender::io::alembic::ABC_CURVE_RESOLUTION_U_PROPNAME
const std::string ABC_CURVE_RESOLUTION_U_PROPNAME
Mesh
Definition
DNA_mesh_types.h:59
Object
Definition
DNA_object_types.h:192
blender::io::HierarchyContext
Definition
IO_abstract_hierarchy_iterator.h:47
blender::io::alembic::ABCWriterConstructorArgs
Definition
abc_hierarchy_iterator.h:24
Generated on Fri Apr 3 2026 06:33:18 for Blender by
doxygen
1.11.0