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_ */
lvr2::STLIO::~STLIO
virtual ~STLIO()
Definition: STLIO.cpp:58
lvr2::STLIO::save
virtual void save(string filename)
Definition: STLIO.cpp:67
lvr2::STLIO::STLIO
STLIO()
Definition: STLIO.cpp:53
scripts.normalize_multiple.filename
filename
Definition: normalize_multiple.py:60
BaseIO.hpp
Base interface for all I/O related classes.
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::ModelPtr
std::shared_ptr< Model > ModelPtr
Definition: Model.hpp:80
lvr2::STLIO
Definition: STLIO.hpp:47
lvr2::STLIO::read
virtual ModelPtr read(string filename)
Parse the given file and load supported elements.
Definition: STLIO.cpp:62
lvr2::BaseIO
Interface specification for low-level io. All read elements are stored in linear arrays.
Definition: BaseIO.hpp:57


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 Wed Mar 2 2022 00:37:25