|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jzy3d.plot3d.primitives.AbstractDrawable
org.jzy3d.plot3d.primitives.Scatter
public class Scatter
Experimental 3d object.
| Field Summary | |
|---|---|
Color[] |
colors
|
Coord3d[] |
coordinates
|
Color |
rgb
|
float |
width
|
| Fields inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
|---|
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, transform, transformBefore |
| Constructor Summary | |
|---|---|
Scatter()
|
|
Scatter(Coord3d[] coordinates)
|
|
Scatter(Coord3d[] coordinates,
Color rgb)
|
|
Scatter(Coord3d[] coordinates,
Color[] colors)
|
|
Scatter(Coord3d[] coordinates,
Color[] colors,
float width)
|
|
Scatter(Coord3d[] coordinates,
Color rgb,
float width)
|
|
| Method Summary | |
|---|---|
void |
applyGeometryTransform(Transform transform)
|
void |
clear()
|
void |
draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam)
Call OpenGL2 routines for rendering the object. |
Color |
getColor()
Get the color. |
Coord3d[] |
getData()
|
void |
setColor(Color color)
Set the color. |
void |
setColors(Color[] colors)
|
void |
setData(Coord3d[] coordinates)
Set the coordinates of the point. |
void |
setWidth(float width)
Set the width of the point. |
void |
updateBounds()
|
| Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
|---|
addDrawableListener, call, call, callWithAlphaFactor, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setTransform, setTransformBefore, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Color[] colors
public Coord3d[] coordinates
public Color rgb
public float width
| Constructor Detail |
|---|
public Scatter()
public Scatter(Coord3d[] coordinates)
public Scatter(Coord3d[] coordinates,
Color rgb)
public Scatter(Coord3d[] coordinates,
Color rgb,
float width)
public Scatter(Coord3d[] coordinates,
Color[] colors)
public Scatter(Coord3d[] coordinates,
Color[] colors,
float width)
| Method Detail |
|---|
public void clear()
public void draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam)
AbstractDrawable
draw in interface IGLRendererdraw in class AbstractDrawablegl - GL2 contextglu - GLU contextcam - a reference to a shooting Camera.public void applyGeometryTransform(Transform transform)
applyGeometryTransform in class AbstractDrawablepublic void setData(Coord3d[] coordinates)
xyz - point's coordinatespublic void updateBounds()
updateBounds in class AbstractDrawablepublic Coord3d[] getData()
public void setColors(Color[] colors)
public void setColor(Color color)
ISingleColorable
setColor in interface ISingleColorablecolor - the colorpublic Color getColor()
ISingleColorable
getColor in interface ISingleColorablepublic void setWidth(float width)
width - point's width
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||