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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidcircle(double cx, double cy, double radius) abstract voidabstract voidinit()Init needs to be called for each new fiducial.abstract voidinputToDocument(double x, double y, Point2D_F64 document) abstract voidrectangle(double x0, double y0, double x1, double y1) voidrectangleWH(double x0, double y0, double width, double height) abstract voidsetGray(double value) Sets the gray scale value of the shape.voidsquare(double x0, double y0, double width) abstract voidsquare(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
-