Represents a grid of Data Barcodes. More...
#include <eVision/EasyBarCode/EasyBarCode2/EBarCodeGrid.h>
Public Member Functions | |
| EBarCodeGrid () | |
| Creates an EBarCodeGrid object. | |
| EBarCodeGrid (const eVision::EasyBarCode2::EBarCodeGrid &other) | |
| Creates an EBarCodeGrid object. | |
| EBarCodeGrid (uint32_t numCols, uint32_t numRows) | |
| Creates an EBarCodeGrid object. | |
| EBarCodeGrid (uint32_t numCols, uint32_t numRows, const eVision::ERectangle &area, float extension) | |
| Creates an EBarCodeGrid object. | |
| virtual | ~EBarCodeGrid () throw () |
| eVision::EasyBarCode2::EBarCodeGrid & | operator= (const eVision::EasyBarCode2::EBarCodeGrid &other) |
| Assignment operator. | |
| std::vector< eVision::EasyBarCode2::EBarCode > | GetResults (uint32_t column, uint32_t row) const |
| Returns the detected Barcodes. | |
| std::vector< eVision::EasyBarCode2::EBarCode > | GetResults () const |
| Returns the detected Barcodes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, const eVision::EFrame &frame, float zoomX) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, const eVision::EFrame &frame) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, float zoomX, float zoomY, float panX, float panY) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, float zoomX, float zoomY, float panX) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, float zoomX, float zoomY) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options, float zoomX) const |
| Draws the codes. | |
| void | DrawGridCodes (eVision::EDrawAdapter *drawAdapter, const eVision::EasyBarCode2::EBarCodeGridDrawOptions &options) const |
| Draws the codes. | |
| EBarCodeGrid (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::EGrid | |
| EGrid () | |
| Constructs a EGrid object. | |
| EGrid (uint32_t numCellsX, uint32_t numCellsY, const eVision::ERectangle &area, float extension) | |
| Constructs a EGrid object. | |
| EGrid (const eVision::EGrid &other) | |
| Constructs a EGrid object. | |
| virtual | ~EGrid () throw () |
| eVision::EGrid & | operator= (const eVision::EGrid &other) |
| Copies all the data from another EGrid object into the current EGrid object. | |
| uint32_t | GetNumRows () const |
| Returns the number of rows in the grid. | |
| uint32_t | GetNumCols () const |
| Returns the number of columns in the grid. | |
| void | SetEnableRow (uint32_t row, bool enable) |
| Enable/Disable Row. | |
| void | SetEnableColumn (uint32_t column, bool enable) |
| Enable/Disable Column. | |
| void | SetEnableCell (uint32_t column, uint32_t row, bool enable) |
| Enable/Disable Cell. | |
| void | SetEnableAll (bool enable) |
| Enable/Disable all cells. | |
| bool | GetCellEnabled (uint32_t column, uint32_t row) const |
| Returns true if Cell is enabled and false otherwise. | |
| eVision::ERegion | GetCellRegion (uint32_t column, uint32_t row) |
| Returns the region of a grid cell given its indices in an EGrid object. | |
| void | SetArea (const eVision::ERectangle &area) |
| Set the area of an EGrid object. | |
| eVision::ERectangle | GetArea () const |
| Returns the area of an EGrid object. | |
| void | SetExtension (float extension) |
| Set the extension of an EGrid object. | |
| float | GetExtension () const |
| Returns the extension of an EGrid object. | |
| void | DrawGrid (eVision::EDrawAdapter *drawAdapter, const eVision::EGridDrawOptions &options, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the grid. | |
| void | DrawGrid (eVision::EDrawAdapter *drawAdapter, const eVision::EGridDrawOptions &options, float zoomX, float zoomY, float panX, float panY) const |
| Draws the grid. | |
| eVision::EEditionMode | HitTest (int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int x, int y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) |
| Detects if the cursor is placed over one of the dragging handles. | |
| virtual void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| virtual void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| virtual void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| virtual void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| virtual void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| void | Drag (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| void | Drag (int32_t x, int32_t y, float zoomX, float zoomY, float panX) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| void | Drag (int32_t x, int32_t y, float zoomX, float zoomY) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| void | Drag (int32_t x, int32_t y, float zoomX) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| void | Drag (int32_t x, int32_t y) |
| Moves the specified handle to a new position and updates all placement parameters of the grid. | |
| void | SetEditionMode (eVision::EEditionMode editionMode) |
| Graphical edition mode. | |
| eVision::EEditionMode | GetEditionMode () const |
| Graphical edition mode. | |
| void | Load (const std::string &path) |
| Load the EGrid configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EGrid configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EGrid configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EGrid configuration. The given ESerializer must have been created for writing. | |
| EGrid (CppWrapperInternal::InternalConstructor) | |
Additional Inherited Members | |
| Public Attributes inherited from eVision::EGrid | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Represents a grid of Data Barcodes.
License(s): EasyBarCode
| eVision::EasyBarCode2::EBarCodeGrid::EBarCodeGrid | ( | ) |
Creates an EBarCodeGrid object.
| eVision::EasyBarCode2::EBarCodeGrid::EBarCodeGrid | ( | const eVision::EasyBarCode2::EBarCodeGrid & | other | ) |
Creates an EBarCodeGrid object.
| other | The reference EBarCodeGrid instance to copy this one from. |
| eVision::EasyBarCode2::EBarCodeGrid::EBarCodeGrid | ( | uint32_t | numCols, |
| uint32_t | numRows ) |
Creates an EBarCodeGrid object.
| numCols | The number of columns in the grid. |
| numRows | The number of rows in the grid. |
| eVision::EasyBarCode2::EBarCodeGrid::EBarCodeGrid | ( | uint32_t | numCols, |
| uint32_t | numRows, | ||
| const eVision::ERectangle & | area, | ||
| float | extension ) |
Creates an EBarCodeGrid object.
| numCols | The number of columns in the grid. |
| numRows | The number of rows in the grid. |
| area | The area of the grid. |
| extension | The extension of the grid. |
|
virtual | ||||||||||||
| eVision::EasyBarCode2::EBarCodeGrid::EBarCodeGrid | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| const eVision::EFrame & | frame ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| frame | Frame associated with the grid. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| frame | Frame associated with the grid. |
| zoomX | Horizontal zooming factor. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| frame | Frame associated with the grid. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| frame | Frame associated with the grid. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| frame | Frame associated with the grid. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| float | zoomX ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| zoomX | Horizontal zooming factor. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| void eVision::EasyBarCode2::EBarCodeGrid::DrawGridCodes | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EasyBarCode2::EBarCodeGridDrawOptions & | options, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the codes.
| drawAdapter | Handle to the device context of the destination window. |
| options | Options for codes drawing. |
| zoomX | Horizontal zooming factor. |
| zoomY | Vertical zooming factor. If set to 0, the horizontal zooming factor will be used for isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
The zoomX, zoomY, panX and panY parameters can be used to scale and/or translate the drawing operations.
| std::vector< eVision::EasyBarCode2::EBarCode > eVision::EasyBarCode2::EBarCodeGrid::GetResults | ( | ) | const |
Returns the detected Barcodes.
| std::vector< eVision::EasyBarCode2::EBarCode > eVision::EasyBarCode2::EBarCodeGrid::GetResults | ( | uint32_t | column, |
| uint32_t | row ) const |
Returns the detected Barcodes.
| column | The column of a cell. |
| row | The row of a cell. |
| eVision::EasyBarCode2::EBarCodeGrid & eVision::EasyBarCode2::EBarCodeGrid::operator= | ( | const eVision::EasyBarCode2::EBarCodeGrid & | other | ) |
Assignment operator.
| other | The EBarCodeGrid instance to assign. |