public abstract class MarksGeneratorBase extends RasterGeneratorSelectFormat<ColoredMarksWithDisplayStack>
Constructor and Description |
---|
MarksGeneratorBase(DrawOverlay writer,
IdentifierGetter<Overlay> idGetter,
RegionMembershipWithFlags regionMembership) |
Modifier and Type | Method and Description |
---|---|
protected abstract DisplayStack |
background(DisplayStack stack) |
StackWriteAttributes |
guaranteedImageAttributes()
Guarantees on the attributes of all images created by the generator.
|
Stack |
transform(ColoredMarksWithDisplayStack element)
Applies any necessary preprocessing to create an element suitable for writing to the
filesystem.
|
selectFileExtension, writeToFile
write, writeWithIndex
public MarksGeneratorBase(DrawOverlay writer, IdentifierGetter<Overlay> idGetter, RegionMembershipWithFlags regionMembership)
public Stack transform(ColoredMarksWithDisplayStack element) throws OutputWriteFailedException
TransformingGenerator
element
- element to be assigned and then transformedOutputWriteFailedException
- if anything goes wrongpublic StackWriteAttributes guaranteedImageAttributes()
RasterGenerator
guaranteedImageAttributes
in class RasterGenerator<ColoredMarksWithDisplayStack>
protected abstract DisplayStack background(DisplayStack stack) throws OperationFailedException
OperationFailedException
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.