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
filter
density_estimate
ContinuousScatterPlot.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_density_estimate_ContinuousScatterPlot_h
11
#define vtk_m_filter_density_estimate_ContinuousScatterPlot_h
12
13
#include <
vtkm/filter/Filter.h
>
14
#include <
vtkm/filter/density_estimate/vtkm_filter_density_estimate_export.h
>
15
16
namespace
vtkm
17
{
18
namespace
filter
19
{
20
namespace
density_estimate
21
{
38
39
class
VTKM_FILTER_DENSITY_ESTIMATE_EXPORT
ContinuousScatterPlot
:
public
vtkm::filter::Filter
40
{
41
public
:
42
VTKM_CONT
ContinuousScatterPlot
() { this->SetOutputFieldName(
"density"
); }
43
46
VTKM_CONT
47
void
SetActiveFieldsPair
(
const
std::string& fieldName1,
const
std::string& fieldName2)
48
{
49
SetActiveField(0, fieldName1,
vtkm::cont::Field::Association::Points
);
50
SetActiveField(1, fieldName2,
vtkm::cont::Field::Association::Points
);
51
};
52
53
private
:
54
VTKM_CONT
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
55
};
56
}
// namespace density_estimate
57
}
// namespace filter
58
}
// namespace vtm
59
60
#endif //vtk_m_filter_density_estimate_ContinuousScatterPlot_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition:
DataSet.h:57
vtkm::filter::density_estimate::ContinuousScatterPlot::ContinuousScatterPlot
ContinuousScatterPlot()
Definition:
ContinuousScatterPlot.h:42
vtkm::filter::density_estimate::ContinuousScatterPlot
Constructs the continuous scatterplot for two given scalar point fields of a mesh.
Definition:
ContinuousScatterPlot.h:39
vtkm::filter::Filter
Base class for all filters.
Definition:
Filter.h:163
vtkm::cont::Field::Association::Points
@ Points
A field that applies to points.
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm_filter_density_estimate_export.h
VTKM_FILTER_DENSITY_ESTIMATE_EXPORT
#define VTKM_FILTER_DENSITY_ESTIMATE_EXPORT
Definition:
vtkm_filter_density_estimate_export.h:44
vtkm::filter::density_estimate::ContinuousScatterPlot::SetActiveFieldsPair
void SetActiveFieldsPair(const std::string &fieldName1, const std::string &fieldName2)
Select both point fields to use when running the filter.
Definition:
ContinuousScatterPlot.h:47
Filter.h
Generated by
1.8.17