comparison gnv-artifacts/ChangeLog @ 437:b624879d2902

Added vectorizer rings callback to generate iso lines. gnv-artifacts/trunk@485 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 27 Dec 2009 05:25:40 +0000
parents 6642ab6c583c
children 7399bb8f83ea
comparison
equal deleted inserted replaced
436:6642ab6c583c 437:b624879d2902
1 2009-12-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java:
4 New. Vectorizer rings callback which produces iso lines in
5 form of PolygonSeries. These series can be added to PolygonDatasets.
6 If a IsoPolygonSeriesProducer.LabelGenerator is given
7 each of the series has an attribute "label" which could be used
8 to label text on the plot. TODO: Add label rendering to plot.
9
10 Iso line generation is a bit more sophisticated than pure
11 region tracing. Along a border of a region there could
12 be more than one type neighborhood. This is due to quantification
13 errors introduced by the fact that steep value gradients
14 are sampled to less points. The only ways out would be an
15 increase of the sample resolution or an other algorithm
16 working directly on the interpolated floating point samples.
17
18 * src/main/java/de/intevation/gnv/raster/Vectorizer.java: Made
19 line simplification work with open polygons, too.
20
21 * src/main/java/de/intevation/gnv/math/IJKey.java: Added method
22 to sort (i, j) in place.
23
24 * src/main/java/de/intevation/gnv/jfreechart/PolygonRenderer.java:
25 Do not close line shapes because iso lines are not closed shapes
26 in general.
27
28 * src/main/java/de/intevation/gnv/raster/PolygonDatasetProducer.java:
29 Added author. Some reformatting.
30
1 2009-12-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> 31 2009-12-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 32
3 * src/main/java/de/intevation/gnv/raster/PolygonDatasetProducer.java: 33 * src/main/java/de/intevation/gnv/raster/PolygonDatasetProducer.java:
4 New. Vectorizer rings callback which produces PolygonDatasets suitable 34 New. Vectorizer rings callback which produces PolygonDatasets suitable
5 to be fed into PolygonPlot. 35 to be fed into PolygonPlot.

http://dive4elements.wald.intevation.org