VTK-m  2.0
Public Types | Public Member Functions | Protected Attributes | List of all members
vtkm::worklet::zfp::Encode2 Struct Reference

#include <ZFPEncode2.h>

Inheritance diagram for vtkm::worklet::zfp::Encode2:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(FieldIn, WholeArrayIn, AtomicArrayInOut bitstream)
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

 Encode2 (const vtkm::Id2 dims, const vtkm::Id2 paddedDims, const vtkm::UInt32 maxbits)
 
template<class InputScalarPortal , typename BitstreamPortal >
VTKM_EXEC void operator() (const vtkm::Id blockIdx, const InputScalarPortal &scalars, BitstreamPortal &stream) const
 

Protected Attributes

vtkm::Id2 Dims
 
vtkm::Id2 PaddedDims
 
vtkm::Id2 ZFPDims
 
vtkm::UInt32 MaxBits
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::zfp::Encode2::ControlSignature = void(FieldIn, WholeArrayIn, AtomicArrayInOut bitstream)

Constructor & Destructor Documentation

◆ Encode2()

vtkm::worklet::zfp::Encode2::Encode2 ( const vtkm::Id2  dims,
const vtkm::Id2  paddedDims,
const vtkm::UInt32  maxbits 
)
inline

Member Function Documentation

◆ operator()()

template<class InputScalarPortal , typename BitstreamPortal >
VTKM_EXEC void vtkm::worklet::zfp::Encode2::operator() ( const vtkm::Id  blockIdx,
const InputScalarPortal &  scalars,
BitstreamPortal &  stream 
) const
inline

Member Data Documentation

◆ Dims

vtkm::Id2 vtkm::worklet::zfp::Encode2::Dims
protected

◆ MaxBits

vtkm::UInt32 vtkm::worklet::zfp::Encode2::MaxBits
protected

◆ PaddedDims

vtkm::Id2 vtkm::worklet::zfp::Encode2::PaddedDims
protected

◆ ZFPDims

vtkm::Id2 vtkm::worklet::zfp::Encode2::ZFPDims
protected

The documentation for this struct was generated from the following file: