Point Cloud Library (PCL)
1.15.0-dev
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
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
Variables
a
c
d
e
f
h
i
l
m
n
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
r
s
t
u
w
x
Classes
Class List
Class Index
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Related Functions
a
b
m
o
p
q
r
s
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
pcl
outofcore
visualization
grid.h
1
#pragma once
2
3
// C++
4
#include <iostream>
5
#include <string>
6
7
// PCL
8
#include "geometry.h"
9
#include "object.h"
10
11
// VTK
12
#include <vtkActor.h>
13
#include <vtkRectilinearGrid.h>
14
#include <vtkDataSetMapper.h>
15
#include <vtkDoubleArray.h>
16
#include <vtkPolyData.h>
17
#include <vtkSmartPointer.h>
18
19
//class Grid : public Geometry
20
class
Grid
:
public
Object
21
{
22
public
:
23
24
// Operators
25
// -----------------------------------------------------------------------------
26
Grid
(std::string name,
int
size = 10,
double
spacing = 1.0);
27
~Grid
()
override
=
default
;
28
29
// Accessors
30
// -----------------------------------------------------------------------------
31
inline
vtkSmartPointer<vtkRectilinearGrid>
32
getGrid
()
const
33
{
34
return
grid_;
35
}
36
37
// virtual vtkSmartPointer<vtkActor>
38
vtkSmartPointer<vtkActor>
39
getGridActor
()
const
40
{
41
return
grid_actor_;
42
}
43
44
private
:
45
46
// Members
47
// -----------------------------------------------------------------------------
48
vtkSmartPointer<vtkRectilinearGrid>
grid_;
49
vtkSmartPointer<vtkActor>
grid_actor_;
50
51
};
Grid
Definition:
grid.h:21
Grid::Grid
Grid(std::string name, int size=10, double spacing=1.0)
Grid::getGrid
vtkSmartPointer< vtkRectilinearGrid > getGrid() const
Definition:
grid.h:32
Grid::getGridActor
vtkSmartPointer< vtkActor > getGridActor() const
Definition:
grid.h:39
Grid::~Grid
~Grid() override=default
Object
Definition:
object.h:19
vtkSmartPointer< vtkRectilinearGrid >