Microflow 3D  v1.0
SolidFromThread.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"
21 #include "GeometryBuilder/NodeID.h"
22 #include "NodeID.h"
23 
24 namespace MF {
25  namespace GB {
26 
30  public:
31  SolidFromThread() = default;
32 
33  ~SolidFromThread() = default;
34 
35  static void VDBSolidAdd(const openvdb::Int64Grid::Ptr& VDBGrid, const std::shared_ptr<MF::Database::ConfigData> & ConfigData_Ptr);
36  };
37 
38  } /* namespace GB */
39 } /* namespase MF */
static void VDBSolidAdd(const openvdb::Int64Grid::Ptr &VDBGrid, const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr)
Adds solid nodes from thread_params.cfg file to VDBGrid.