Package org.esa.snap.rcp.magicwand
Class MagicWandModel
- java.lang.Object
-
- org.esa.snap.rcp.magicwand.MagicWandModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MagicWandModel.Listener
static class
MagicWandModel.PickMode
static class
MagicWandModel.PixelTest
static class
MagicWandModel.SpectrumTransform
-
Field Summary
Fields Modifier and Type Field Description static String
MAGIC_WAND_MASK_NAME
-
Constructor Summary
Constructors Constructor Description MagicWandModel()
-
Method Summary
-
-
-
Field Detail
-
MAGIC_WAND_MASK_NAME
public static final String MAGIC_WAND_MASK_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
addListener
public void addListener(MagicWandModel.Listener listener)
-
removeListeners
public void removeListeners()
-
fireModelChanged
public void fireModelChanged(boolean recomputeMask)
-
clone
public MagicWandModel clone()
-
assign
public void assign(MagicWandModel other)
-
setBandNames
public void setBandNames(String... bandNames)
-
getPickMode
public MagicWandModel.PickMode getPickMode()
-
setPickMode
public void setPickMode(MagicWandModel.PickMode pickMode)
-
getPixelTest
public MagicWandModel.PixelTest getPixelTest()
-
setPixelTest
public void setPixelTest(MagicWandModel.PixelTest pixelTest)
-
getSpectrumTransform
public MagicWandModel.SpectrumTransform getSpectrumTransform()
-
setSpectrumTransform
public void setSpectrumTransform(MagicWandModel.SpectrumTransform spectrumTransform)
-
getTolerance
public double getTolerance()
-
setTolerance
public void setTolerance(double tolerance)
-
getMinTolerance
public double getMinTolerance()
-
setMinTolerance
public void setMinTolerance(double minTolerance)
-
getMaxTolerance
public double getMaxTolerance()
-
setMaxTolerance
public void setMaxTolerance(double maxTolerance)
-
setNormalize
public void setNormalize(boolean normalize)
-
setSpectralBandNames
public void setSpectralBandNames(Product product)
-
fromXml
public static MagicWandModel fromXml(String xml)
-
toXml
public String toXml()
-
-