Blender
V5.3
source
blender
io
usd
hydra
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
15
namespace
blender
{
16
17
struct
Depsgraph;
18
struct
FluidModifierData
;
19
struct
Object
;
20
21
namespace
io::hydra
{
22
23
struct
VolumeFieldDescriptor
{
24
pxr::TfToken
name
;
25
pxr::SdfPath
field_path
;
26
};
27
29
const
FluidModifierData
*
fluid_gas_domain_modifier
(
const
Object
*
object
,
30
const
Depsgraph *depsgraph);
31
36
std::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,
41
Vector<VolumeFieldDescriptor>
*r_fields);
42
43
}
// namespace io::hydra
44
}
// namespace blender
BLI_vector.hh
blender::Vector
Definition
BLI_vector.hh:76
blender::io::hydra
Definition
camera_delegate.cc:21
blender::io::hydra::build_volume_fields_from_modifier
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)
Definition
volume_modifier.cc:71
blender::io::hydra::fluid_gas_domain_modifier
const FluidModifierData * fluid_gas_domain_modifier(const Object *object, const Depsgraph *depsgraph)
Definition
volume_modifier.cc:22
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::FluidModifierData
Definition
DNA_modifier_types.h:636
blender::Object
Definition
DNA_object_types.h:466
blender::io::hydra::VolumeFieldDescriptor
Definition
volume_modifier.hh:23
blender::io::hydra::VolumeFieldDescriptor::field_path
pxr::SdfPath field_path
Definition
volume_modifier.hh:25
blender::io::hydra::VolumeFieldDescriptor::name
pxr::TfToken name
Definition
volume_modifier.hh:24
Generated on
for Blender by
doxygen
1.18.0