Radium Engine  1.5.20
Loading...
Searching...
No Matches
OFFFileManager.hpp
1#pragma once
2
3#include <Core/Geometry/TriangleMesh.hpp>
4#include <IO/RaIO.hpp>
5#include <IO/deprecated/FileManager.hpp>
6
7namespace Ra {
8namespace IO {
9
18class 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
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3