ModelFactory.hpp
Go to the documentation of this file.
1 
35 #ifndef IOFACTORY_H_
36 #define IOFACTORY_H_
37 
38 #include "lvr2/io/Model.hpp"
40 
41 #include <string>
42 #include <vector>
43 #include <map>
44 
45 #include <boost/shared_ptr.hpp>
46 
47 
48 namespace lvr2
49 {
50 
59 {
60  public:
61 
62  static ModelPtr readModel( std::string filename );
63 
64  static void saveModel( ModelPtr m, std::string file);
65 
67 
68 };
69 
70 typedef boost::shared_ptr<ModelFactory> ModelFactoryPtr;
71 
72 } // namespace lvr2
73 
74 #endif /* IOFACTORY_H_ */
Factory class extract point cloud and mesh information from supported file formats. The instantiated MeshLoader and PointLoader instances are persistent, i.e. they will not be freed in the destructor of this class to prevent side effects.
static CoordinateTransform< float > m_transform
static ModelPtr readModel(std::string filename)
boost::shared_ptr< ModelFactory > ModelFactoryPtr
FILE * file
std::shared_ptr< Model > ModelPtr
Definition: Model.hpp:80
static void saveModel(ModelPtr m, std::string file)


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