Blender V5.0
abc_writer_points.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
9
10#include "abc_writer_abstract.h"
11
12#include <Alembic/AbcGeom/OPoints.h>
13
14namespace blender::io::alembic {
15
17 Alembic::AbcGeom::OPoints abc_points_;
18 Alembic::AbcGeom::OPointsSchema abc_points_schema_;
19
20 public:
21 explicit ABCPointsWriter(const ABCWriterConstructorArgs &args);
22
23 void create_alembic_objects(const HierarchyContext *context) override;
24 Alembic::Abc::OObject get_alembic_object() const override;
25 Alembic::Abc::OCompoundProperty abc_prop_for_custom_props() override;
26
27 bool is_supported(const HierarchyContext *context) const override;
28
29 protected:
30 bool check_is_animated(const HierarchyContext &context) const override;
31 void do_write(HierarchyContext &context) override;
32};
33
34} // namespace blender::io::alembic
ABCAbstractWriter(const ABCWriterConstructorArgs &args)
void create_alembic_objects(const HierarchyContext *context) override
bool is_supported(const HierarchyContext *context) const override
Alembic::Abc::OCompoundProperty abc_prop_for_custom_props() override
Alembic::Abc::OObject get_alembic_object() const override
void do_write(HierarchyContext &context) override
ABCPointsWriter(const ABCWriterConstructorArgs &args)
bool check_is_animated(const HierarchyContext &context) const override