public class ProfileBubbleGraph2D extends ProfileGraph2D<BubbleGraph2DRenderer,Point3DWithLabelDataset>
BubbleGraph2DRenderer
.
Takes a Point3DWithLabelDataset
dataset and repeatedly renders
through a Point3DWithLabelDataset
.data, LOG_FILEPATH, renderer
Constructor and Description |
---|
ProfileBubbleGraph2D() |
Modifier and Type | Method and Description |
---|---|
protected Point3DWithLabelDataset |
getDataset()
The data that to be rendered in the render loop.
|
String |
getGraphTitle()
Gets the type of graph renderer.
|
protected BubbleGraph2DRenderer |
getRenderer(int imageWidth,
int imageHeight)
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,
BubbleGraph2DRenderer renderer,
Point3DWithLabelDataset data)
The primary method in the profiling render loop.
|
getLogFileName, getNumDataPoints, getProfileTitle, getRenderSettings, getResolution, getSaveSettings, iterationAction, postIterationAction, preLoopAction, saveImage, saveStatistics, setNumDataPoints
getProfileSettings, getStatistics, graphStatistics, printStatistics, profile, saveStatistics
protected Point3DWithLabelDataset getDataset()
ProfileGraph2D
getDataset
in class ProfileGraph2D<BubbleGraph2DRenderer,Point3DWithLabelDataset>
protected BubbleGraph2DRenderer getRenderer(int imageWidth, int imageHeight)
ProfileGraph2D
getRenderer()
is capable of rendering getDataset()
.
Thus type T
is capable of rendering type S
.getRenderer
in class ProfileGraph2D<BubbleGraph2DRenderer,Point3DWithLabelDataset>
imageWidth
- pixel width of rendered imageimageHeight
- pixel height of rendered imageGraph2DRenderer
associated with data Sprotected void render(Graphics2D graphics, BubbleGraph2DRenderer renderer, Point3DWithLabelDataset data)
ProfileGraph2D
render
in class ProfileGraph2D<BubbleGraph2DRenderer,Point3DWithLabelDataset>
graphics
- where image draws torenderer
- what draws the imagedata
- what is drawnpublic LinkedHashMap<String,Graph2DRendererUpdate> getVariations()
ProfileGraph2D
getVariations
in class ProfileGraph2D<BubbleGraph2DRenderer,Point3DWithLabelDataset>
public String getGraphTitle()
ProfileGraph2D
getGraphTitle
in class ProfileGraph2D<BubbleGraph2DRenderer,Point3DWithLabelDataset>
Copyright © 2015. All rights reserved.