Package boofcv.pdf

Class PdfFiducialEngine

java.lang.Object
boofcv.alg.drawing.FiducialRenderEngine
boofcv.pdf.PdfFiducialEngine

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

    Fields
    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

    Constructors
    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​(boofcv.struct.image.GrayU8 image, double x0, double y0, double x1, double y1)  
    void init()  
    void inputToDocument​(double x, double y, Point2D_F64 document)  
    void rectangle​(double x0, double y0, double x1, double y1)  
    void setGray​(double value)  
    void square​(double x0, double y0, double width0, double thickness)  

    Methods inherited from class boofcv.alg.drawing.FiducialRenderEngine

    square

    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

    • init

      public void init()
      Specified by:
      init in class boofcv.alg.drawing.FiducialRenderEngine
    • setGray

      public void setGray​(double value)
      Specified by:
      setGray in class boofcv.alg.drawing.FiducialRenderEngine
    • circle

      public void circle​(double cx, double cy, double r)
      Specified by:
      circle in class boofcv.alg.drawing.FiducialRenderEngine
    • square

      public void square​(double x0, double y0, double width0, double thickness)
      Specified by:
      square in class boofcv.alg.drawing.FiducialRenderEngine
    • rectangle

      public void rectangle​(double x0, double y0, double x1, double y1)
      Specified by:
      rectangle in class boofcv.alg.drawing.FiducialRenderEngine
    • draw

      public void draw​(boofcv.struct.image.GrayU8 image, double x0, double y0, double x1, double y1)
      Specified by:
      draw in class boofcv.alg.drawing.FiducialRenderEngine
    • inputToDocument

      public void inputToDocument​(double x, double y, Point2D_F64 document)
      Specified by:
      inputToDocument in class boofcv.alg.drawing.FiducialRenderEngine
    • adjustX

      public float adjustX​(double x)
    • adjustY

      public float adjustY​(double y)