Radium Engine  1.5.0
OFFFileManager.hpp
1 #pragma once
2 
3 #include <Core/Geometry/TriangleMesh.hpp>
4 #include <IO/RaIO.hpp>
5 #include <IO/deprecated/FileManager.hpp>
6 
7 namespace Ra {
8 namespace IO {
9 
18 class RA_IO_API OFFFileManager : public FileManager<Core::Geometry::TriangleMesh>
19 {
20  public:
23 
25  ~OFFFileManager() override;
26 
27  protected:
29  std::string header() const;
30 
32  std::string fileExtension() const override;
33  bool importData( std::istream& file, Core::Geometry::TriangleMesh& data ) override;
34  bool exportData( std::ostream& file, const Core::Geometry::TriangleMesh& data ) override;
35 };
36 
37 } // namespace IO
38 } // namespace Ra
Definition: Cage.cpp:3