Package org.esa.snap.ui.crs
Class OutputGeometryFormModel
- java.lang.Object
-
- org.esa.snap.ui.crs.OutputGeometryFormModel
-
public class OutputGeometryFormModel extends Object
- Since:
- BEAM 4.7
-
-
Field Summary
Fields Modifier and Type Field Description static intREFERENCE_PIXEL_SCENE_CENTERstatic intREFERENCE_PIXEL_UPPER_LEFTstatic intREFERENCE_PIXEL_USER
-
Constructor Summary
Constructors Constructor Description OutputGeometryFormModel(PropertySet sourcePropertySet)OutputGeometryFormModel(Product sourceProduct, Product collocationProduct)OutputGeometryFormModel(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)OutputGeometryFormModel(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, PropertySet ps)OutputGeometryFormModel(OutputGeometryFormModel formModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertySetgetPropertySet()intgetReferencePixelLocation()booleanisFitProductSize()voidresetToDefaults(ImageGeometry ig)voidsetFitProductSize(boolean fitProductSize)voidsetReferencePixelLocation(int referencePixelLocation)Sets the reference location id.voidsetSourceProduct(Product sourceProduct)voidsetTargetCrs(org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
-
-
-
Field Detail
-
REFERENCE_PIXEL_UPPER_LEFT
public static final int REFERENCE_PIXEL_UPPER_LEFT
- See Also:
- Constant Field Values
-
REFERENCE_PIXEL_SCENE_CENTER
public static final int REFERENCE_PIXEL_SCENE_CENTER
- See Also:
- Constant Field Values
-
REFERENCE_PIXEL_USER
public static final int REFERENCE_PIXEL_USER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OutputGeometryFormModel
public OutputGeometryFormModel(PropertySet sourcePropertySet)
-
OutputGeometryFormModel
public OutputGeometryFormModel(Product sourceProduct, Product collocationProduct)
-
OutputGeometryFormModel
public OutputGeometryFormModel(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
-
OutputGeometryFormModel
public OutputGeometryFormModel(Product sourceProduct, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs, PropertySet ps)
-
OutputGeometryFormModel
public OutputGeometryFormModel(OutputGeometryFormModel formModel)
-
-
Method Detail
-
getPropertySet
public PropertySet getPropertySet()
-
setSourceProduct
public void setSourceProduct(Product sourceProduct)
-
setTargetCrs
public void setTargetCrs(org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
-
resetToDefaults
public void resetToDefaults(ImageGeometry ig)
-
getReferencePixelLocation
public int getReferencePixelLocation()
- Returns:
- The reference location id. Possible values are
REFERENCE_PIXEL_UPPER_LEFT[0]],REFERENCE_PIXEL_SCENE_CENTER[1],REFERENCE_PIXEL_USER[2].
-
setReferencePixelLocation
public void setReferencePixelLocation(int referencePixelLocation)
Sets the reference location id. Possible values areREFERENCE_PIXEL_UPPER_LEFT[0]],REFERENCE_PIXEL_SCENE_CENTER[1],REFERENCE_PIXEL_USER[2].
-
isFitProductSize
public boolean isFitProductSize()
-
setFitProductSize
public void setFitProductSize(boolean fitProductSize)
-
-