VTK-m
2.0
vtkm
filter
zfp
ZFPDecompressor3D.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_zfp_ZFPDecompressor3D_h
12
#define vtk_m_filter_zfp_ZFPDecompressor3D_h
13
14
#include <
vtkm/filter/FilterField.h
>
15
#include <vtkm/filter/zfp/vtkm_filter_zfp_export.h>
16
17
namespace
vtkm
18
{
19
namespace
filter
20
{
21
namespace
zfp
22
{
24
29
class
VTKM_FILTER_ZFP_EXPORT
ZFPDecompressor3D
:
public
vtkm::filter::FilterField
30
{
31
public
:
32
void
SetRate
(
vtkm::Float64
_rate) { rate = _rate; }
33
vtkm::Float64
GetRate
() {
return
rate; }
34
35
private
:
36
VTKM_CONT
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
37
38
vtkm::Float64
rate = 0;
39
};
40
}
// namespace zfp
41
}
// namespace filter
42
}
// namespace vtkm
43
44
#endif // vtk_m_filter_zfp_ZFPDecompressor3D_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::filter::zfp::ZFPDecompressor3D::SetRate
void SetRate(vtkm::Float64 _rate)
Definition:
ZFPDecompressor3D.h:32
vtkm::filter::zfp::ZFPDecompressor3D::GetRate
vtkm::Float64 GetRate()
Definition:
ZFPDecompressor3D.h:33
vtkm::filter::zfp::ZFPDecompressor3D
Compress a scalar field using ZFP.
Definition:
ZFPDecompressor3D.h:29
vtkm::cont::DataSet
Definition:
DataSet.h:34
FilterField.h
vtkm::filter::FilterField
Definition:
FilterField.h:21
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::Float64
double Float64
Definition:
Types.h:155
Generated by
1.8.17