public abstract class Overlay extends Object implements Identifiable
Constructor and Description |
---|
Overlay() |
Modifier and Type | Method and Description |
---|---|
abstract BoundingBox |
box(DrawOverlay overlayWriter,
Dimensions dimensions)
A bounding-box around the overlay
|
abstract ObjectWithProperties |
createObject(DrawOverlay overlayWriter,
Dimensions dimEntireImage,
BinaryValuesByte bvOut) |
abstract ObjectWithProperties |
createScaleObject(DrawOverlay overlayWriter,
double zoomFactorNew,
ObjectWithProperties om,
Overlay ol,
Dimensions dimensionsUnscaled,
Dimensions dimensionsScaled,
BinaryValuesByte bvOut) |
abstract boolean |
equals(Object obj) |
abstract OverlayProperties |
generateProperties(Optional<Resolution> resolution) |
abstract int |
hashCode() |
abstract boolean |
isPointInside(DrawOverlay overlayWriter,
Point3i point)
Is a point inside an overlay? (for a particular OverlayWriter).
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIdentifier
public abstract BoundingBox box(DrawOverlay overlayWriter, Dimensions dimensions)
overlayWriter
- dimensions
- The dimensions of the containing-scenepublic abstract ObjectWithProperties createScaleObject(DrawOverlay overlayWriter, double zoomFactorNew, ObjectWithProperties om, Overlay ol, Dimensions dimensionsUnscaled, Dimensions dimensionsScaled, BinaryValuesByte bvOut) throws CreateException
CreateException
public abstract ObjectWithProperties createObject(DrawOverlay overlayWriter, Dimensions dimEntireImage, BinaryValuesByte bvOut) throws CreateException
CreateException
public abstract boolean isPointInside(DrawOverlay overlayWriter, Point3i point)
overlayWriter
- point
- public abstract OverlayProperties generateProperties(Optional<Resolution> resolution)
Copyright © 2010–2021 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.