Package qupath.lib.gui.viewer.overlays
Class ZProjectOverlay
java.lang.Object
qupath.lib.gui.viewer.overlays.AbstractOverlay
qupath.lib.gui.viewer.overlays.AbstractImageOverlay
qupath.lib.gui.viewer.overlays.ZProjectOverlay
- All Implemented Interfaces:
- PathOverlay
- 
Property SummaryPropertiesProperties inherited from class qupath.lib.gui.viewer.overlays.AbstractImageOverlayinterpolation
- 
Nested Class SummaryNested classes/interfaces inherited from class qupath.lib.gui.viewer.overlays.AbstractOverlayAbstractOverlay.LocationStringFunction
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ZProjectOverlaycreate(QuPathViewer viewer) Gets the value of theprojectionproperty.Get theImageRendererused with this overlay, which may be null.voidpaintOverlay(Graphics2D g2d, ImageRegion imageRegion, double downsampleFactor, ImageData<BufferedImage> imageData, boolean paintCompletely) Paint the overlay to a graphics object.Get theImageRendererproperty used with this overlay.voidsetProjection(ZProjectedImageServer.Projection projection) Sets the value of theprojectionproperty.voidsetRenderer(ImageRenderer renderer) Set theImageRendererproperty used with this overlay.Methods inherited from class qupath.lib.gui.viewer.overlays.AbstractImageOverlaygetInterpolation, interpolationProperty, setInterpolation, setInterpolationMethods inherited from class qupath.lib.gui.viewer.overlays.AbstractOverlaygetAlphaComposite, getLocationString, getLocationStringFunction, getOpacity, getOverlayOptions, getPreferredOverlayColor, isVisible, setAlphaComposite, setLocationStringFunction, setOpacity, setPreferredOverlayColor
- 
Property Details- 
projection- See Also:
 
- 
rendererGet theImageRendererproperty used with this overlay.- See Also:
 
 
- 
- 
Constructor Details- 
ZProjectOverlay
 
- 
- 
Method Details- 
create
- 
getProjectionGets the value of theprojectionproperty.- Property description:
- Returns:
- the value of the projectionproperty
- See Also:
 
- 
projectionProperty- Returns:
- the projectionproperty
- See Also:
 
- 
setProjectionSets the value of theprojectionproperty.- Property description:
- Parameters:
- projection- the value for the- projectionproperty
- See Also:
 
- 
rendererPropertyGet theImageRendererproperty used with this overlay.- Returns:
- See Also:
 
- 
setRendererSet theImageRendererproperty used with this overlay.
- 
getRendererGet theImageRendererused with this overlay, which may be null.- Returns:
 
- 
paintOverlaypublic void paintOverlay(Graphics2D g2d, ImageRegion imageRegion, double downsampleFactor, ImageData<BufferedImage> imageData, boolean paintCompletely) Description copied from interface:PathOverlayPaint the overlay to a graphics object. The graphics object will have a transform applied to it, so the painting should make use of coordinates in the original image space.- Specified by:
- paintOverlayin interface- PathOverlay
- Overrides:
- paintOverlayin class- AbstractImageOverlay
- Parameters:
- g2d- Graphics2D object to which drawing should be performed. This should have any transform already applied to it.
- imageRegion- The maximum image region that should be shown.
- downsampleFactor- The downsample factor at which the overlay will be viewed. There is no need for rescaling according to this value since it has already been applied to the- Graphics2Das part of its- AffineTransform, however it may optionally be needed within the method e.g. to correct line thicknesses.
- imageData- the- ImageDataassociated with this overlay. If the overlay is being displayed on a viewer, this is the- ImageDataopen within the viewer. Not all overlays require this, and it may be null.
- paintCompletely- If true, the method is permitted to return without completely painting everything, for performance reasons.
 
 
-