DrcIO.hpp
Go to the documentation of this file.
1 /* Copyright (C) 2018 Uni Osnabrück
2  * This file is part of the LAS VEGAS Reconstruction Toolkit,
3  *
4  * LAS VEGAS is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * LAS VEGAS is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
17  */
18 
30 #ifndef DRCIO_HPP
31 #define DRCIO_HPP
32 
33 #include "BaseIO.hpp"
34 
35 namespace lvr2
36 {
37 
38 class DrcIO : public BaseIO
39 {
40  public:
41  DrcIO(){};
42 
48  virtual ModelPtr read(string filename);
49 
55  virtual void save(string filename);
56 
63  virtual void save(ModelPtr model, string filename);
64 };
65 
66 } /* namespace lvr */
67 
68 #endif // DRCIO_HPP
Interface specification for low-level io. All read elements are stored in linear arrays.
Definition: BaseIO.hpp:57
virtual void save(string filename)
Save/Compress the loaded elements to a draco file.
Definition: DrcIO.cpp:85
Base interface for all I/O related classes.
std::shared_ptr< Model > ModelPtr
Definition: Model.hpp:80
virtual ModelPtr read(string filename)
Parse the draco and load supported elements.
Definition: DrcIO.cpp:38


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:06