-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring of ContourDataSetRenderer
* New Contour plot performance sample: WaterfallPerformanceSample * modified caching of ticks and layoutChildren in AbstractAxis * solves #46 * refactoring of multi-threading and point reduction parameters * added 2D contour data reduction algorithm * are now in common parent for both the ErrorDataSetRenderer and ContourDataSetRenderer (<-> minimisation of duplicate code for getters, setters and property API method calls) * renamed+moved 'Cache'->'ArrayCache' & added new generic Cache<K,V> * added corresponding JUnit tests * added/updated generic timed/limited cache HashMap implementation * implementation courtesy @HanSolo * removed getDataCount() & ..(int dimIndex) overrides in DataSet2D * follow-up of getDataCount() -> getDataCount(int) in default DS impls. N.B rationale: getDataCount(int) must be overwritten in 2- and higher-dime datasets since they may be different for each dimension * new ColorGradient function to return cached interpol. ([0,1]) colours * added corresponding JUnit tests * changed vertical Y axis in TestDataSetSource * newest samples appear at 0 seconds and older ones have negative values * minimised DataSet3D::getZ() usage and fixed y-inversion for fast contour
- Loading branch information
1 parent
b18768b
commit 8d289df
Showing
58 changed files
with
5,969 additions
and
2,354 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
399 changes: 199 additions & 200 deletions
399
chartfx-chart/src/main/java/de/gsi/chart/XYChart.java
Large diffs are not rendered by default.
Oops, something went wrong.
223 changes: 133 additions & 90 deletions
223
chartfx-chart/src/main/java/de/gsi/chart/axes/spi/AbstractAxis.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.