Package boofcv.alg.drawing
Class FiducialRenderEngine
java.lang.Object
boofcv.alg.drawing.FiducialRenderEngine
- Direct Known Subclasses:
FiducialImageEngine
,FiducialRenderEngineGraphics2D
,PdfFiducialEngine
Interface for rendering fiducials to different document types. All units are in
document specific units.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
circle
(double cx, double cy, double radius) abstract void
abstract void
init()
Init needs to be called for each new fiducial.abstract void
inputToDocument
(double x, double y, Point2D_F64 document) abstract void
rectangle
(double x0, double y0, double x1, double y1) void
rectangleWH
(double x0, double y0, double width, double height) abstract void
setGray
(double value) Sets the gray scale value of the shape.void
square
(double x0, double y0, double width) abstract void
square
(double x0, double y0, double width0, double thickness)
-
Constructor Details
-
FiducialRenderEngine
public FiducialRenderEngine()
-
-
Method Details
-
init
public abstract void init()Init needs to be called for each new fiducial. -
setGray
public abstract void setGray(double value) Sets the gray scale value of the shape. 0.0 = black. 1.0 = white. -
square
public void square(double x0, double y0, double width) -
circle
public abstract void circle(double cx, double cy, double radius) -
square
public abstract void square(double x0, double y0, double width0, double thickness) -
rectangle
public abstract void rectangle(double x0, double y0, double x1, double y1) -
rectangleWH
public void rectangleWH(double x0, double y0, double width, double height) -
draw
-
inputToDocument
-