Class ScaleXY
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.mpp.init.MarksInitialization>
org.anchoranalysis.mpp.bean.MarksBean<T>
org.anchoranalysis.mpp.bean.provider.MarksBaseProvider<org.anchoranalysis.mpp.bean.provider.MarkCollectionProvider,org.anchoranalysis.mpp.mark.MarkCollection>
org.anchoranalysis.mpp.bean.provider.MarkCollectionProvider
org.anchoranalysis.plugin.mpp.bean.provider.collection.ScaleXY
- All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.mpp.mark.MarkCollection>
public class ScaleXY
extends org.anchoranalysis.mpp.bean.provider.MarkCollectionProvider
Scales the X and Y coordinates of marks in a
MarkCollection using a ScaleCalculator.-
Constructor Summary
Constructors Constructor Description ScaleXY() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.mpp.mark.MarkCollectionget()org.anchoranalysis.mpp.bean.provider.MarkCollectionProvidergetMarks()The provider for theMarkCollectionto be scaled.org.anchoranalysis.image.bean.spatial.ScaleCalculatorgetScaleCalculator()TheScaleCalculatorused to determine the scaling factor.voidsetMarks(org.anchoranalysis.mpp.bean.provider.MarkCollectionProvider marks)The provider for theMarkCollectionto be scaled.voidsetScaleCalculator(org.anchoranalysis.image.bean.spatial.ScaleCalculator scaleCalculator)TheScaleCalculatorused to determine the scaling factor.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
-
Constructor Details
-
ScaleXY
public ScaleXY()
-
-
Method Details
-
get
public org.anchoranalysis.mpp.mark.MarkCollection get() throws org.anchoranalysis.bean.xml.exception.ProvisionFailedException- Throws:
org.anchoranalysis.bean.xml.exception.ProvisionFailedException
-
getMarks
public org.anchoranalysis.mpp.bean.provider.MarkCollectionProvider getMarks()The provider for theMarkCollectionto be scaled. -
setMarks
public void setMarks(org.anchoranalysis.mpp.bean.provider.MarkCollectionProvider marks)The provider for theMarkCollectionto be scaled. -
getScaleCalculator
public org.anchoranalysis.image.bean.spatial.ScaleCalculator getScaleCalculator()TheScaleCalculatorused to determine the scaling factor. -
setScaleCalculator
public void setScaleCalculator(org.anchoranalysis.image.bean.spatial.ScaleCalculator scaleCalculator)TheScaleCalculatorused to determine the scaling factor.
-