D
- Plottable itempublic class XYZVisualisation3D<D> extends Visualisation3D<List<XYZVisualisation3D.LocatedObject3D<D>>>
ItemPlotter3D
for plotting the items
in the visualisation.Modifier and Type | Class and Description |
---|---|
static class |
XYZVisualisation3D.LocatedObject3D<D>
An extension of a
XYPlotVisualisation.LocatedObject into 3D. |
Modifier and Type | Field and Description |
---|---|
protected ItemPlotter3D<D> |
plotter
The plotter for the items in the display
|
cameraPosition, data, glu, glut, window
Constructor and Description |
---|
XYZVisualisation3D(int width,
int height)
Constructor that takes the item plotter
|
XYZVisualisation3D(int width,
int height,
ItemPlotter3D<D> plotter)
Constructor that takes the item plotter
|
Modifier and Type | Method and Description |
---|---|
AxesRenderer3D |
getAxesRenderer()
Returns the object rendering the axes
|
ItemPlotter3D<D> |
getPlotter() |
Float[] |
getxAxisColour() |
String |
getxAxisName() |
Float[] |
getyAxisColour() |
String |
getyAxisName() |
Float[] |
getzAxisColour() |
String |
getzAxisName() |
boolean |
isAutoScale() |
protected void |
renderVis(javax.media.opengl.GLAutoDrawable drawable)
Render the visualisation into the drawable
|
void |
setAutoScale(boolean autoScale) |
void |
setPlotter(ItemPlotter3D<D> plotter) |
void |
setxAxisColour(Float[] xAxisColour) |
void |
setxAxisName(String xAxisName) |
void |
setyAxisColour(Float[] yAxisColour) |
void |
setyAxisName(String yAxisName) |
void |
setzAxisColour(Float[] zAxisColour) |
void |
setzAxisName(String zAxisName) |
void |
updateVis()
Force a redraw of the visualisation image.
|
addAnimatedVisualisationListener, display, dispose, finalize, getVisualisationImage, init, isEnableLights, removeAnimatedVisualisationListener, reshape, setData, setEnableLights, setRequiredSize
protected ItemPlotter3D<D> plotter
public XYZVisualisation3D(int width, int height, ItemPlotter3D<D> plotter)
width
- height
- plotter
- public XYZVisualisation3D(int width, int height)
width
- height
- public void updateVis()
VisualisationImageProvider.updateVis()
public AxesRenderer3D getAxesRenderer()
protected void renderVis(javax.media.opengl.GLAutoDrawable drawable)
Visualisation3D
renderVis
in class Visualisation3D<List<XYZVisualisation3D.LocatedObject3D<D>>>
drawable
- The drawablepublic String getxAxisName()
public void setxAxisName(String xAxisName)
xAxisName
- the xAxisName to setpublic String getyAxisName()
public void setyAxisName(String yAxisName)
yAxisName
- the yAxisName to setpublic String getzAxisName()
public void setzAxisName(String zAxisName)
zAxisName
- the zAxisName to setpublic Float[] getxAxisColour()
public void setxAxisColour(Float[] xAxisColour)
xAxisColour
- the xAxisColour to setpublic Float[] getyAxisColour()
public void setyAxisColour(Float[] yAxisColour)
yAxisColour
- the yAxisColour to setpublic Float[] getzAxisColour()
public void setzAxisColour(Float[] zAxisColour)
zAxisColour
- the zAxisColour to setpublic boolean isAutoScale()
public void setAutoScale(boolean autoScale)
autoScale
- the autoScale to setpublic ItemPlotter3D<D> getPlotter()
public void setPlotter(ItemPlotter3D<D> plotter)
plotter
- the plotter to set