|
JMSLTM Numerical Library 4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.imsl.chart.AbstractChartNode
com.imsl.chart3d.ChartNode3D
The base class of all of the nodes in the 3D chart tree.
| Field Summary | |
static int |
AXIS_TITLE_AT_END
Value for attribute "AxisTitlePosition" indicating that the axis title should be placed at the end of the axis. |
static int |
AXIS_TITLE_PARALLEL
Value for attribute "AxisTitlePosition" indicating that the axis title should be placed parallel to the axis. |
static int |
DATA_TYPE_LINE
Value for attribute "DataType" indicating that the data points should be connected with line segments. |
static int |
DATA_TYPE_MARKER
Value for attribute "DataType" indicating that a marker should be drawn at each data point. |
static int |
DATA_TYPE_PICTURE
Value for attribute "DataType" indicating that an image (attribute "Image") should be drawn at each data point. |
static int |
DATA_TYPE_TUBE
Value for attribute "DataType" indicating that a tube connecting the data points should be drawn. |
static int |
MARKER_TYPE_CUBE
Flag for a cube data marker. |
static int |
MARKER_TYPE_CUSTOM
Flag for a custom marker |
static int |
MARKER_TYPE_PLUS
Flag for a 3D plus sign data marker. |
static int |
MARKER_TYPE_SIMPLE_CUBE
Flag for a simple cube (no edge) data marker. |
static int |
MARKER_TYPE_SIMPLE_PLUS
Flag for a simple 2D plus sign (no edge) data marker. |
static int |
MARKER_TYPE_SIMPLE_TETRAHEDRON
Flag for a simple tetrahedron (no edge) data marker. |
static int |
MARKER_TYPE_SPHERE
Flag for a sphere data marker. |
static int |
MARKER_TYPE_TETRAHEDRON
Flag for a tetrahedron data marker. |
static long |
serialVersionUID
|
| 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 | |
ChartNode3D(ChartNode3D parent)
Construct a ChartNode3D object. |
|
| Method Summary | |
protected abstract void |
addToSceneGraph(Group parent)
Called to add this object to the scene graph. |
int |
getAxisTitlePosition()
Returns the value of the "AxisTitlePosition" attribute. |
BoundingSphere |
getBoundingSphere()
Gets the spherical bounding region object BoundingSphere. |
ChartNode3D[] |
getChildren()
Returns an array of the children of this node. |
ColorFunction |
getColorFunction()
Returns the value of the "ColorFunction" attribute. |
double[] |
getConcatenatedViewport()
Returns the value of the "Viewport" attribute concatenated with the "Viewport" attributes set in its ancestor nodes. |
int |
getDataType()
Returns the value of the "DataType" attribute. |
double |
getMarkerPulsingCycle()
Returns the value of the "MarkerPulsingCycle" attribute. |
double |
getMarkerPulsingCycleOffset()
Returns the value of the "MarkerPulsingCycleOffset" attribute. |
double |
getMarkerPulsingMaximumScale()
Returns the value of the "MarkerPulsingMaximumScale" attribute. |
double |
getMarkerPulsingMinimumScale()
Returns the value of the "MarkerPulsingMinimumScale" attribute. |
double[] |
getMarkerRotatingAxis()
Returns the value of the "MarkerRotatingAxis" attribute. |
double |
getMarkerRotatingCycle()
Returns the value of the "MarkerRotatingCycle" attribute. |
double |
getMarkerRotatingCycleOffset()
Returns the value of the "MarkerRotatingCycleOffset" attribute. |
int |
getMarkerType()
Returns the value of the "MarkerType" attribute. |
Material |
getMaterial()
Returns the value of the "Material" attribute. |
ChartNode3D |
getParent()
Returns the parent of this node. |
String |
getTitle()
Returns the value of the "Title" attribute. |
double[] |
getViewport()
Returns the value of the "Viewport" attribute. |
VirtualUniverse |
getVirtualUniverse()
Returns the value of the "Universe" attribute. |
double[] |
getZ()
Returns the value of the "Z" attribute. |
void |
setAxisTitlePosition(int value)
Sets the value of the "AxisTitlePosition" attribute. |
void |
setBoundingSphere(BoundingSphere bounds)
Sets the spherical bounding region object BoundingSphere. |
void |
setColorFunction(ColorFunction colorFunction)
Sets the value of the "ColorFunction" attribute. |
void |
setDataType(int value)
Sets the value of the "DataType" attribute. |
void |
setMarkerPulsingCycle(double time)
Sets the value of the "MarkerPulsingCycle" attribute. |
void |
setMarkerPulsingCycleOffset(double offset)
Sets the value of the "MarkerPulsingCycleOffset" attribute. |
void |
setMarkerPulsingMaximumScale(double max)
Sets the value of the "MarkerPulsingMaximumScale" attribute. |
void |
setMarkerPulsingMinimumScale(double min)
Sets the value of the "MarkerPulsingMinimumScale" attribute. |
void |
setMarkerRotatingAxis(double x,
double y,
double z)
Sets the value of the "MarkerRotatingAxis" attribute. |
void |
setMarkerRotatingCycle(double time)
Sets the value of the "MarkerRotatingCycle" attribute. |
void |
setMarkerRotatingCycleOffset(double offset)
Sets the value of the "MarkerRotatingCycleOffset" attribute. |
void |
setMarkerType(int type)
Sets the value of the "MarkerType" attribute. |
void |
setMaterial(Material material)
Sets the value of the "Material" attribute. |
void |
setTitle(String value)
Sets the value of the "Title" attribute. |
void |
setViewport(double[] value)
Sets the value of the "Viewport" attribute. |
void |
setViewport(double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
Sets the value of the "Viewport" attribute. |
void |
setZ(Object value)
Sets the value of the "Z" attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int AXIS_TITLE_AT_END
public static final int AXIS_TITLE_PARALLEL
public static final int DATA_TYPE_LINE
public static final int DATA_TYPE_MARKER
public static final int DATA_TYPE_PICTURE
public static final int DATA_TYPE_TUBE
public static final int MARKER_TYPE_CUBE
public static final int MARKER_TYPE_CUSTOM
public static final int MARKER_TYPE_PLUS
public static final int MARKER_TYPE_SIMPLE_CUBE
public static final int MARKER_TYPE_SIMPLE_PLUS
public static final int MARKER_TYPE_SIMPLE_TETRAHEDRON
public static final int MARKER_TYPE_SPHERE
public static final int MARKER_TYPE_TETRAHEDRON
public static final long serialVersionUID
| Constructor Detail |
public ChartNode3D(ChartNode3D parent)
ChartNode3D object.
parent - the ChartNode3D parent of this object| Method Detail |
protected abstract void addToSceneGraph(Group parent)
parent - is the node in the scene graph at which this
object is to be added.public int getAxisTitlePosition()
int value of the "AxisTitlePosition" attribute, if defined.
Otherwise, AXIS_TITLE_AT_END is returned.public BoundingSphere getBoundingSphere()
BoundingSphere.
BoundingSphere object which is defined by
a centerpoint and a radius.public final ChartNode3D[] getChildren()
ChartNode3D array which contains the
children of this nodepublic ColorFunction getColorFunction()
ColorFunction value of the "ColorFunction" attribute, if defined.
If not defined null is returned.public double[] getConcatenatedViewport()
double[4] array containing xmin, xmax, ymin, ymax, zmin, zmaxpublic int getDataType()
int value of the "DataType" attribute, if defined.
Otherwise, DATA_TYPE_MARKER is returned.public double getMarkerPulsingCycle()
double value of the "MarkerPulsingCycle" attribute, if defined.
Otherwise, a default of 0.0 is returned.public double getMarkerPulsingCycleOffset()
double value of the "MarkerPulsingCycleOffset" attribute, if defined.
Otherwise, a default of 0.0 is returned.public double getMarkerPulsingMaximumScale()
double value of the "MarkerPulsingMaximumScale" attribute, if defined.
Otherwise, a default of 2.0 is returned.public double getMarkerPulsingMinimumScale()
double value of the "MarkerPulsingMinimumScale" attribute, if defined.
Otherwise, a default of 0.0 is returned.public double[] getMarkerRotatingAxis()
double value of the "MarkerRotatingAxis" attribute, if defined.
Otherwise, a default of 0.0 is returned.public double getMarkerRotatingCycle()
double value of the "MarkerRotatingCycle" attribute, if defined.
Otherwise, a default of 0.0 is returned.public double getMarkerRotatingCycleOffset()
double value of the "MarkerRotatingCycleOffset" attribute, if defined.
Otherwise, a default of 0.0 is returned.public int getMarkerType()
int value of the "MarkerType" attribute, if defined.
Otherwise, a default of MARKER_TYPE_CUBE is returned.public Material getMaterial()
public ChartNode3D getParent()
ChartNode3D object which contains this node's parent. This is
null in the case of the root node of the chart tree, since
that node has no parent.public String getTitle()
String value of the "Title" attributepublic double[] getViewport()
double[6] array containing xmin, xmax, ymin, ymax, zmin, zmaxpublic VirtualUniverse getVirtualUniverse()
public double[] getZ()
double array which contains the value of the "Z" attributepublic void setAxisTitlePosition(int value)
value - "AxisTitlePosition" value. This should be
AXIS_TITLE_AT_END or
AXIS_TITLE_PARALLEL.
AXIS_TITLE_AT_END is the default value.public void setBoundingSphere(BoundingSphere bounds)
BoundingSphere.
bounds - a BoundingSphere object which is defined by
a centerpoint and a radius.public void setColorFunction(ColorFunction colorFunction)
colorFunction - defines a mapping from x,y,z to a color.public void setDataType(int value)
value - "DataType" value. This should be some
xor-ed combination of DATA_TYPE_LINE, DATA_TYPE_MARKER.public void setMarkerPulsingCycle(double time)
time - a double which specifies the "MarkerPulsingCycle" time in seconds.public void setMarkerPulsingCycleOffset(double offset)
offset - a double which specifies the "MarkerPulsingCycleOffset".
This is the time, in seconds, by which a pulsing marker starting time is offset from
the initial time. This allows different markers to pulse with different phases.public void setMarkerPulsingMaximumScale(double max)
max - a double which specifies the "MarkerPulsingMaximumScale".
This is the amount by which a pulsing marker is scaled at the top of
a pulse. Its default value is 2.0.public void setMarkerPulsingMinimumScale(double min)
min - a double which specifies the "MarkerPulsingMinimumScale".
This is the amount by which a pulsing marker is scaled at the bottom of
a pulse. Its default value is 0.0.
public void setMarkerRotatingAxis(double x,
double y,
double z)
x - is the x-coordinate of the rotation axis.y - is the y-coordinate of the rotation axis.z - is the z-coordinate of the rotation axis.public void setMarkerRotatingCycle(double time)
time - a double which specifies the "MarkerRotatingCycle" time in seconds.public void setMarkerRotatingCycleOffset(double offset)
offset - a double which specifies the "MarkerRotatingCycleOffset".
This is the time, in seconds, by which a rotating marker starting time is offset from
the initial time. This allows different markers to rotate with different phases.public void setMarkerType(int type)
type - the int "MarkerType" value.MARKER_TYPE_CUBE,
MARKER_TYPE_SIMPLE_CUBE,
MARKER_TYPE_SPHERE,
MARKER_TYPE_TETRAHEDRON,
MARKER_TYPE_SIMPLE_TETRAHEDRON,
MARKER_TYPE_PLUS,
MARKER_TYPE_SIMPLE_PLUS,
MARKER_TYPE_CUSTOMpublic void setMaterial(Material material)
material - is a Java 3D Material value.public void setTitle(String value)
value - a String which contains the "Title" valuepublic void setViewport(double[] value)
value - A double array of length 6 which contains the
"Viewport" values for xmin, xmax, ymin, ymax, zmin, zmax.
The value saved is a copy of the input array.Axis
public void setViewport(double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
xmin - a double, the minimum x-coordinate of the viewportxmax - a double, the maximum x-coordinate of the viewportymin - a double, the minimum y-coordinate of the viewportymax - a double, the maximum y-coordinate of the viewportzmin - a double, the minimum z-coordinate of the viewportzmax - a double, the maximum z-coordinate of the viewportpublic void setZ(Object value)
value - the Object which contains the "Z" value
|
JMSLTM Numerical Library 4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||