public class ProfileScatterGraph2D extends ProfileGraph2D<ScatterGraph2DRenderer,Point2DDataset>
ScatterGraph2DRenderer.
Takes a Point2DDataset dataset and repeatedly renders through a ScatterGraph2DRenderer.data, LOG_FILEPATH, renderer| Constructor and Description |
|---|
ProfileScatterGraph2D() |
| Modifier and Type | Method and Description |
|---|---|
protected Point2DDataset |
getDataset()
Gets a set of random Gaussian 2D point data.
|
String |
getGraphTitle()
Returns the name of the graph being profiled.
|
protected ScatterGraph2DRenderer |
getRenderer(int imageWidth,
int imageHeight)
Returns the renderer used in the render loop.
|
LinkedHashMap<String,Graph2DRendererUpdate> |
getVariations()
Gets the updates associated with the renderer in a map, linking a
description of the update to the update object.
|
protected void |
render(Graphics2D graphics,
ScatterGraph2DRenderer renderer,
Point2DDataset data)
Draws the 2D point data in a scatter graph.
|
getLogFileName, getNumDataPoints, getProfileTitle, getRenderSettings, getResolution, getSaveSettings, iterationAction, postIterationAction, preLoopAction, saveImage, saveStatistics, setNumDataPointsgetProfileSettings, getStatistics, graphStatistics, printStatistics, profile, saveStatisticsprotected Point2DDataset getDataset()
getDataset in class ProfileGraph2D<ScatterGraph2DRenderer,Point2DDataset>Point2DDataset dataprotected ScatterGraph2DRenderer getRenderer(int imageWidth, int imageHeight)
ScatterGraph2DRenderer.getRenderer in class ProfileGraph2D<ScatterGraph2DRenderer,Point2DDataset>imageWidth - width of rendered image in pixelsimageHeight - height of rendered image in pixelsprotected void render(Graphics2D graphics, ScatterGraph2DRenderer renderer, Point2DDataset data)
render in class ProfileGraph2D<ScatterGraph2DRenderer,Point2DDataset>graphics - where image draws torenderer - what draws the imagedata - the 2D point data being drawnpublic String getGraphTitle()
getGraphTitle in class ProfileGraph2D<ScatterGraph2DRenderer,Point2DDataset>ScatterGraph2DRenderer titlepublic LinkedHashMap<String,Graph2DRendererUpdate> getVariations()
getVariations in class ProfileGraph2D<ScatterGraph2DRenderer,Point2DDataset>Copyright © 2015. All rights reserved.