public interface XYZRenderer extends Renderer3D
XYZDataset on an
XYZPlot.TRANSPARENT_COLOR| Modifier and Type | Method and Description |
|---|---|
void |
composeAll(XYZPlot plot,
World world,
Dimension3D dimensions,
double xOffset,
double yOffset,
double zOffset)
Composes all the 3D objects that this renderer needs to present.
|
void |
composeItem(XYZDataset dataset,
int series,
int item,
World world,
Dimension3D dimensions,
double xOffset,
double yOffset,
double zOffset)
Constructs and places one item from the specified dataset into the given
world.
|
Range |
findXRange(XYZDataset dataset)
Returns the range that should be set on the x-axis in order for this
renderer to be able to display all the data in the supplied dataset.
|
Range |
findYRange(XYZDataset dataset)
Returns the range that should be set on the y-axis in order for this
renderer to be able to display all the data in the supplied dataset.
|
Range |
findZRange(XYZDataset dataset)
Returns the range that should be set on the z-axis in order for this
renderer to be able to display all the data in the supplied dataset.
|
XYZColorSource |
getColorSource()
Returns the color source for the renderer, which is an object that
is responsible for providing the colors used by the renderer to draw
data (and legend) items.
|
ComposeType |
getComposeType()
Returns the type of composition performed by the renderer.
|
XYZPlot |
getPlot()
Returns the plot that this renderer is assigned to.
|
void |
setColors(java.awt.Color... colors)
Sets the colors for the renderer.
|
void |
setColorSource(XYZColorSource source)
Sets the color source for the renderer and sends a
Renderer3DChangeEvent to all registered listeners. |
void |
setPlot(XYZPlot plot)
Sets the plot that the renderer is assigned to.
|
addChangeListener, removeChangeListenerreceiveXYZPlot getPlot()
null).void setPlot(XYZPlot plot)
plot - the plot (null permitted).XYZColorSource getColorSource()
null).void setColorSource(XYZColorSource source)
Renderer3DChangeEvent to all registered listeners.source - the color source (null not permitted).void setColors(java.awt.Color... colors)
colors - the colors.Range findXRange(XYZDataset dataset)
null.dataset - the dataset (null not permitted).null).Range findYRange(XYZDataset dataset)
null.dataset - the dataset (null not permitted).Range findZRange(XYZDataset dataset)
null.dataset - the dataset (null not permitted).ComposeType getComposeType()
composeItem()
method (once for each data item) or just call the
composeAll() method once.null).void composeItem(XYZDataset dataset, int series, int item, World world, Dimension3D dimensions, double xOffset, double yOffset, double zOffset)
XYZPlot class will iterate over its dataset and
and call this method for each item (in other words, you don't need to
call this method directly).dataset - the dataset (null not permitted).series - the series index.item - the item index.world - the world (null not permitted).dimensions - the dimensions (null not permitted).xOffset - the x-offset.yOffset - the y-offset.zOffset - the z-offset.void composeAll(XYZPlot plot, World world, Dimension3D dimensions, double xOffset, double yOffset, double zOffset)
getComposeType()
method returns ALL, otherwise it can be left empty.plot - the plot.world - the world (null not permitted).dimensions - the dimensions (null not permitted).xOffset - the x-offset.yOffset - the y-offset.zOffset - the z-offset.