Blender V5.3
volume_modifier.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include <string>
8
9#include <pxr/base/gf/matrix4d.h>
10#include <pxr/base/tf/token.h>
11#include <pxr/usd/sdf/path.h>
12
13#include "BLI_vector.hh"
14
15namespace blender {
16
17struct Depsgraph;
19struct Object;
20
21namespace io::hydra {
22
24 pxr::TfToken name;
25 pxr::SdfPath field_path;
26};
27
30 const Depsgraph *depsgraph);
31
36std::string build_volume_fields_from_modifier(const Object *object,
37 const FluidModifierData *fmd,
38 int frame,
39 const pxr::SdfPath &volume_path,
40 pxr::GfMatrix4d *r_geometry_xform,
42
43} // namespace io::hydra
44} // namespace blender
std::string build_volume_fields_from_modifier(const Object *object, const FluidModifierData *fmd, const int frame, const pxr::SdfPath &volume_path, pxr::GfMatrix4d *r_geometry_xform, Vector< VolumeFieldDescriptor > *r_fields)
const FluidModifierData * fluid_gas_domain_modifier(const Object *object, const Depsgraph *depsgraph)
BMesh Iterators.