Commit 36387714 authored by Sylvain Thery's avatar Sylvain Thery

add import NAS volume files

parent 82d4fd2e
......@@ -124,6 +124,9 @@ bool importMSH(typename PFP::MAP& the_map, const std::string& filename, std::vec
template <typename PFP>
bool importVTU(typename PFP::MAP& the_map, const std::string& filename, std::vector<std::string>& attrNames, float scaleFactor = 1.0f);
template <typename PFP>
bool importNAS(typename PFP::MAP& the_map, const std::string& filename, std::vector<std::string>& attrNames, float scaleFactor = 1.0f);
} // Import
......@@ -143,6 +146,7 @@ bool importVTU(typename PFP::MAP& the_map, const std::string& filename, std::vec
#include "Algo/Import/importNodeEle.hpp"
#include "Algo/Import/importMSH.hpp"
#include "Algo/Import/importVTU.hpp"
#include "Algo/Import/importNAS.hpp"
#include "Algo/Import/importChoupi.hpp"
......
......@@ -552,6 +552,9 @@ bool importMesh(typename PFP::MAP& map, const std::string& filename, std::vector
return importVTU<PFP>(map, filename, attrNames, 1.0f);
break;
case NAS:
return importNAS<PFP>(map, filename, attrNames, 1.0f);
break;
case OFF:
{
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment