krita

kis_basic_math_toolbox.h

00001 /*
00002  *  This file is part of the KDE project
00003  *
00004  *  Copyright (c) 2005 Cyrille Berger <cberger@cberger.net>
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; either version 2 of the License, or
00009  *  (at your option) any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program; if not, write to the Free Software
00018  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019  */
00020 
00021 #ifndef KIS_BASIC_MATH_TOOLBOX_H
00022 #define KIS_BASIC_MATH_TOOLBOX_H
00023 
00024 #include "kis_math_toolbox.h"
00025 
00030 class KisBasicMathToolbox : public KisMathToolbox
00031 {
00032     public:
00033         KisBasicMathToolbox();
00034         ~KisBasicMathToolbox();
00035     public:
00036         virtual KisWavelet* fastWaveletTransformation(KisPaintDeviceSP src, const QRect&,  KisWavelet* buff = 0);
00037         virtual void fastWaveletUntransformation(KisPaintDeviceSP dst, const QRect&, KisWavelet* wav, KisWavelet* buff = 0);
00038     private:
00039         void wavetrans(KisWavelet* wav, KisWavelet* buff, uint halfsize);
00040         void waveuntrans(KisWavelet* wav, KisWavelet* buff, uint halfsize);
00041 
00042 };
00043 
00044 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys