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
density_estimate
NDEntropy.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_NDEntropy_h
11
#define vtk_m_filter_density_estimate_NDEntropy_h
12
13
#include <
vtkm/filter/FilterField.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
{
26
class
VTKM_FILTER_DENSITY_ESTIMATE_EXPORT
NDEntropy
:
public
vtkm::filter::FilterField
27
{
28
public
:
29
VTKM_CONT
30
void
AddFieldAndBin(
const
std::string& fieldName,
vtkm::Id
numOfBins);
31
32
private
:
33
VTKM_CONT
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
34
35
std::vector<vtkm::Id>
NumOfBins
;
36
std::vector<std::string>
FieldNames
;
37
};
38
}
// namespace density_estimate
39
}
// namespace filter
40
}
// namespace vtkm
41
42
#endif //vtk_m_filter_density_estimate_NDEntropy_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::filter::density_estimate::NDEntropy
Calculate the entropy of input N-Dims fields.
Definition:
NDEntropy.h:26
vtkm::cont::DataSet
Definition:
DataSet.h:34
vtkm::Id
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition:
Types.h:191
FilterField.h
vtkm::filter::FilterField
Definition:
FilterField.h:21
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::filter::density_estimate::NDEntropy::FieldNames
std::vector< std::string > FieldNames
Definition:
NDEntropy.h:36
vtkm::filter::density_estimate::NDEntropy::NumOfBins
std::vector< vtkm::Id > NumOfBins
Definition:
NDEntropy.h:35
Generated by
1.8.17