VTK-m  2.2
ZFPDecompressor1D.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_ZFPDecompressor1D_h
12 #define vtk_m_filter_zfp_ZFPDecompressor1D_h
13 
14 #include <vtkm/filter/Filter.h>
16 
17 namespace vtkm
18 {
19 namespace filter
20 {
21 namespace zfp
22 {
23 
31 {
32 public:
34  void SetRate(vtkm::Float64 _rate) { rate = _rate; }
36  vtkm::Float64 GetRate() { return rate; }
37 
38 private:
39  VTKM_CONT vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& input) override;
40 
41  vtkm::Float64 rate = 0;
42 };
43 } // namespace zfp
44 } // namespace filter
45 } // namespace vtkm
46 
47 #endif // vtk_m_filter_zfp_ZFPDecompressor1D_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::filter::zfp::ZFPDecompressor1D::SetRate
void SetRate(vtkm::Float64 _rate)
Specifies the rate of compression.
Definition: ZFPDecompressor1D.h:34
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
vtkm::filter::zfp::ZFPDecompressor1D
Decompress a scalar field using ZFP.
Definition: ZFPDecompressor1D.h:30
VTKM_FILTER_ZFP_EXPORT
#define VTKM_FILTER_ZFP_EXPORT
Definition: vtkm_filter_zfp_export.h:44
vtkm::filter::zfp::ZFPDecompressor1D::GetRate
vtkm::Float64 GetRate()
Specifies the rate of compression.
Definition: ZFPDecompressor1D.h:36
vtkm_filter_zfp_export.h
vtkm::filter::Filter
Base class for all filters.
Definition: Filter.h:163
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Float64
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:161
Filter.h