public class AxisXYZ extends ChartNode3D implements Serializable
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.
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_TETRAHEDRONAUTOSCALE_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 and Description |
|---|
AxisXYZ(Chart3D chart)
Create an
AxisXYZ. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToSceneGraph(javax.media.j3d.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.
|
getAxisTitlePosition, getBoundingSphere, getChildren, getColorFunction, getConcatenatedViewport, getDataType, getLightingEnabled, getMarkerPulsingCycle, getMarkerPulsingCycleOffset, getMarkerPulsingMaximumScale, getMarkerPulsingMinimumScale, getMarkerRotatingAxis, getMarkerRotatingCycle, getMarkerRotatingCycleOffset, getMarkerType, getMaterial, getParent, getTitle, getViewport, getVirtualUniverse, getZ, setAxisTitlePosition, setBoundingSphere, setColorFunction, setDataType, setLightingEnabled, setMarkerPulsingCycle, setMarkerPulsingCycleOffset, setMarkerPulsingMaximumScale, setMarkerPulsingMinimumScale, setMarkerRotatingAxis, setMarkerRotatingCycle, setMarkerRotatingCycleOffset, setMarkerType, setMaterial, setTitle, setViewport, setViewport, setZclone, clone, clone, clone, getAbstractParent, getAttribute, getAutoscaleInput, getAutoscaleMinimumTimeInterval, getAutoscaleOutput, getBooleanAttribute, getChildList, getColorAttribute, getCustomTransform, getDensity, getDoubleAttribute, getFillColor, getFont, getFontName, getFontSize, getFontStyle, getImage, getIntegerAttribute, getLabelType, getLightColor, getLineColor, getLineWidth, getLocale, getMarkerColor, getMarkerSize, getName, getNumber, getPaint, getStringAttribute, getTextColor, getTextFormat, getTickLength, getTransform, getX, getY, isAncestorOf, isAttributeSet, isAttributeSetAtThisNode, isBitSet, parseColor, remove, setAttribute, setAutoscaleInput, setAutoscaleMinimumTimeInterval, setAutoscaleOutput, setCustomTransform, setDensity, setFillColor, setFillColor, setFont, setFontName, setFontSize, setFontStyle, setImage, setLabelType, setLightColor, setLightColor, setLineColor, setLineColor, setLineWidth, setLocale, setMarkerColor, setMarkerColor, setMarkerSize, setName, setNumber, setPaint, setTextColor, setTextColor, setTextFormat, setTextFormat, setTickLength, setTransform, setX, setY, toStringpublic 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 nodeprotected void addToSceneGraph(javax.media.j3d.Group parent)
ChartNode3DaddToSceneGraph in class ChartNode3Dparent - 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.Copyright © 1970-2015 Rogue Wave Software
Built March 24 2015.