STLIO.hpp
Go to the documentation of this file.
1 
28 /*
29  * STLIO.hpp
30  *
31  * Created on: Dec 9, 2016
32  * Author: robot
33  */
34 
35 #ifndef INCLUDE_LVR2_IO_STLIO_HPP_
36 #define INCLUDE_LVR2_IO_STLIO_HPP_
37 
38 #include "lvr2/io/BaseIO.hpp"
39 
40 namespace lvr2
41 {
42 
43 /****
44  * @brief Reader / Writer for STL file. Currently only binary STL files
45  * are supported.
46  */
47 class STLIO : public BaseIO
48 {
49 public:
50  STLIO();
51  virtual ~STLIO();
52 
53  virtual void save( string filename );
54  virtual void save( ModelPtr model, string filename );
62  virtual ModelPtr read(string filename );
63 
64 };
65 
66 } /* namespace lvr2 */
67 
68 #endif /* INCLUDE_LVR2_IO_STLIO_HPP_ */
virtual void save(string filename)
Definition: STLIO.cpp:67
Interface specification for low-level io. All read elements are stored in linear arrays.
Definition: BaseIO.hpp:57
virtual ~STLIO()
Definition: STLIO.cpp:58
Base interface for all I/O related classes.
std::shared_ptr< Model > ModelPtr
Definition: Model.hpp:80
virtual ModelPtr read(string filename)
Parse the given file and load supported elements.
Definition: STLIO.cpp:62


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:09