Class ColoredObjects
Object
AnchorBean<StackProvider>
InitializableBean<StackProvider, ImageInitialization>
ImageBean<StackProvider>
BeanProviderAsStackBase<StackProvider, Stack>
StackProvider
ColoredBase
ColoredBaseWithGenerator
ColoredObjects
- All Implemented Interfaces:
Provider<Stack>,ProviderAsStack
Draws a colored representation (outline or filled) of an
ObjectCollection on a background- Author:
- Owen Feehan
-
Field Summary
Fields inherited from class org.anchoranalysis.plugin.image.bean.stack.provider.color.ColoredBase
DEFAULT_COLOR_SET_GENERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObjectCollectionProviderObjects to draw on a backgroundprotected ObjectCollectionobjectsToDraw(Dimensions backgroundDimensions) The objects to draw (without any colors) on the background.voidsetObjects(ObjectCollectionProvider objects) Objects to draw on a backgroundMethods inherited from class org.anchoranalysis.plugin.image.bean.stack.provider.color.ColoredBaseWithGenerator
coloredObjectsToDraw, getColors, setColorsMethods inherited from class org.anchoranalysis.plugin.image.bean.stack.provider.color.ColoredBase
get, getBackground, getDisplayer, getOutlineWidth, isFlatten, isOutline, isSuppressOutlineZ, setBackground, setDisplayer, setFlatten, setOutline, setOutlineWidth, setSuppressOutlineZMethods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider
getAsStackMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ColoredObjects
public ColoredObjects()
-
-
Method Details
-
objectsToDraw
protected ObjectCollection objectsToDraw(Dimensions backgroundDimensions) throws CreateException Description copied from class:ColoredBaseWithGeneratorThe objects to draw (without any colors) on the background.- Specified by:
objectsToDrawin classColoredBaseWithGenerator- Parameters:
backgroundDimensions- the dimensions of the background.- Returns:
- the
ObjectCollectionto be drawn on the background. - Throws:
CreateException- if the objects cannot be created.
-
getObjects
public ObjectCollectionProvider getObjects()Objects to draw on a background -
setObjects
public void setObjects(ObjectCollectionProvider objects) Objects to draw on a background
-