CVB++ 14.0
DataMatrixGrading Class Reference

Configuration to access parameters of DataMatrixGrading. More...

#include <cvb/barcode/_detail/data_matrix_grading.hpp>

Inherits Grader2DConfigBase.

Public Member Functions

void SetGradePrintGrowth (bool printGrowth)
 Activates (true) or deactivates (false) the print growth when grading. More...
 
bool GradePrintGrowth () const
 Activates (true) or deactivates (false) the print growth when grading. More...
 
- Public Member Functions inherited from Grader2DConfigBase
void SetGradeAngleOfDistortion (bool angleOfDistortion)
 Activates (true) or deactivates (false) the calculation of the angle of distortion. This value does not enter the calculation of the scan grade value. More...
 
bool GradeAngleOfDistortion () const
 Returns whether it activates/deactives the calculation of the angle of distortion. This value does not enter the calculation of the scan grade value. More...
 
void SetGradeAxialNonUniformity (bool axialNonUniformity)
 Activates (true) or deactivates (false) the calculation of the axial_nonuniformity grade. More...
 
bool GradeAxialNonUniformity () const
 Returns whether it activates (true) or deactivates (false) the calculation of the axial nonuniformity grade. More...
 
void SetGradeFixedPatternDamage (bool fixedPatternDamage)
 Activates (true) or deactivates (false) the calculation of the fixed pattern damage grade. More...
 
bool GradeFixedPatternDamage () const
 Returns whether it activates (true) or deactivates (false) the calculation of the fixed pattern damage grade. More...
 
void SetGradeGridNonUniformity (bool gridNonUniformity)
 Activates (true) or deactivates (false) the calculation of the grid nonuniformity grade. More...
 
bool GradeGridNonUniformity () const
 Returns whether it activates (true) or deactivates (false) the calculation of the grid nonuniformity grade. More...
 
void SetGradeReflectanceMargin (bool reflectanceMargin)
 Activates (true) or deactivates (false) the calculation of the reflectance margin. More...
 
bool GradeReflectanceMargin () const
 Returns whether it activates (true) or deactivates (false) the calculation of the reflectance margin. More...
 
void SetGradeUnusedErrorCorrection (bool unusedErrorCorrection)
 Activates (true) or deactivates (false) the calculation of the unused error correction grade. More...
 
bool GradeUnusedErrorCorrection () const
 Returns whether it activates (true) or deactivates (false) the calculation of the unused error correction grade. More...
 
- Public Member Functions inherited from GraderConfigBase
void SetGradeModulation (bool modulation)
 Activates (true) or deactivates (false) the calculation of the modulation grade. More...
 
bool GradeModulation () const
 Activates (true) or deactivates (false) the calculation of the modulation grade. More...
 
void SetGradeSymbolContrast (bool symbolContrast)
 Activates (true) or deactivates (false) the calculation of the symbol contrast grade. More...
 
bool GradeSymbolContrast () const
 Activates (true) or deactivates (false) the calculation of the symbol contrast grade. More...
 
void SetReflectanceReference (Cvb::ValueRange< int > reflectanceReference)
 Reflectance Reference Range for contrast calculation. More...
 
Cvb::ValueRange< int > ReflectanceReference () const
 Reflectance Reference Range for contrast calculation. More...
 

Static Public Member Functions

static std::unique_ptr< DataMatrixGradingFromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
 Create object from handle. More...
 

Detailed Description

Configuration to access parameters of DataMatrixGrading.

Member Function Documentation

◆ FromHandle()

static std::unique_ptr< DataMatrixGrading > FromHandle ( const HandleGuard< ReaderConfig > &  guard,
bool &  isActiveOut 
)
inlinestatic

Create object from handle.

Parameters
[in]guardHandle guard to read the configuration from.
[out]isActiveOutReturns the active state of the configuration in the handle.
Returns
unique pointer to object.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradePrintGrowth()

bool GradePrintGrowth ( ) const
inline

Activates (true) or deactivates (false) the print growth when grading.

Returns
Activates (true) or deactivates (false) the print growth when grading.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetSubTypes

◆ SetGradePrintGrowth()

void SetGradePrintGrowth ( bool  printGrowth)
inline

Activates (true) or deactivates (false) the print growth when grading.

Parameters
[in]printGrowthSet to true to measure the print growth when grading.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SubTypes