public class VisualizeGeodesicDistances extends AbstractApplication
Modifier and Type | Class and Description |
---|---|
static class |
VisualizeGeodesicDistances.Mode
Visualization mode.
|
static class |
VisualizeGeodesicDistances.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected int |
height
Image size.
|
private static Logging |
LOG
Get a logger for this class.
|
protected VisualizeGeodesicDistances.Mode |
mode
Visualization mode.
|
protected EarthModel |
model
Earth model.
|
private File |
out
Holds the file to print results to.
|
protected int |
steps
Number of steps for shades.
|
protected int |
width
Image size.
|
REFERENCE, VERSION
Constructor and Description |
---|
VisualizeGeodesicDistances(File out,
int resolution,
int steps,
VisualizeGeodesicDistances.Mode mode,
EarthModel model)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private int |
colorMultiply(int col,
double reldist,
boolean ceil) |
static void |
main(String[] args)
Main method for application.
|
void |
run()
Runs the application.
|
printErrorMessage, runCLIApplication, usage
private static final Logging LOG
private File out
protected int width
protected int height
protected int steps
protected VisualizeGeodesicDistances.Mode mode
protected EarthModel model
public VisualizeGeodesicDistances(File out, int resolution, int steps, VisualizeGeodesicDistances.Mode mode, EarthModel model)
out
- Output filenamesteps
- Number of steps in the color mapmode
- Visualization modemodel
- Earth modelpublic void run() throws UnableToComplyException
AbstractApplication
run
in class AbstractApplication
UnableToComplyException
- if an error occurs during running the
applicationprivate int colorMultiply(int col, double reldist, boolean ceil)
public static void main(String[] args)
args
- ParametersCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.