CDeformationResistedBarcode Class
The CDeformationResistedBarcode class represents a deformation resisted barcode.
Definition
Namespace: dynamsoft::dbr::intermediate_results
Assembly: DynamsoftBarcodeReader
class CDeformationResistedBarcode
Methods
| Method | Description |
|---|---|
CDeformationResistedBarcode |
Constructs a CDeformationResistedBarcode object with default parameters. |
CDeformationResistedBarcode(CDeformationResistedBarcode&& barcode) |
Move constructor for CDeformationResistedBarcode. |
CDeformationResistedBarcode(const CImageData* img, FreeImageFunc freeImageFunc, const CQuadrilateral& location, BarcodeFormat format) |
Constructs a new CDeformationResistedBarcode object with the specified parameters. |
GetFormat |
Gets the format of the deformation resisted barcode. |
SetFormat |
Sets the format of the deformation resisted barcode. |
GetImageData |
Gets the deformation resisted barcode image. |
SetImageData |
Sets the deformation resisted barcode image. |
GetLocation |
Gets the location of the deformation resisted barcode. |
SetLocation |
Sets the location of the deformation resisted barcode. |
operator= |
Move assignment operator for CDeformationResistedBarcode. |
CDeformationResistedBarcode Default Constructor
Constructs a CDeformationResistedBarcode object with default parameters.
CDeformationResistedBarcode();
CDeformationResistedBarcode Move Constructor
Move constructor for CDeformationResistedBarcode.
CDeformationResistedBarcode(CDeformationResistedBarcode&& barcode);
CDeformationResistedBarcode Constructor
Constructs a CDeformationResistedBarcode object with the specified parameters.
CDeformationResistedBarcode(const CImageData* img, FreeImageFunc freeImageFunc, const CQuadrilateral& location, BarcodeFormat format);
Parameters
img The pointer to the deformation resisted barcode image.
freeImageFunc The function pointer to free image.
location The location of the deformation resisted barcode.
format The format of the deformation resisted barcode.
GetFormat
Gets the format of the deformation resisted barcode.
BarcodeFormat GetFormat() const;
Return value
Returns the format of the deformation resisted barcode.
See Also
SetFormat
Sets the format of the deformation resisted barcode.
void SetFormat(BarcodeFormat format);
Parameters
format The format of the deformation resisted barcode.
See Also
GetImageData
Gets the deformation resisted barcode image.
const CImageData* GetImageData() const;
Return value
Returns the pointer to the deformation resisted barcode image.
See Also
SetImageData
Sets the deformation resisted barcode image.
void SetImageData(const CImageData* img, FreeImageFunc freeImageFunc);
Parameters
img The pointer to the deformation resisted barcode image.
freeImageFunc The function pointer to free image.
See Also
GetLocation
Gets the location of the deformation resisted barcode.
CQuadrilateral GetLocation() const;
Return value
Returns the location of the deformation resisted barcode.
See Also
SetLocation
Sets the location of the deformation resisted barcode.
void SetLocation(const CQuadrilateral& loc);
Parameters
loc The location of the deformation resisted barcode.
See Also
operator=
Move assignment operator for CDeformationResistedBarcode.
CDeformationResistedBarcode& operator=(CDeformationResistedBarcode&& barcode);
Parameters
barcode The rvalue reference to another CDeformationResistedBarcode object.
Return value
A reference to the moved CDeformationResistedBarcode object.