Model.hpp
Go to the documentation of this file.
1 
35 #ifndef MODEL_H_
36 #define MODEL_H_
37 
38 #include "lvr2/io/MeshBuffer.hpp"
39 #include "lvr2/io/PointBuffer.hpp"
40 
41 #include <boost/shared_ptr.hpp>
42 
43 #include <algorithm>
44 #include <iostream>
45 
46 typedef unsigned int uint;
47 
48 namespace lvr2
49 {
50 
51 class Model
52 {
53 public:
54 
57  {
58  m_pointCloud = p;
59  m_mesh = m;
60  }
61 
63  {
64  m_pointCloud = p;
65  m_mesh = m;
66  }
67 
69  {
70  m_pointCloud.reset();
71  m_mesh = m;
72  }
73 
74  virtual ~Model() {}
75 
78 };
79 
80 using ModelPtr = std::shared_ptr<Model>;
81 
82 } // namespace lvr2
83 
84 #endif /* MODEL_H_ */
std::shared_ptr< MeshBuffer > MeshBufferPtr
Definition: MeshBuffer.hpp:217
Model(MeshBufferPtr m)
Definition: Model.hpp:68
PointBufferPtr m_pointCloud
Definition: Model.hpp:76
MeshBufferPtr m_mesh
Definition: Model.hpp:77
std::shared_ptr< PointBuffer > PointBufferPtr
Model(MeshBufferPtr m, PointBufferPtr p)
Definition: Model.hpp:62
virtual ~Model()
Definition: Model.hpp:74
SharedPointer p
std::shared_ptr< Model > ModelPtr
Definition: Model.hpp:80
unsigned int uint
Definition: Model.hpp:46
Model(PointBufferPtr p=PointBufferPtr(), MeshBufferPtr m=MeshBufferPtr())
Definition: Model.hpp:55


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