~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/dimg/filters/greycstoration/greycstorationfilter.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        setRestorationDefaultSettings();
59
59
    };
60
60
 
61
 
    ~GreycstorationContainer(){};
 
61
    ~GreycstorationContainer() {};
62
62
 
63
63
    void setRestorationDefaultSettings()
64
64
    {
108
108
        btile      = 4;
109
109
 
110
110
        nbIter     = 3;
111
 
        interp     = NearestNeighbor; 
 
111
        interp     = NearestNeighbor;
112
112
 
113
113
        amplitude  = 20.0;
114
114
        sharpness  = 0.2F;
158
158
public:
159
159
 
160
160
    /** Contructor without argument. Before to use it,
161
 
        you need to call in order: setSettings(), setMode(), optionally setInPaintingMask(), 
 
161
        you need to call in order: setSettings(), setMode(), optionally setInPaintingMask(),
162
162
        setOriginalImage(), and necessary setup() at end.
163
163
     */
164
164
    GreycstorationFilter(QObject* parent=0);
166
166
    /** Contructor with all arguments. Ready to use.
167
167
     */
168
168
    GreycstorationFilter(DImg* orgImage,
169
 
                        const GreycstorationContainer& settings,
170
 
                        int mode=Restore,
171
 
                        int newWidth=0, int newHeight=0,
172
 
                        const QImage& inPaintingMask=QImage(),
173
 
                        QObject* parent=0);
 
169
                         const GreycstorationContainer& settings,
 
170
                         int mode=Restore,
 
171
                         int newWidth=0, int newHeight=0,
 
172
                         const QImage& inPaintingMask=QImage(),
 
173
                         QObject* parent=0);
174
174
 
175
175
    ~GreycstorationFilter();
176
176