Package org.openstreetmap.josm.data.gpx
Class GpxImageCorrelationSettings
- java.lang.Object
-
- org.openstreetmap.josm.data.gpx.GpxImageCorrelationSettings
-
public class GpxImageCorrelationSettings extends Object
Correlation settings used byGpxImageCorrelation
.- Since:
- 18061
-
-
Field Summary
Fields Modifier and Type Field Description private GpxImageDirectionPositionSettings
directionPositionSettings
private boolean
forceTags
private long
offset
-
Constructor Summary
Constructors Constructor Description GpxImageCorrelationSettings(long offset, boolean forceTags)
Constructs a newGpxImageCorrelationSettings
.GpxImageCorrelationSettings(long offset, boolean forceTags, GpxImageDirectionPositionSettings directionPositionSettings)
Constructs a newGpxImageCorrelationSettings
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GpxImageDirectionPositionSettings
getDirectionPositionSettings()
Returns the direction/position settings.long
getOffset()
Returns the offset in milliseconds.boolean
isForceTags()
Determines if tagging of all photos must be forced, otherwise prefs are usedString
toString()
-
-
-
Field Detail
-
offset
private final long offset
-
forceTags
private final boolean forceTags
-
directionPositionSettings
private final GpxImageDirectionPositionSettings directionPositionSettings
-
-
Constructor Detail
-
GpxImageCorrelationSettings
public GpxImageCorrelationSettings(long offset, boolean forceTags)
Constructs a newGpxImageCorrelationSettings
.- Parameters:
offset
- offset in millisecondsforceTags
- force tagging of all photos, otherwise prefs are used
-
GpxImageCorrelationSettings
public GpxImageCorrelationSettings(long offset, boolean forceTags, GpxImageDirectionPositionSettings directionPositionSettings)
Constructs a newGpxImageCorrelationSettings
.- Parameters:
offset
- offset in millisecondsforceTags
- force tagging of all photos, otherwise prefs are useddirectionPositionSettings
- direction/position settings
-
-
Method Detail
-
getOffset
public long getOffset()
Returns the offset in milliseconds.- Returns:
- the offset in milliseconds
-
isForceTags
public boolean isForceTags()
Determines if tagging of all photos must be forced, otherwise prefs are used- Returns:
true
if tagging of all photos must be forced, otherwise prefs are used
-
getDirectionPositionSettings
public GpxImageDirectionPositionSettings getDirectionPositionSettings()
Returns the direction/position settings.- Returns:
- the direction/position settings
-
-