public class ProfileIntensityGraph2D extends ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>
IntensityGraph2DRenderer.
Takes a Cell2DDataset dataset and repeatedly renders through a IntensityGraph2DRenderer.| Modifier and Type | Field and Description |
|---|---|
protected GraphBuffer |
graphBuffer
The data member containing the image being rendered.
|
data, LOG_FILEPATH, renderer| Constructor and Description |
|---|
ProfileIntensityGraph2D() |
| Modifier and Type | Method and Description |
|---|---|
void |
createDatasetMessage()
Creates a message about the x by y dimension of the cell data.
|
protected Cell2DDataset |
getDataset()
Gets a set of random Gaussian 2D cell data.
|
String |
getGraphTitle()
Returns the name of the graph being profiled.
|
int |
getNumDataPoints()
Gets the size of the data determined by the size of x data and y data.
|
int |
getNumXDataPoints()
Gets number of x-value data points.
|
int |
getNumYDataPoints()
Gets number of y-value data points.
|
protected IntensityGraph2DRenderer |
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 |
iterationAction() |
protected void |
preLoopAction() |
protected void |
render(Graphics2D graphics,
IntensityGraph2DRenderer renderer,
Cell2DDataset data)
Draws the cell data in an intensity graph.
|
void |
setNumDataPoints(int numData)
Sets the number of x and y data points.
|
void |
setNumXDataPoints(int numXData)
Sets number of x-value data points.
|
void |
setNumYDataPoints(int numYData)
Sets number of y-value data points.
|
getLogFileName, getProfileTitle, getRenderSettings, getResolution, getSaveSettings, postIterationAction, saveImage, saveStatisticsgetProfileSettings, getStatistics, graphStatistics, printStatistics, profile, saveStatisticsprotected GraphBuffer graphBuffer
public int getNumDataPoints()
getNumDataPoints in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>public int getNumXDataPoints()
public int getNumYDataPoints()
public void setNumDataPoints(int numData)
setNumDataPoints in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>numData - total number of data pointspublic void setNumXDataPoints(int numXData)
numXData - number of x-value data pointspublic void setNumYDataPoints(int numYData)
numYData - number of y-value data pointspublic final void createDatasetMessage()
protected void preLoopAction()
preLoopAction in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>protected void iterationAction()
iterationAction in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>protected void render(Graphics2D graphics, IntensityGraph2DRenderer renderer, Cell2DDataset data)
render in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>graphics - where image draws to (WILL BE PASSED AS NULL)renderer - what draws the imagedata - the cell data being drawnprotected Cell2DDataset getDataset()
getDataset in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>Cell2DDataset dataprotected IntensityGraph2DRenderer getRenderer(int imageWidth, int imageHeight)
IntensityGraph2DRenderer.getRenderer in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>imageWidth - width of rendered image in pixelsimageHeight - height of rendered image in pixelspublic String getGraphTitle()
getGraphTitle in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>IntensityGraph2DRenderer titlepublic LinkedHashMap<String,Graph2DRendererUpdate> getVariations()
ProfileGraph2DgetVariations in class ProfileGraph2D<IntensityGraph2DRenderer,Cell2DDataset>Copyright © 2015. All rights reserved.