Package uk.ac.starlink.topcat.plot2
Class GuiPointCloud
java.lang.Object
uk.ac.starlink.topcat.plot2.GuiPointCloud
Collects a set of TableClouds together to provide a description of a
collection of positions in a plot.
- Since:
- 24 Jan 2014
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionGuiPointCloud
(TableCloud[] tclouds, uk.ac.starlink.ttools.plot2.data.DataStore baseDataStore, BoundedRangeModel progModel) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionSupplier
<uk.ac.starlink.ttools.plot2.CoordSequence> createDataPosSupplier
(uk.ac.starlink.ttools.plot2.data.DataStore dataStore) Returns an iterable over the point cloud.Returns a data store that can be used for iterating over this point cloud.Returns the TableClouds aggregated by this point cloud.
-
Constructor Details
-
GuiPointCloud
public GuiPointCloud(TableCloud[] tclouds, uk.ac.starlink.ttools.plot2.data.DataStore baseDataStore, BoundedRangeModel progModel) Constructor.- Parameters:
tclouds
- per-table position collectionsbaseDataStore
- data store supplying the position dataprogModel
- progress bar model; if non-null, iteration over the points will update it
-
-
Method Details
-
getTableClouds
Returns the TableClouds aggregated by this point cloud.- Returns:
- table cloud array
-
createGuiDataStore
Returns a data store that can be used for iterating over this point cloud. This data store adds value to the supplied base data store: it checks for thread interruptions and reports progress as appropriaate.- Returns:
- data store
-
createDataPosSupplier
public Supplier<uk.ac.starlink.ttools.plot2.CoordSequence> createDataPosSupplier(uk.ac.starlink.ttools.plot2.data.DataStore dataStore) Returns an iterable over the point cloud.- Parameters:
dataStore
- data store- Returns:
- iterable over data positions
-