Class Draw2dTargetsPipe.Draw2dTargetsParams

java.lang.Object
org.photonvision.vision.pipe.impl.Draw2dTargetsPipe.Draw2dTargetsParams
Direct Known Subclasses:
Draw2dAprilTagsPipe.Draw2dAprilTagsParams, Draw2dArucoPipe.Draw2dArucoParams
Enclosing class:
Draw2dTargetsPipe

public static class Draw2dTargetsPipe.Draw2dTargetsParams extends Object
  • Field Details

    • kPixelsToText

      public double kPixelsToText
    • kPixelsToThickness

      public double kPixelsToThickness
    • kPixelsToOffset

      public double kPixelsToOffset
    • kPixelsToBoxThickness

      public double kPixelsToBoxThickness
    • kPixelsToCentroidRadius

      public double kPixelsToCentroidRadius
    • showCentroid

      public boolean showCentroid
    • showRotatedBox

      public boolean showRotatedBox
    • showShape

      public boolean showShape
    • showMaximumBox

      public boolean showMaximumBox
    • showContourNumber

      public boolean showContourNumber
    • centroidColor

      public Color centroidColor
    • rotatedBoxColor

      public Color rotatedBoxColor
    • maximumBoxColor

      public Color maximumBoxColor
    • shapeOutlineColour

      public Color shapeOutlineColour
    • textColor

      public Color textColor
    • circleColor

      public Color circleColor
    • showMultipleTargets

      public final boolean showMultipleTargets
    • shouldDraw

      public final boolean shouldDraw
    • divisor

      public final FrameDivisor divisor
  • Constructor Details

    • Draw2dTargetsParams

      public Draw2dTargetsParams(boolean shouldDraw, boolean showMultipleTargets, FrameDivisor divisor)
  • Method Details

    • shouldShowRotatedBox

      public boolean shouldShowRotatedBox(CVShape shape)
    • shouldShowCircle

      public boolean shouldShowCircle(CVShape shape)