Blender V4.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 "DNA_fluid_types.h"
8
9#include "volume.hh"
10
11namespace blender::io::hydra {
12
14
15 public:
17 const Object *object,
18 pxr::SdfPath const &prim_id);
19 static bool is_volume_modifier(const Object *object);
20
21 void init() override;
22 void update() override;
23
24 protected:
25 void write_transform() override;
26
27 private:
28 std::string get_cached_file_path(const std::string &directory, int frame);
29
30 const FluidModifierData *modifier_;
31};
32
33} // namespace blender::io::hydra
pxr::SdfPath prim_id
Definition id.hh:36
VolumeModifierData(HydraSceneDelegate *scene_delegate, const Object *object, pxr::SdfPath const &prim_id)
static bool is_volume_modifier(const Object *object)