krita

KisBasicMathToolbox Class Reference

#include <kis_basic_math_toolbox.h>

Inheritance diagram for KisBasicMathToolbox:

KisMathToolbox List of all members.

Detailed Description

This class implement KisMathToolbox for most colorspaces, only colorspaces with "angular" channels need to reimplement the functions.

Definition at line 30 of file kis_basic_math_toolbox.h.


Public Member Functions

 KisBasicMathToolbox ()
 ~KisBasicMathToolbox ()
virtual KisWaveletfastWaveletTransformation (KisPaintDeviceSP src, const QRect &, KisWavelet *buff=0)
virtual void fastWaveletUntransformation (KisPaintDeviceSP dst, const QRect &, KisWavelet *wav, KisWavelet *buff=0)

Member Function Documentation

KisMathToolbox::KisWavelet * KisBasicMathToolbox::fastWaveletTransformation ( KisPaintDeviceSP  src,
const QRect &  ,
KisWavelet buff = 0 
) [virtual]

This function reconstruct the layer from the information of a wavelet.

Parameters:
src layer from which the wavelet will be computed
buff if set to 0, the buffer will be initialized by the function, you might want to give a buff to the function if you want to use the same buffer in transformToWavelet and in untransformToWavelet, use initWavelet to initialize the buffer

Implements KisMathToolbox.

Definition at line 115 of file kis_basic_math_toolbox.cpp.

void KisBasicMathToolbox::fastWaveletUntransformation ( KisPaintDeviceSP  dst,
const QRect &  ,
KisWavelet wav,
KisWavelet buff = 0 
) [virtual]

This function reconstruct the layer from the information of a wavelet.

Parameters:
dst layer on which the wavelet will be untransform
wav the wavelet
buff if set to 0, the buffer will be initialized by the function, you might want to give a buff to the function if you want to use the same buffer in transformToWavelet and in untransformToWavelet, use initWavelet to initialize the buffer

Implements KisMathToolbox.

Definition at line 128 of file kis_basic_math_toolbox.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys