Blender
V4.3
source
blender
io
alembic
exporter
abc_writer_mball.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
#pragma once
5
10
#include "
abc_writer_mesh.h
"
11
12
namespace
blender::io::alembic
{
13
14
class
ABCMetaballWriter
:
public
ABCGenericMeshWriter
{
15
public
:
16
explicit
ABCMetaballWriter
(
const
ABCWriterConstructorArgs
&args);
17
18
protected
:
19
virtual
Mesh
*
get_export_mesh
(
Object
*object_eval,
bool
&r_needsfree)
override
;
20
virtual
void
free_export_mesh
(
Mesh
*mesh)
override
;
21
virtual
bool
is_supported
(
const
HierarchyContext
*context)
const override
;
22
virtual
bool
check_is_animated
(
const
HierarchyContext
&context)
const override
;
23
virtual
bool
export_as_subdivision_surface
(
Object
*ob_eval)
const override
;
24
25
private
:
26
bool
is_basis_ball(
Scene
*scene,
Object
*ob)
const
;
27
};
28
29
}
// namespace blender::io::alembic
abc_writer_mesh.h
blender::io::alembic::ABCGenericMeshWriter
Definition
abc_writer_mesh.h:21
blender::io::alembic::ABCMetaballWriter
Definition
abc_writer_mball.h:14
blender::io::alembic::ABCMetaballWriter::export_as_subdivision_surface
virtual bool export_as_subdivision_surface(Object *ob_eval) const override
Definition
abc_writer_mball.cc:43
blender::io::alembic::ABCMetaballWriter::get_export_mesh
virtual Mesh * get_export_mesh(Object *object_eval, bool &r_needsfree) override
Definition
abc_writer_mball.cc:49
blender::io::alembic::ABCMetaballWriter::free_export_mesh
virtual void free_export_mesh(Mesh *mesh) override
Definition
abc_writer_mball.cc:61
blender::io::alembic::ABCMetaballWriter::ABCMetaballWriter
ABCMetaballWriter(const ABCWriterConstructorArgs &args)
Definition
abc_writer_mball.cc:23
blender::io::alembic::ABCMetaballWriter::is_supported
virtual bool is_supported(const HierarchyContext *context) const override
Definition
abc_writer_mball.cc:28
blender::io::alembic::ABCMetaballWriter::check_is_animated
virtual bool check_is_animated(const HierarchyContext &context) const override
Definition
abc_writer_mball.cc:36
blender::io::alembic
Definition
abc_archive.cc:29
Mesh
Definition
DNA_mesh_types.h:56
Object
Definition
DNA_object_types.h:193
Scene
Definition
DNA_scene_types.h:1988
blender::io::HierarchyContext
Definition
IO_abstract_hierarchy_iterator.h:45
blender::io::alembic::ABCWriterConstructorArgs
Definition
abc_hierarchy_iterator.h:24
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0