X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2FFunctionLibrary.java;h=a8d7e0e10b3cfa0c6e6f7198be672bc1256a7268;hb=a6197ddcaac11c0b943183da7d46169742d024af;hp=0830049b57bb69c74760bc6b608dd74cde760386;hpb=649c5da6ee1bbc590699e11a92316ece2ea8512d;p=GpsPrune.git diff --git a/tim/prune/FunctionLibrary.java b/tim/prune/FunctionLibrary.java index 0830049..a8d7e0e 100644 --- a/tim/prune/FunctionLibrary.java +++ b/tim/prune/FunctionLibrary.java @@ -5,16 +5,25 @@ import tim.prune.correlate.PhotoCorrelator; import tim.prune.function.*; import tim.prune.function.charts.Charter; import tim.prune.function.compress.CompressTrackFunction; +import tim.prune.function.compress.MarkPointsInRectangleFunction; +import tim.prune.function.deletebydate.DeleteByDateFunction; import tim.prune.function.distance.DistanceFunction; import tim.prune.function.edit.PointNameEditor; +import tim.prune.function.estimate.EstimateTime; +import tim.prune.function.estimate.LearnParameters; import tim.prune.function.gpsies.GetGpsiesFunction; import tim.prune.function.gpsies.UploadGpsiesFunction; +import tim.prune.function.sew.SewTrackSegmentsFunction; +import tim.prune.function.sew.SplitSegmentsFunction; +import tim.prune.function.srtm.DownloadSrtmFunction; import tim.prune.function.srtm.LookupSrtmFunction; +import tim.prune.function.weather.GetWeatherForecastFunction; import tim.prune.load.AudioLoader; import tim.prune.load.BabelLoadFromFile; import tim.prune.load.BabelLoadFromGps; import tim.prune.save.GpsSaver; import tim.prune.save.GpxExporter; +import tim.prune.save.ImageExporter; import tim.prune.save.KmlExporter; import tim.prune.save.PovExporter; import tim.prune.save.SvgExporter; @@ -28,15 +37,25 @@ public abstract class FunctionLibrary public static GenericFunction FUNCTION_KMLEXPORT = null; public static PovExporter FUNCTION_POVEXPORT = null; public static SvgExporter FUNCTION_SVGEXPORT = null; + public static GenericFunction FUNCTION_IMAGEEXPORT = null; public static GenericFunction FUNCTION_GPSLOAD = null; public static GenericFunction FUNCTION_GPSSAVE = null; public static GenericFunction FUNCTION_IMPORTBABEL = null; public static GenericFunction FUNCTION_SAVECONFIG = null; public static GenericFunction FUNCTION_EDIT_WAYPOINT_NAME = null; - public static RearrangeWaypointsFunction FUNCTION_REARRANGE_WAYPOINTS = null; + public static GenericFunction FUNCTION_REARRANGE_WAYPOINTS = null; + public static GenericFunction FUNCTION_SELECT_SEGMENT = null; + public static GenericFunction FUNCTION_SPLIT_SEGMENTS = null; + public static GenericFunction FUNCTION_SEW_SEGMENTS = null; public static GenericFunction FUNCTION_REARRANGE_PHOTOS = null; public static GenericFunction FUNCTION_COMPRESS = null; + public static GenericFunction FUNCTION_DELETE_RANGE = null; + public static GenericFunction FUNCTION_CROP_TRACK = null; + public static GenericFunction FUNCTION_MARK_IN_RECTANGLE = null; + public static GenericFunction FUNCTION_DELETE_BY_DATE = null; + public static SingleNumericParameterFunction FUNCTION_INTERPOLATE = null; public static GenericFunction FUNCTION_LOOKUP_SRTM = null; + public static GenericFunction FUNCTION_DOWNLOAD_SRTM = null; public static GenericFunction FUNCTION_LOOKUP_WIKIPEDIA = null; public static GenericFunction FUNCTION_SEARCH_WIKIPEDIA = null; public static GenericFunction FUNCTION_DOWNLOAD_OSM = null; @@ -60,8 +79,11 @@ public abstract class FunctionLibrary public static GenericFunction FUNCTION_3D = null; public static GenericFunction FUNCTION_DISTANCES = null; public static GenericFunction FUNCTION_FULL_RANGE_DETAILS = null; + public static GenericFunction FUNCTION_ESTIMATE_TIME = null; + public static GenericFunction FUNCTION_LEARN_ESTIMATION_PARAMS = null; public static GenericFunction FUNCTION_GET_GPSIES = null; public static GenericFunction FUNCTION_UPLOAD_GPSIES = null; + public static GenericFunction FUNCTION_GET_WEATHER_FORECAST = null; public static GenericFunction FUNCTION_LOAD_AUDIO = null; public static GenericFunction FUNCTION_REMOVE_AUDIO = null; public static GenericFunction FUNCTION_CORRELATE_AUDIOS = null; @@ -70,10 +92,10 @@ public abstract class FunctionLibrary public static GenericFunction FUNCTION_SET_MAP_BG = null; public static GenericFunction FUNCTION_SET_DISK_CACHE = null; public static GenericFunction FUNCTION_SET_PATHS = null; - public static GenericFunction FUNCTION_SET_KMZ_IMAGE_SIZE = null; public static GenericFunction FUNCTION_SET_COLOURS = null; - public static GenericFunction FUNCTION_SET_LINE_WIDTH = null; + public static SingleNumericParameterFunction FUNCTION_SET_LINE_WIDTH = null; public static GenericFunction FUNCTION_SET_LANGUAGE = null; + public static SingleNumericParameterFunction FUNCTION_SET_ALTITUDE_TOLERANCE = null; public static GenericFunction FUNCTION_HELP = null; public static GenericFunction FUNCTION_SHOW_KEYS = null; public static GenericFunction FUNCTION_ABOUT = null; @@ -90,15 +112,25 @@ public abstract class FunctionLibrary FUNCTION_KMLEXPORT = new KmlExporter(inApp); FUNCTION_POVEXPORT = new PovExporter(inApp); FUNCTION_SVGEXPORT = new SvgExporter(inApp); + FUNCTION_IMAGEEXPORT = new ImageExporter(inApp); FUNCTION_GPSLOAD = new BabelLoadFromGps(inApp); FUNCTION_GPSSAVE = new GpsSaver(inApp); FUNCTION_IMPORTBABEL = new BabelLoadFromFile(inApp); FUNCTION_SAVECONFIG = new SaveConfig(inApp); FUNCTION_EDIT_WAYPOINT_NAME = new PointNameEditor(inApp); FUNCTION_REARRANGE_WAYPOINTS = new RearrangeWaypointsFunction(inApp); + FUNCTION_SELECT_SEGMENT = new SelectSegmentFunction(inApp); + FUNCTION_SPLIT_SEGMENTS = new SplitSegmentsFunction(inApp); + FUNCTION_SEW_SEGMENTS = new SewTrackSegmentsFunction(inApp); FUNCTION_REARRANGE_PHOTOS = new RearrangePhotosFunction(inApp); FUNCTION_COMPRESS = new CompressTrackFunction(inApp); + FUNCTION_DELETE_RANGE = new DeleteSelectedRangeFunction(inApp); + FUNCTION_CROP_TRACK = new CropToSelection(inApp); + FUNCTION_MARK_IN_RECTANGLE = new MarkPointsInRectangleFunction(inApp); + FUNCTION_DELETE_BY_DATE = new DeleteByDateFunction(inApp); + FUNCTION_INTERPOLATE = new InterpolateFunction(inApp); FUNCTION_LOOKUP_SRTM = new LookupSrtmFunction(inApp); + FUNCTION_DOWNLOAD_SRTM = new DownloadSrtmFunction(inApp); FUNCTION_LOOKUP_WIKIPEDIA = new GetWikipediaFunction(inApp); FUNCTION_SEARCH_WIKIPEDIA = new SearchWikipediaNames(inApp); FUNCTION_DOWNLOAD_OSM = new DownloadOsmFunction(inApp); @@ -121,8 +153,11 @@ public abstract class FunctionLibrary FUNCTION_3D = new ShowThreeDFunction(inApp); FUNCTION_DISTANCES = new DistanceFunction(inApp); FUNCTION_FULL_RANGE_DETAILS = new FullRangeDetails(inApp); + FUNCTION_ESTIMATE_TIME = new EstimateTime(inApp); + FUNCTION_LEARN_ESTIMATION_PARAMS = new LearnParameters(inApp); FUNCTION_GET_GPSIES = new GetGpsiesFunction(inApp); FUNCTION_UPLOAD_GPSIES = new UploadGpsiesFunction(inApp); + FUNCTION_GET_WEATHER_FORECAST = new GetWeatherForecastFunction(inApp); FUNCTION_LOAD_AUDIO = new AudioLoader(inApp); FUNCTION_REMOVE_AUDIO = new RemoveAudioFunction(inApp); FUNCTION_CORRELATE_AUDIOS = new AudioCorrelator(inApp); @@ -132,10 +167,10 @@ public abstract class FunctionLibrary FUNCTION_SET_MAP_BG = new SetMapBgFunction(inApp); FUNCTION_SET_DISK_CACHE = new DiskCacheConfig(inApp); FUNCTION_SET_PATHS = new SetPathsFunction(inApp); - FUNCTION_SET_KMZ_IMAGE_SIZE = new SetKmzImageSize(inApp); FUNCTION_SET_COLOURS = new SetColours(inApp); FUNCTION_SET_LINE_WIDTH = new SetLineWidth(inApp); FUNCTION_SET_LANGUAGE = new SetLanguage(inApp); + FUNCTION_SET_ALTITUDE_TOLERANCE = new SetAltitudeTolerance(inApp); FUNCTION_HELP = new HelpScreen(inApp); FUNCTION_SHOW_KEYS = new ShowKeysScreen(inApp); FUNCTION_ABOUT = new AboutScreen(inApp);