CortidQCT  1.2.2.52
SIMesh.h
Go to the documentation of this file.
1 
12 #pragma once
13 
14 #include "Mesh.h"
15 
16 namespace CortidQCT {
17 namespace Internal {
18 
19 template <class T>
20 void writeToSIMesh(Mesh<T> const &mesh, std::string const &filename,
21  bool includeLabels = false);
22 
23 template <class T>
24 Mesh<T> readFromSIMesh(std::string const &filename, bool withLabels = true);
25 
26 extern template void writeToSIMesh<float>(Mesh<float> const &,
27  std::string const &, bool);
28 extern template void writeToSIMesh<double>(Mesh<double> const &,
29  std::string const &, bool);
30 
31 extern template Mesh<float> readFromSIMesh<float>(std::string const &, bool);
32 extern template Mesh<double> readFromSIMesh<double>(std::string const &, bool);
33 } // namespace Internal
34 } // namespace CortidQCT
Name namespace for CortidQCT library.
Definition: CortidQCT.h:23
Include file defining the Mesh data type.