VAPoR  0.1
Public Member Functions | List of all members
VAPoR::WaveletBlock1D Class Reference

A block-based, 1D wavelet transformer. More...

#include <WaveletBlock1D.h>

Inheritance diagram for VAPoR::WaveletBlock1D:
VetsUtil::MyBase

Public Member Functions

 WaveletBlock1D (unsigned int bs, unsigned int n, unsigned int ntilde)
 
virtual ~WaveletBlock1D ()
 
void ForwardTransform (const float *src_blk_ptr, float *lambda_blk_ptr, float *gamma_blk_ptr)
 
void InverseTransform (const float *lambda_blk_ptr, const float *gamma_blk_ptr, float *dst_blk_ptr)
 
- Public Member Functions inherited from VetsUtil::MyBase
 MyBase ()
 
const string & getClassName () const
 

Additional Inherited Members

- Public Types inherited from VetsUtil::MyBase
typedef void(* ErrMsgCB_T) (const char *msg, int err_code)
 
typedef void(* DiagMsgCB_T) (const char *msg)
 
- Static Public Member Functions inherited from VetsUtil::MyBase
static void SetErrMsg (const char *format,...)
 Record a formatted error message. More...
 
static void SetErrMsg (int errcode, const char *format,...)
 Record a formatted error message and an error code. More...
 
static const char * GetErrMsg ()
 
static void SetErrCode (int err_code)
 Record an error code. More...
 
static int GetErrCode ()
 Retrieve the current error code. More...
 
static void SetErrMsgCB (ErrMsgCB_T cb)
 
static ErrMsgCB_T GetErrMsgCB ()
 
static void SetErrMsgFilePtr (FILE *fp)
 
static const FILE * SetErrMsgFilePtr ()
 
static void SetDiagMsg (const char *format,...)
 Record a formatted diagnostic message. More...
 
static const char * GetDiagMsg ()
 
static void SetDiagMsgCB (DiagMsgCB_T cb)
 
static DiagMsgCB_T GetDiagMsgCB ()
 
static void SetDiagMsgFilePtr (FILE *fp)
 
static bool EnableErrMsg (bool enable)
 
- Static Public Attributes inherited from VetsUtil::MyBase
static char * ErrMsg
 
static int ErrCode
 
static int ErrMsgSize
 
static FILE * ErrMsgFilePtr
 
static ErrMsgCB_T ErrMsgCB
 
static char * DiagMsg
 
static int DiagMsgSize
 
static FILE * DiagMsgFilePtr
 
static DiagMsgCB_T DiagMsgCB
 
static bool Enabled
 
- Protected Member Functions inherited from VetsUtil::MyBase
void SetClassName (const string &name)
 

Detailed Description

A block-based, 1D wavelet transformer.

Author
John Clyne
Version
$Revision$
Date
$Date$

This class provides a 1D, block-based wavelet transform API based on Wim Swelden's Liftpack library.

Definition at line 26 of file WaveletBlock1D.h.

Constructor & Destructor Documentation

VAPoR::WaveletBlock1D::WaveletBlock1D ( unsigned int  bs,
unsigned int  n,
unsigned int  ntilde 
)

Constructor for the WaveletBlock1D class.

Parameters
[in]bsBlock length
[in]Numberof wavelet filter coefficients. Valid values are from 1 to Lifting1D::MAX_FILTER_COEFF
[in]ntildeNumber of wavelet lifting coefficients. Valid values are from 1 to Lifting1D::MAX_FILTER_COEFF
Note
The success or failure of this constructor can be checked with the GetErrCode() method.
See also
Lifting1D, GetErrCode(),
virtual VAPoR::WaveletBlock1D::~WaveletBlock1D ( )
virtual

Member Function Documentation

void VAPoR::WaveletBlock1D::ForwardTransform ( const float *  src_blk_ptr,
float *  lambda_blk_ptr,
float *  gamma_blk_ptr 
)
void VAPoR::WaveletBlock1D::InverseTransform ( const float *  lambda_blk_ptr,
const float *  gamma_blk_ptr,
float *  dst_blk_ptr 
)

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