ICF 3.0.5.47
Technical documentation of ICF Libraries
CCaliperParams.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iipr_CCaliperParams_included
7#define iipr_CCaliperParams_included
8
9
10#include <iipr/ICaliperParams.h>
11
12
13namespace iipr
14{
15
16
17class CCaliperParams: virtual public ICaliperParams
18{
19public:
21
22 // reimplemented (iipr::ICaliperParams)
23 virtual double GetWeightThreshold() const;
24 virtual void SetWeightThreshold(double threshold);
25 virtual int GetPolarityMode() const;
26 virtual void SetPolarityMode(int mode);
27 virtual int GetDirectionMode() const;
28 virtual void SetDirectionMode(int mode);
29
30 // reimplemented (iser::ISerializable)
31 virtual bool Serialize(iser::IArchive& archive);
32
33private:
34 double m_weightThreshold;
35 int m_polarityMode;
36 int m_directionMode;
37};
38
39
40} // namespace iipr
41
42
43#endif // !iipr_CCaliperParams_included
44
45
virtual int GetDirectionMode() const
Get direction mode.
virtual void SetWeightThreshold(double threshold)
Set feature weight threshold will be used to cut weak fetures off.
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
virtual int GetPolarityMode() const
Get polarity mode.
virtual void SetPolarityMode(int mode)
Set polarity mode.
virtual double GetWeightThreshold() const
Get feature weight threshold will be used to cut weak fetures off.
virtual void SetDirectionMode(int mode)
Set direction mode.
Represent input/output persistence archive.
Definition IArchive.h:33
Contains the image processing classes.

© Witold Gantzke and Kirill Lepskiy