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
resampling
Probe.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
#ifndef vtk_m_filter_resampling_Probe_h
11
#define vtk_m_filter_resampling_Probe_h
12
13
#include <
vtkm/filter/FilterField.h
>
14
#include <vtkm/filter/resampling/vtkm_filter_resampling_export.h>
15
16
namespace
vtkm
17
{
18
namespace
filter
19
{
20
namespace
resampling
21
{
22
class
VTKM_FILTER_RESAMPLING_EXPORT
Probe
:
public
vtkm::filter::FilterField
23
{
24
public
:
25
VTKM_CONT
26
void
SetGeometry
(
const
vtkm::cont::DataSet
& geometry)
27
{
28
this->Geometry =
vtkm::cont::DataSet
();
29
this->Geometry.CopyStructure(geometry);
30
}
31
32
VTKM_CONT
33
const
vtkm::cont::DataSet
&
GetGeometry
()
const
{
return
this->Geometry; }
34
35
VTKM_CONT
void
SetInvalidValue
(
vtkm::Float64
invalidValue) { this->InvalidValue = invalidValue; }
36
VTKM_CONT
vtkm::Float64
GetInvalidValue
()
const
{
return
this->InvalidValue; }
37
38
private
:
39
VTKM_CONT
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
40
41
vtkm::cont::DataSet
Geometry
;
42
43
vtkm::Float64
InvalidValue = vtkm::Nan64();
44
};
45
}
// namespace resampling
46
}
// namespace filter
47
}
// namespace vtkm
48
49
#endif // vtk_m_filter_resampling_Probe_h
vtkm::filter::resampling::Probe::SetInvalidValue
VTKM_CONT void SetInvalidValue(vtkm::Float64 invalidValue)
Definition:
Probe.h:35
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::cont::DataSet
Definition:
DataSet.h:34
FilterField.h
vtkm::filter::FilterField
Definition:
FilterField.h:21
vtkm::filter::resampling::Probe::GetGeometry
const VTKM_CONT vtkm::cont::DataSet & GetGeometry() const
Definition:
Probe.h:33
vtkm::filter::resampling::Probe::Geometry
vtkm::cont::DataSet Geometry
Definition:
Probe.h:41
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::filter::resampling::Probe
Definition:
Probe.h:22
vtkm::Float64
double Float64
Definition:
Types.h:155
vtkm::filter::resampling::Probe::GetInvalidValue
VTKM_CONT vtkm::Float64 GetInvalidValue() const
Definition:
Probe.h:36
vtkm::filter::resampling::Probe::SetGeometry
VTKM_CONT void SetGeometry(const vtkm::cont::DataSet &geometry)
Definition:
Probe.h:26
Generated by
1.8.17