Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
v
w
x
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
p
q
r
s
t
u
v
Enumerations
Enumerator
b
g
h
j
l
o
p
r
s
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
z
Related Functions
:
a
b
c
d
e
f
h
k
l
n
o
p
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
f
i
m
n
o
p
s
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
s
t
u
v
Enumerations
Enumerator
a
d
f
i
k
l
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
w
Examples
include
lvr2
reconstruction
PointsetGrid.hpp
Go to the documentation of this file.
1
28
/*
29
* PointsetGrid.hpp
30
*
31
* Created on: Nov 27, 2014
32
* Author: twiemann
33
*/
34
35
#ifndef _LVR2_RECONSTRUCTION_POINTSETGRID_H_
36
#define _LVR2_RECONSTRUCTION_POINTSETGRID_H_
37
38
#include "
HashGrid.hpp
"
39
40
#include "
PointsetSurface.hpp
"
41
#include "
lvr2/geometry/BoundingBox.hpp
"
42
43
namespace
lvr2
44
{
45
46
template
<
typename
BaseVecT,
typename
BoxT>
47
class
PointsetGrid
:
public
HashGrid
<BaseVecT, BoxT>
48
{
49
public
:
50
PointsetGrid
(
51
float
cellSize,
52
PointsetSurfacePtr<BaseVecT>
surface,
53
BoundingBox<BaseVecT>
bb,
54
bool
isVoxelsize =
true
,
55
bool
extrude =
true
56
);
57
58
virtual
~PointsetGrid
() {}
59
60
void
calcDistanceValues
();
61
62
private
:
63
67
inline
int
calcIndex
(
float
f)
68
{
69
return
f < 0 ? f - .5 : f + .5;
70
}
71
72
PointsetSurfacePtr<BaseVecT>
m_surface
;
73
};
74
75
}
// namespace lvr2
76
77
#include "lvr2/reconstruction/PointsetGrid.tcc"
78
79
80
#endif // _LVR2_RECONSTRUCTION_POINTSETGRID_H_
PointsetSurface.hpp
HashGrid.hpp
lvr2::PointsetGrid::calcDistanceValues
void calcDistanceValues()
lvr2::PointsetGrid::PointsetGrid
PointsetGrid(float cellSize, PointsetSurfacePtr< BaseVecT > surface, BoundingBox< BaseVecT > bb, bool isVoxelsize=true, bool extrude=true)
lvr2::PointsetSurfacePtr
std::shared_ptr< PointsetSurface< BaseVecT > > PointsetSurfacePtr
Definition:
PointsetSurface.hpp:161
lvr2::BoundingBox
A dynamic bounding box class.
Definition:
BoundingBox.hpp:49
lvr2::PointsetGrid::~PointsetGrid
virtual ~PointsetGrid()
Definition:
PointsetGrid.hpp:58
lvr2::PointsetGrid::m_surface
PointsetSurfacePtr< BaseVecT > m_surface
Definition:
PointsetGrid.hpp:72
lvr2
Definition:
BaseBufferManipulators.hpp:39
lvr2::PointsetGrid::calcIndex
int calcIndex(float f)
Rounds the given value to the neares integer value.
Definition:
PointsetGrid.hpp:67
lvr2::PointsetGrid
Definition:
PointsetGrid.hpp:47
BoundingBox.hpp
lvr2::HashGrid
Definition:
HashGrid.hpp:94
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