public class ProfileAreaGraph2D extends ProfileGraph2D<AreaGraph2DRenderer,Cell1DDataset>
AreaGraph2DRenderer
.
Takes a Cell1DDataset
dataset and repeatedly renders
through a Cell1DDataset
.data, LOG_FILEPATH, renderer
Constructor and Description |
---|
ProfileAreaGraph2D() |
Modifier and Type | Method and Description |
---|---|
protected Cell1DDataset |
getDataset()
The data that to be rendered in the render loop.
|
String |
getGraphTitle()
Gets the type of graph renderer.
|
protected AreaGraph2DRenderer |
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,
AreaGraph2DRenderer renderer,
Cell1DDataset 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 Cell1DDataset getDataset()
ProfileGraph2D
getDataset
in class ProfileGraph2D<AreaGraph2DRenderer,Cell1DDataset>
protected AreaGraph2DRenderer 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<AreaGraph2DRenderer,Cell1DDataset>
imageWidth
- pixel width of rendered imageimageHeight
- pixel height of rendered imageGraph2DRenderer
associated with data Sprotected void render(Graphics2D graphics, AreaGraph2DRenderer renderer, Cell1DDataset data)
ProfileGraph2D
render
in class ProfileGraph2D<AreaGraph2DRenderer,Cell1DDataset>
graphics
- where image draws torenderer
- what draws the imagedata
- what is drawnpublic LinkedHashMap<String,Graph2DRendererUpdate> getVariations()
ProfileGraph2D
getVariations
in class ProfileGraph2D<AreaGraph2DRenderer,Cell1DDataset>
public String getGraphTitle()
ProfileGraph2D
getGraphTitle
in class ProfileGraph2D<AreaGraph2DRenderer,Cell1DDataset>
Copyright © 2015. All rights reserved.