3#include "reader_config_base.hpp"
11 using namespace Internal;
31 if (mirrored_ != mirrored)
55 if (quietzoneWidth < 2 || quietzoneWidth > 10)
57 if (quietzoneWidth_ !=
static_cast<short>(quietzoneWidth))
59 quietzoneWidth_ =
static_cast<short>(quietzoneWidth);
70 return quietzoneWidth_;
82 if (threshold < 0 || threshold > 100)
84 if (threshold_ !=
static_cast<short>(threshold))
86 threshold_ =
static_cast<short>(threshold);
102 short quietzoneWidth_;
114 using ReaderFourStateConfigBase = Config::ReaderFourStateConfigBase;
Configuration to access parameters of ReaderConfigBase.
Definition: reader_config_base.hpp:20
Configuration to access parameters of ReaderFourStateConfigBase.
Definition: reader_four_state_config_base.hpp:20
bool Mirrored() const
Returns whether the code is mirrored/not mirrored.
Definition: reader_four_state_config_base.hpp:42
void SetMirrored(bool mirrored)
Sets whether the code is mirrored/not mirrored.
Definition: reader_four_state_config_base.hpp:29
int QuietzoneWidth() const
Returns the quiet zone in module width.
Definition: reader_four_state_config_base.hpp:68
void SetQuietzoneWidth(int quietzoneWidth)
Sets the quiet zone in module width.
Definition: reader_four_state_config_base.hpp:53
void SetThreshold(int threshold)
Sets the digitalisation threshold in percent, ranging from 0 to 100.
Definition: reader_four_state_config_base.hpp:80
int Threshold() const
Returns the digitalisation threshold in percent, ranging from 0 to 100.
Definition: reader_four_state_config_base.hpp:95
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24