Package boofcv.alg.fiducial.qrcode
Class QrGeneratorBase<T extends QrGeneratorBase<T>>
java.lang.Object
boofcv.alg.fiducial.qrcode.QrGeneratorBase<T>
- Direct Known Subclasses:
MicroQrCodeGenerator
,QrCodeGenerator
public abstract class QrGeneratorBase<T extends QrGeneratorBase<T>> extends Object
Base class for rendering QR and Micro QR
-
Field Summary
Fields Modifier and Type Field Description protected List<Point2D_I32>
bitLocations
double
markerWidth
How wide the square which encloses the marker isprotected double
moduleWidth
protected int
numModules
protected FiducialRenderEngine
render
Used to render the markerprotected boolean
renderData
-
Constructor Summary
Constructors Modifier Constructor Description protected
QrGeneratorBase()
protected
QrGeneratorBase(double markerWidth)
-
Method Summary
Modifier and Type Method Description protected void
positionPattern(double x, double y, Polygon2D_F64 where)
T
setMarkerWidth(double value)
T
setRender(FiducialRenderEngine render)
protected void
square(int row, int col)
protected void
timingPattern(double x, double y, double slopeX, double slopeY, int length)
-
Field Details
-
markerWidth
public double markerWidthHow wide the square which encloses the marker is -
renderData
protected boolean renderData -
moduleWidth
protected double moduleWidth -
numModules
protected int numModules -
bitLocations
-
render
Used to render the marker
-
-
Constructor Details
-
QrGeneratorBase
protected QrGeneratorBase(double markerWidth) -
QrGeneratorBase
protected QrGeneratorBase()
-
-
Method Details
-
positionPattern
-
timingPattern
protected void timingPattern(double x, double y, double slopeX, double slopeY, int length) -
square
protected void square(int row, int col) -
setMarkerWidth
-
setRender
-