Microflow 3D
v1.0
FluidFromThread.h
Go to the documentation of this file.
1
// ==============================================================================================
2
// Microflow 3D, http://www.microflow.pwr.edu.pl/
3
// Created by Roman Szafran on 07.05.2020.
4
// Modified by Roman Szafran, last on 07.05.2020.
5
// Copyright (c) 2020 Wroclaw University of Science and Technology.
6
// Distributed under the Apache License, Version 2.0, You may obtain a copy of the License at
7
// http://www.apache.org/licenses/LICENSE-2.0 or see accompanying file license.txt.
8
// Redistributions of source code must retain the above copyright and license notice.
9
// ==============================================================================================
10
11
# pragma once
12
13
// OpenVDB
14
#include <openvdb/openvdb.h>
15
16
#include <iostream>
17
#include <memory>
18
19
#include "
MFDatabase/ConfigData.h
"
20
#include "
ReadersAndWriters/CSVReader.h
"
21
#include "
GeometryBuilder/NodeID.h
"
22
#include "
NodeID.h
"
23
24
namespace
MF
{
25
namespace
GB {
26
29
class
FluidFromThread
{
30
public
:
31
FluidFromThread
() =
default
;
32
33
~FluidFromThread
() =
default
;
34
35
static
void
VDBFluidAdd
(
const
openvdb::Int64Grid::Ptr& VDBGrid,
const
std::shared_ptr<MF::Database::ConfigData> & ConfigData_Ptr);
36
};
37
38
}
/* namespace GB */
39
}
/* namespase MF */
ConfigData.h
CSVReader.h
MF
Definition:
AutoSettingNode.h:23
MF::GB::FluidFromThread
Adds fluid nodes from thread_params.cfg file to VDBGrid.
Definition:
FluidFromThread.h:29
MF::GB::FluidFromThread::VDBFluidAdd
static void VDBFluidAdd(const openvdb::Int64Grid::Ptr &VDBGrid, const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr)
Definition:
FluidFromThread.cpp:14
MF::GB::FluidFromThread::FluidFromThread
FluidFromThread()=default
MF::GB::FluidFromThread::~FluidFromThread
~FluidFromThread()=default
NodeID.h
source
GeometryBuilder
FluidFromThread.h
Generated on Sun Oct 11 2020 15:13:14 for Microflow 3D by
1.8.13