Package boofcv.pdf

Class PdfFiducialEngine

public class PdfFiducialEngine
extends FiducialRenderEngine
Renders fiducials to PDF documents.
  • Field Summary

    Modifier and Type Field Description
    org.apache.pdfbox.pdmodel.PDDocument document  
    Color markerColor  
    double markerHeight  
    double markerWidth  
    double offsetX  
    double offsetY  
    org.apache.pdfbox.pdmodel.PDPageContentStream pcs  
  • Constructor Summary

    Constructor Description
    PdfFiducialEngine​(org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.pdmodel.PDPageContentStream pcs, double markerWidth, double markerHeight)  
  • Method Summary

    Modifier and Type Method Description
    float adjustX​(double x)  
    float adjustY​(double y)  
    void circle​(double cx, double cy, double r)  
    void draw​(GrayU8 image, double x0, double y0, double x1, double y1)  
    void init()
    Init needs to be called for each new fiducial.
    void inputToDocument​(double x, double y, Point2D_F64 document)  
    void rectangle​(double x0, double y0, double x1, double y1)  
    void setGray​(double value)
    Sets the gray scale value of the shape.
    void square​(double x0, double y0, double width0, double thickness)  

    Methods inherited from class boofcv.alg.drawing.FiducialRenderEngine


    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • document

      public org.apache.pdfbox.pdmodel.PDDocument document
    • pcs

      public org.apache.pdfbox.pdmodel.PDPageContentStream pcs
    • offsetX

      public double offsetX
    • offsetY

      public double offsetY
    • markerWidth

      public double markerWidth
    • markerHeight

      public double markerHeight
    • markerColor

      public Color markerColor
  • Constructor Details

    • PdfFiducialEngine

      public PdfFiducialEngine​(org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.pdmodel.PDPageContentStream pcs, double markerWidth, double markerHeight)
  • Method Details