|
JMSLTM Numerical Library 5.0.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.AxisXYZ
public class AxisXYZ
The axes for an x-y-z chart.
This node is used when the mapping to and from user and device space can be decomposed into an x, a y and a z mapping.
Field Summary | |
---|---|
static long |
serialVersionUID
|
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 | |
---|---|
AxisXYZ(Chart3D chart)
Create an AxisXYZ . |
Method Summary | |
---|---|
protected void |
addToSceneGraph(Group parent)
Called to add this object to the scene graph. |
AxisBox |
getAxisBox()
Return the axis box node. |
Axis3D |
getAxisX()
Return the x-axis node. |
Axis3D |
getAxisY()
Return the y-axis node. |
Axis3D |
getAxisZ()
Return the z-axis node. |
void |
mapCubeToUser(double cubeX,
double cubeY,
double cubeZ,
double[] userXYZ)
Map the cube coordinates to user coordinates. |
void |
mapUserToCube(double userX,
double userY,
double userZ,
double[] cubeXYZ)
Map the user coordinates (userX,userY) to the cube coordinates cubeXYZ. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public AxisXYZ(Chart3D chart)
AxisXYZ
. This also creates three Axis3D
nodes as children of this node. They hold the decomposed mapping.
chart
- the Chart3D
parent of 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 AxisBox getAxisBox()
AxisBox
nodepublic Axis3D getAxisX()
Axis3D
x-axis nodepublic Axis3D getAxisY()
Axis3D
y-axis nodepublic Axis3D getAxisZ()
Axis3D
z-axis nodepublic void mapCubeToUser(double cubeX, double cubeY, double cubeZ, double[] userXYZ)
cubeX
- an int
, the cube x-coordinatecubeY
- an int
, the cube y-coordinatecubeZ
- an int
, the cube z-coordinateuserXYZ
- a double
[3] array on input.
On output, the user coordinates.public void mapUserToCube(double userX, double userY, double userZ, double[] cubeXYZ)
userX
- a double
, the user x-coordinateuserY
- a double
, the user y-coordinateuserZ
- a double
, the user y-coordinatecubeXYZ
- an int
[3] array on input.
On output, the cube coordinates.
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |