public class ChronologicalScrollingBarVisualisation3D extends Object implements Visualisation<double[]>
Constructor and Description |
---|
ChronologicalScrollingBarVisualisation3D(int width,
int height,
int timeLength,
int dataWidth)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
MBFImage |
getVisualisationImage()
Return the static visualisation image.
|
static void |
main(String[] args)
Test
|
void |
setData(double[] newData)
Data is copied into the visualisation, so the arrays passed in are untouched.
|
void |
setMaximum(double max)
Set the maximum data value
|
void |
setRequiredSize(Dimension d)
Set the required size of the visualisation image.
|
void |
setXAxisName(String xAxis)
Set the x axis name
|
void |
setYAxisName(String yAxis)
Set the y axis name
|
void |
setZAxisName(String zAxis)
Set the z axis name
|
void |
updateVis()
Force a redraw of the visualisation image.
|
public ChronologicalScrollingBarVisualisation3D(int width, int height, int timeLength, int dataWidth)
width
- Width in pixelsheight
- Height in pixelstimeLength
- The number of time points to showdataWidth
- Length of each data linepublic void updateVis()
updateVis
in interface VisualisationImageProvider
VisualisationImageProvider.updateVis()
public MBFImage getVisualisationImage()
getVisualisationImage
in interface VisualisationImageProvider
VisualisationImageProvider.getVisualisationImage()
public void setRequiredSize(Dimension d)
setRequiredSize
in interface VisualisationImageProvider
d
- The dimensionsVisualisationImageProvider.setRequiredSize(java.awt.Dimension)
public void setMaximum(double max)
max
- The maximumpublic void setXAxisName(String xAxis)
xAxis
- The x axispublic void setYAxisName(String yAxis)
yAxis
- The y axispublic void setZAxisName(String zAxis)
zAxis
- The z axispublic void setData(double[] newData)
setData
in interface Visualisation<double[]>
newData
- The data to displayVisualisation.setData(java.lang.Object)
public static void main(String[] args) throws InterruptedException
args
- InterruptedException