VTK-m
2.3
Main Page
Related Pages
Modules
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
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
c
d
e
f
h
i
k
m
o
p
q
r
s
t
u
v
w
x
y
Variables
Typedefs
Macros
e
k
m
q
s
t
u
v
vtkm
source
Source.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_source_Source_h
12
#define vtk_m_source_Source_h
13
14
#include <
vtkm/cont/DataSet.h
>
15
#include <
vtkm/cont/Invoker.h
>
16
#include <
vtkm/source/vtkm_source_export.h
>
17
18
namespace
vtkm
19
{
20
namespace
source
21
{
22
23
class
VTKM_SOURCE_EXPORT
Source
24
{
25
public
:
26
VTKM_CONT
27
virtual
~
Source
() =
default
;
28
29
vtkm::cont::DataSet
Execute
()
const
{
return
this->DoExecute(); }
30
31
protected
:
32
virtual
vtkm::cont::DataSet
DoExecute()
const
= 0;
33
34
vtkm::cont::Invoker
Invoke
;
35
};
36
37
}
// namespace source
38
}
// namespace vtkm
39
40
#endif // vtk_m_source_Source_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::source::Source
Definition:
Source.h:23
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition:
DataSet.h:57
Invoker.h
vtkm::source::Source::Invoke
vtkm::cont::Invoker Invoke
Definition:
Source.h:34
vtkm_source_export.h
vtkm::cont::Invoker
Allows launching any worklet without a dispatcher.
Definition:
Invoker.h:41
VTKM_SOURCE_EXPORT
#define VTKM_SOURCE_EXPORT
Definition:
vtkm_source_export.h:44
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::source::Source::Execute
vtkm::cont::DataSet Execute() const
Definition:
Source.h:29
DataSet.h
Generated by
1.8.17