VTK-m
2.0
Main Page
Related Pages
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
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
r
s
t
u
v
w
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
g
v
Variables
Typedefs
Macros
b
c
d
e
i
k
m
n
p
q
r
s
t
u
v
x
z
vtkm
filter
connected_components
ImageConnectivity.h
Go to the documentation of this file.
1
//============================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//============================================================================
10
11
#ifndef vtk_m_filter_connected_components_ImageConnectivity_h
12
#define vtk_m_filter_connected_components_ImageConnectivity_h
13
14
#include <
vtkm/filter/FilterField.h
>
15
#include <vtkm/filter/connected_components/vtkm_filter_connected_components_export.h>
16
27
namespace
vtkm
28
{
29
namespace
filter
30
{
31
namespace
connected_components
32
{
33
class
VTKM_FILTER_CONNECTED_COMPONENTS_EXPORT
ImageConnectivity
:
public
vtkm::filter::FilterField
34
{
35
public
:
36
VTKM_CONT
ImageConnectivity
() { this->SetOutputFieldName(
"component"
); }
37
38
private
:
39
VTKM_CONT
40
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
41
};
42
}
// namespace connected_components
43
44
}
// namespace filter
45
}
// namespace vtkm
46
47
#endif //vtk_m_filter_connected_components_ImageConnectivity_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::cont::DataSet
Definition:
DataSet.h:34
vtkm::filter::connected_components::ImageConnectivity
Definition:
ImageConnectivity.h:33
FilterField.h
vtkm::filter::FilterField
Definition:
FilterField.h:21
vtkm::filter::connected_components::ImageConnectivity::ImageConnectivity
VTKM_CONT ImageConnectivity()
Definition:
ImageConnectivity.h:36
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
Generated by
1.8.17