|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.primitives.AbstractDrawable org.jzy3d.plot3d.primitives.MultiColorScatter
public class MultiColorScatter
A scatter plot supporting a colormap for shading each dot color and alpha.
Constructor Summary | |
---|---|
MultiColorScatter(Coord3d[] coordinates,
Color[] colors,
ColorMapper mapper)
|
|
MultiColorScatter(Coord3d[] coordinates,
Color[] colors,
ColorMapper mapper,
float width)
|
|
MultiColorScatter(Coord3d[] coordinates,
ColorMapper mapper)
|
Method Summary | |
---|---|
void |
clear()
|
void |
draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam)
Call OpenGL routines for rendering the object. |
void |
enableColorBar(ITickProvider provider,
ITickRenderer renderer)
|
ColorMapper |
getColorMapper()
Get the colormapper. |
Coord3d[] |
getData()
|
void |
setColorMapper(ColorMapper mapper)
Set the colormapper that will be used by the Drawable, instead of using precomputed colors. |
void |
setColors(Color[] colors)
|
void |
setData(Coord3d[] coordinates)
Set the coordinates of the point. |
void |
setWidth(float width)
Set the width of the point. |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
---|
addDrawableListener, dispose, getBarycentre, getBounds, getDistance, getFace, getLongestDistance, getShortestDistance, getTransform, hasFace, isDisplayed, isFace2dDisplayed, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultiColorScatter(Coord3d[] coordinates, Color[] colors, ColorMapper mapper)
public MultiColorScatter(Coord3d[] coordinates, ColorMapper mapper)
public MultiColorScatter(Coord3d[] coordinates, Color[] colors, ColorMapper mapper, float width)
Method Detail |
---|
public void clear()
public void enableColorBar(ITickProvider provider, ITickRenderer renderer)
public void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, Camera cam)
AbstractDrawable
draw
in interface IGLRenderer
draw
in class AbstractDrawable
gl
- GL contextglu
- GLU contextcam
- a reference to a shooting Camera.public void setData(Coord3d[] coordinates)
xyz
- point's coordinatespublic Coord3d[] getData()
public void setColors(Color[] colors)
public ColorMapper getColorMapper()
IMultiColorable
getColorMapper
in interface IMultiColorable
public void setColorMapper(ColorMapper mapper)
IMultiColorable
setColorMapper
in interface IMultiColorable
public void setWidth(float width)
width
- point's width
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |