JMSLTM Numerical Library 6.1

com.imsl.chart3d
Class Chart3D

java.lang.Object
  extended by com.imsl.chart.AbstractChartNode
      extended by com.imsl.chart3d.ChartNode3D
          extended by com.imsl.chart3d.Chart3D
All Implemented Interfaces:
Serializable, Cloneable

public class Chart3D
extends ChartNode3D
implements Serializable

Root node of a 3d chart tree.

See Also:
Serialized Form

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
Chart3D()
          Creates a new instance of Chart3D
 
Method Summary
protected  void addToSceneGraph(Group parent)
          Called to add this object to the scene graph.
 void cleanup()
          Cleanup memory use and references used by the chart.
 Object clone()
          Returns a clone of the graphics tree.
protected  Object clone(Map hashClonedNode)
          Returns a clone of this node.
protected  void finalize()
           
 Background getBackground()
          Returns the value of the "Background" attribute.
 Canvas3D getCanvas()
           
 boolean getKeyboard()
          Returns the value of the "Keyboard" attribute.
 boolean getOrbit()
          Returns the value of the "Orbit" attribute.
 void getViewPlatformTransformation(Transform3D t3d)
          Sets the transformation for the view platform.
 void resetViewPlatformTransformation()
          Resets the view platform transformation to its default value.
 void setCanvas(Canvas3D canvas)
           
 void setKeyboard(boolean keyboard)
          Sets the value of the "Keyboard" attribute.
 void setOrbit(boolean orbit)
          Sets the value of the "Orbit" attribute.
 void setViewPlatformTransformation(Transform3D t3d)
          Sets the transformation for the view platform.
 
Methods inherited from class com.imsl.chart3d.ChartNode3D
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, setZ
 
Methods inherited from class com.imsl.chart.AbstractChartNode
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, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Chart3D

public Chart3D()
Creates a new instance of Chart3D

Method Detail

addToSceneGraph

protected void addToSceneGraph(Group parent)
Description copied from class: ChartNode3D
Called to add this object to the scene graph.

Specified by:
addToSceneGraph in class ChartNode3D
Parameters:
parent - is the node in the scene graph at which this object is to be added.

cleanup

public void cleanup()
Cleanup memory use and references used by the chart. Typically it should be invoked by an applet's destroy method.


clone

public Object clone()
Returns a clone of the graphics tree.

Overrides:
clone in class Object
Returns:
an Object which is a clone of this graphics tree

clone

protected Object clone(Map hashClonedNode)
Returns a clone of this node.

Overrides:
clone in class AbstractChartNode
Parameters:
hashClonedNode - the Hashtable to be cloned
Returns:
an Object which is a clone of this node

finalize

protected void finalize()
Overrides:
finalize in class Object

getBackground

public Background getBackground()
Returns the value of the "Background" attribute. This is the node used to draw the chart's background.

Returns:
The Background value of the "Background" attribute, if defined. Otherwise, null is returned.

getCanvas

public Canvas3D getCanvas()

getKeyboard

public boolean getKeyboard()
Returns the value of the "Keyboard" attribute. If true then the mouse can be used to zoom, translate and reset the chart. Its default value is true.

Returns:
the value for the "Keyboard" attribute.

getOrbit

public boolean getOrbit()
Returns the value of the "Orbit" attribute. If true then the mouse can be used to rotate, zoom and translate the chart. Its default value is true.

Returns:
the value for the "Orbit" attribute.

getViewPlatformTransformation

public void getViewPlatformTransformation(Transform3D t3d)
Sets the transformation for the view platform.

Parameters:
t3d - is set to the ViewPlatform transformation.

resetViewPlatformTransformation

public void resetViewPlatformTransformation()
Resets the view platform transformation to its default value.


setCanvas

public void setCanvas(Canvas3D canvas)

setKeyboard

public void setKeyboard(boolean keyboard)
Sets the value of the "Keyboard" attribute. If true then the keyboard can be used to zoom, translate and reset the chart.

Parameters:
keyboard - is the value for the "Keyboard" attribute.

setOrbit

public void setOrbit(boolean orbit)
Sets the value of the "Orbit" attribute. If true then the mouse can be used to rotate, zoom and translate the chart.

Parameters:
orbit - is the value for the "Orbit" attribute.

setViewPlatformTransformation

public void setViewPlatformTransformation(Transform3D t3d)
Sets the transformation for the view platform.

Parameters:
t3d - is the new ViewPlatform transformation.

JMSLTM Numerical Library 6.1

Copyright © 1970-2010 Visual Numerics, Inc.
Built July 30 2010.