Package org.esa.snap.ui.crs
Class OutputGeometryFormModel
java.lang.Object
org.esa.snap.ui.crs.OutputGeometryFormModel
- Since:
- BEAM 4.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionOutputGeometryFormModel(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
Modifier and TypeMethodDescriptionintbooleanvoidvoidsetFitProductSize(boolean fitProductSize) voidsetReferencePixelLocation(int referencePixelLocation) Sets the reference location id.voidsetSourceProduct(Product sourceProduct) voidsetTargetCrs(org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
-
Field Details
-
REFERENCE_PIXEL_UPPER_LEFT
public static final int REFERENCE_PIXEL_UPPER_LEFT- See Also:
-
REFERENCE_PIXEL_SCENE_CENTER
public static final int REFERENCE_PIXEL_SCENE_CENTER- See Also:
-
REFERENCE_PIXEL_USER
public static final int REFERENCE_PIXEL_USER- See Also:
-
-
Constructor Details
-
OutputGeometryFormModel
-
OutputGeometryFormModel
-
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
-
-
Method Details
-
getPropertySet
-
setSourceProduct
-
setTargetCrs
public void setTargetCrs(org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs) -
resetToDefaults
-
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)
-