include
lvr2
io
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
55
Model
(
PointBufferPtr
p
=
PointBufferPtr
(),
56
MeshBufferPtr
m =
MeshBufferPtr
() )
57
{
58
m_pointCloud
=
p
;
59
m_mesh
= m;
60
}
61
62
Model
(
MeshBufferPtr
m,
PointBufferPtr
p
)
63
{
64
m_pointCloud
=
p
;
65
m_mesh
= m;
66
}
67
68
Model
(
MeshBufferPtr
m )
69
{
70
m_pointCloud
.reset();
71
m_mesh
= m;
72
}
73
74
virtual
~Model
() {}
75
76
PointBufferPtr
m_pointCloud
;
77
MeshBufferPtr
m_mesh
;
78
};
79
80
using
ModelPtr
= std::shared_ptr<Model>;
81
82
}
// namespace lvr2
83
84
#endif
/* MODEL_H_ */
lvr2::Model::Model
Model(MeshBufferPtr m)
Definition:
Model.hpp:68
lvr2::Model::Model
Model(MeshBufferPtr m, PointBufferPtr p)
Definition:
Model.hpp:62
lvr2::PointBufferPtr
std::shared_ptr< PointBuffer > PointBufferPtr
Definition:
PointBuffer.hpp:130
p
SharedPointer p
Definition:
ConvertShared.hpp:42
lvr2::Model::~Model
virtual ~Model()
Definition:
Model.hpp:74
lvr2::Model
Definition:
Model.hpp:51
PointBuffer.hpp
lvr2::Model::m_pointCloud
PointBufferPtr m_pointCloud
Definition:
Model.hpp:76
MeshBuffer.hpp
lvr2::Model::Model
Model(PointBufferPtr p=PointBufferPtr(), MeshBufferPtr m=MeshBufferPtr())
Definition:
Model.hpp:55
lvr2
Definition:
BaseBufferManipulators.hpp:39
lvr2::ModelPtr
std::shared_ptr< Model > ModelPtr
Definition:
Model.hpp:80
lvr2::MeshBufferPtr
std::shared_ptr< MeshBuffer > MeshBufferPtr
Definition:
MeshBuffer.hpp:217
lvr2::Model::m_mesh
MeshBufferPtr m_mesh
Definition:
Model.hpp:77
uint
unsigned int uint
Definition:
Model.hpp:46
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:24