public class DotPlotVisualisation3D extends XYZVisualisation3D<DotPlotVisualisation.ColouredDot> implements ItemPlotter3D<DotPlotVisualisation.ColouredDot>
XYZVisualisation3D.LocatedObject3D<D>
plotter
cameraPosition, data, glu, glut, window
Constructor and Description |
---|
DotPlotVisualisation3D(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(double x,
double y,
double z,
double size) |
ColourMap |
getColourMap() |
double |
getColourMapMax() |
double |
getColourMapMin() |
void |
init(javax.media.opengl.GLAutoDrawable drawable) |
static void |
main(String[] args) |
void |
plotObject(javax.media.opengl.GLAutoDrawable drawable,
XYZVisualisation3D.LocatedObject3D<DotPlotVisualisation.ColouredDot> object,
AxesRenderer3D renderer)
Plots a specific object to the 3D visualisation using the
AxesRenderer3D to
provide the position of the object. |
void |
renderRestarting()
Called just before a render of the visualisation is about to start.
|
void |
setColourMap(ColourMap colourMap) |
void |
setColourMapMax(double colourMapMax) |
void |
setColourMapMin(double colourMapRange) |
void |
setColourMapRange(double min,
double max) |
getAxesRenderer, getPlotter, getxAxisColour, getxAxisName, getyAxisColour, getyAxisName, getzAxisColour, getzAxisName, isAutoScale, renderVis, setAutoScale, setPlotter, setxAxisColour, setxAxisName, setyAxisColour, setyAxisName, setzAxisColour, setzAxisName, updateVis
addAnimatedVisualisationListener, display, dispose, finalize, getVisualisationImage, isEnableLights, removeAnimatedVisualisationListener, reshape, setData, setEnableLights, setRequiredSize
public DotPlotVisualisation3D(int width, int height)
width
- height
- public void addPoint(double x, double y, double z, double size)
x
- y
- z
- size
- public void renderRestarting()
ItemPlotter3D
renderRestarting
in interface ItemPlotter3D<DotPlotVisualisation.ColouredDot>
public void plotObject(javax.media.opengl.GLAutoDrawable drawable, XYZVisualisation3D.LocatedObject3D<DotPlotVisualisation.ColouredDot> object, AxesRenderer3D renderer)
ItemPlotter3D
AxesRenderer3D
to
provide the position of the object. Should side affect the given image.plotObject
in interface ItemPlotter3D<DotPlotVisualisation.ColouredDot>
drawable
- The 3D worldobject
- The objectrenderer
- The axes rendererpublic void init(javax.media.opengl.GLAutoDrawable drawable)
init
in interface javax.media.opengl.GLEventListener
init
in class Visualisation3D<List<XYZVisualisation3D.LocatedObject3D<DotPlotVisualisation.ColouredDot>>>
public ColourMap getColourMap()
public void setColourMap(ColourMap colourMap)
colourMap
- the colourMap to setpublic double getColourMapMin()
public void setColourMapMin(double colourMapRange)
colourMapRange
- the colourMapRange to setpublic double getColourMapMax()
public void setColourMapMax(double colourMapMax)
colourMapMax
- the colourMapMax to setpublic void setColourMapRange(double min, double max)
min
- max
-