org.jplot2d.element.impl
Class ImageBandTransformImpl
- java.lang.Object
-
- org.jplot2d.element.impl.ElementImpl
-
- org.jplot2d.element.impl.ImageBandTransformImpl
-
- All Implemented Interfaces:
- Element, ImageBandTransform, ElementEx, ImageBandTransformEx
public class ImageBandTransformImpl extends ElementImpl implements ImageBandTransformEx
-
-
Constructor Summary
Constructors Constructor and Description ImageBandTransformImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcalcLimits(ImageDataBuffer[] dataBuffers, java.awt.Dimension[] sizeArray)Calculate limits if neededvoidcopyFrom(ElementEx src)Copies all properties from given src to this element.doublegetBias()doublegetGain()java.lang.StringgetId()Returns the id string of this elementIntensityTransformgetIntensityTransform()InvokeStepgetInvokeStepFormParent()Return the invoke step to get this object from its parent.double[]getLimits()LimitsAlgorithmgetLimitsAlgorithm()Returns the LimitsAlgorithmRGBImageMappingExgetParent()Gets the parent of this component.voidrecalcLimits()Called by RGBImageGraphEx when its data changed, to notify the limits of this band need to be recalculated.voidsetBias(double bias)voidsetGain(double gain)voidsetIntensityTransform(IntensityTransform it)voidsetLimitsAlgorithm(LimitsAlgorithm algo)Sets the LimitsAlgorithm-
Methods inherited from class org.jplot2d.element.impl.ElementImpl
copyStructure, getEnvironment, getFullId, notify, setParent, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jplot2d.element.impl.ElementEx
copyStructure, getFullId, notify, setParent
-
Methods inherited from interface org.jplot2d.element.Element
getEnvironment
-
-
-
-
Method Detail
-
getParent
public RGBImageMappingEx getParent()
Description copied from interface:ElementGets the parent of this component.- Specified by:
getParentin interfaceElement- Specified by:
getParentin interfaceImageBandTransform- Specified by:
getParentin interfaceElementEx- Specified by:
getParentin interfaceImageBandTransformEx- Overrides:
getParentin classElementImpl- Returns:
- the parent of this component
-
getId
public java.lang.String getId()
Description copied from interface:ElementReturns the id string of this element
-
getInvokeStepFormParent
public InvokeStep getInvokeStepFormParent()
Description copied from interface:ElementExReturn the invoke step to get this object from its parent.- Specified by:
getInvokeStepFormParentin interfaceElementEx- Returns:
- the invoke step
-
getLimitsAlgorithm
public LimitsAlgorithm getLimitsAlgorithm()
Description copied from interface:ImageBandTransformReturns the LimitsAlgorithm- Specified by:
getLimitsAlgorithmin interfaceImageBandTransform- Returns:
- the LimitsAlgorithm
-
setLimitsAlgorithm
public void setLimitsAlgorithm(LimitsAlgorithm algo)
Description copied from interface:ImageBandTransformSets the LimitsAlgorithm- Specified by:
setLimitsAlgorithmin interfaceImageBandTransform- Parameters:
algo- the LimitsAlgorithm
-
getIntensityTransform
public IntensityTransform getIntensityTransform()
- Specified by:
getIntensityTransformin interfaceImageBandTransform
-
setIntensityTransform
public void setIntensityTransform(IntensityTransform it)
- Specified by:
setIntensityTransformin interfaceImageBandTransform
-
getBias
public double getBias()
- Specified by:
getBiasin interfaceImageBandTransform
-
setBias
public void setBias(double bias)
- Specified by:
setBiasin interfaceImageBandTransform
-
getGain
public double getGain()
- Specified by:
getGainin interfaceImageBandTransform
-
setGain
public void setGain(double gain)
- Specified by:
setGainin interfaceImageBandTransform
-
copyFrom
public void copyFrom(ElementEx src)
Description copied from interface:ElementExCopies all properties from given src to this element. Notice properties of sub-elements are not copied over.- Specified by:
copyFromin interfaceElementEx- Overrides:
copyFromin classElementImpl- Parameters:
src- the src
-
recalcLimits
public void recalcLimits()
Description copied from interface:ImageBandTransformExCalled by RGBImageGraphEx when its data changed, to notify the limits of this band need to be recalculated.- Specified by:
recalcLimitsin interfaceImageBandTransformEx
-
calcLimits
public void calcLimits(ImageDataBuffer[] dataBuffers, java.awt.Dimension[] sizeArray)
Description copied from interface:ImageBandTransformExCalculate limits if needed- Specified by:
calcLimitsin interfaceImageBandTransformEx
-
getLimits
public double[] getLimits()
- Specified by:
getLimitsin interfaceImageBandTransformEx
-
-
DMelt 3.0 © DataMelt by jWork.ORG