|
JMSLTM Numerical Library 6.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.chart.AbstractChartNode com.imsl.chart3d.ChartNode3D com.imsl.chart3d.Data
public class Data
Draws a 3D data node.
Drawing of a Data node is determined by the setting of the "DataType"
attribute. Multiple bits can be set in "DataType".
If the ChartNode3D.DATA_TYPE_MARKER
bit is set, the
marker attributes
are active.
If the ChartNode3D.DATA_TYPE_LINE
bit is set, the
points are connected by lines using the
line attributes.
If the ChartNode3D.DATA_TYPE_TUBE
bit is set, the
points are connected by tubes using the
line attributes.
Tubes are similar to lines, but are fully 3d objects and so can be shaded.
If the attribute "LabelType" is set to other than the default, then the data points are labeled. The contents of the labels are determined by the value of the "LabelType" attribute.
Nested Class Summary | |
---|---|
static interface |
Data.CustomMarkerFactory
Factory to create customized markers. |
Field Summary |
---|
Fields inherited from class com.imsl.chart3d.ChartNode3D |
---|
AXIS_TITLE_AT_END, AXIS_TITLE_PARALLEL, DATA_TYPE_LINE, DATA_TYPE_MARKER, DATA_TYPE_PICTURE, DATA_TYPE_TUBE, MARKER_TYPE_CUBE, MARKER_TYPE_CUSTOM, MARKER_TYPE_PLUS, MARKER_TYPE_SIMPLE_CUBE, MARKER_TYPE_SIMPLE_PLUS, MARKER_TYPE_SIMPLE_TETRAHEDRON, MARKER_TYPE_SPHERE, MARKER_TYPE_TETRAHEDRON |
Fields inherited from class com.imsl.chart.AbstractChartNode |
---|
AUTOSCALE_DATA, AUTOSCALE_DENSITY, AUTOSCALE_NUMBER, AUTOSCALE_OFF, AUTOSCALE_WINDOW, AXIS_X, AXIS_Y, AXIS_Z, LABEL_TYPE_NONE, LABEL_TYPE_TITLE, LABEL_TYPE_X, LABEL_TYPE_Y, LABEL_TYPE_Z, TRANSFORM_CUSTOM, TRANSFORM_LINEAR, TRANSFORM_LOG |
Constructor Summary | |
---|---|
Data(AxisXYZ parent)
Creates a data node. |
|
Data(AxisXYZ parent,
double[] x,
double[] y,
double[] z)
Creates a data node with x, y and z values. |
Method Summary | |
---|---|
protected void |
addToSceneGraph(Group parent)
Called to add this object to the scene graph. |
void |
dataRange(double[] range)
Update the data range, range = {xmin,xmax,ymin,ymax} . |
Data.CustomMarkerFactory |
getCustomMarkerFactory()
Returns a custom marker factory. |
void |
setCustomMarker(Data.CustomMarkerFactory customMarkerFactory)
Sets a custom marker factory. |
void |
update()
Update the surface by reevaluation of the z-function and the color function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Data(AxisXYZ parent)
parent
- the AxisXYZ
parent of this data nodepublic Data(AxisXYZ parent, double[] x, double[] y, double[] z)
parent
- the AxisXYZ
parent of this data nodex
- a double
array which contains the value for
the attribute "X" in this nodey
- a double
array which contains the value for
the attribute "Y" in this nodez
- a double
array which contains the value for
the attribute "Z" in this nodeMethod Detail |
---|
protected void addToSceneGraph(Group parent)
ChartNode3D
addToSceneGraph
in class ChartNode3D
parent
- is the node in the scene graph at which this
object is to be added.public void dataRange(double[] range)
range = {xmin,xmax,ymin,ymax}
.
The entries in range are updated to reflect the extent of
the data in this node.
The argument range
is an input/output variable. Its value should be
updated only if the data in this node is outside the range
already in the array.
range
- a double
array which contains the updated
range, {xmin,xmax,ymin,ymax}public Data.CustomMarkerFactory getCustomMarkerFactory()
public void setCustomMarker(Data.CustomMarkerFactory customMarkerFactory)
public void update()
|
JMSLTM Numerical Library 6.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |