|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.ParentTrackChange | +--com.klg.jclass.chart3d.JCPlotCube | +--com.klg.jclass.chart3d.j3d.JCPlotCubeJava3d
The JCPlotCubeJava3d
class creates the cube that surrounds the
surface, bar, or scatter plot.
Field Summary |
Fields inherited from class com.klg.jclass.chart3d.JCPlotCube |
area, background, ceiling, floor, foreground, xNormalizedScale, xScale, yNormalizedScale, yScale, zNormalizedScale, zScale |
Fields inherited from class com.klg.jclass.chart3d.ParentTrackChange |
parents |
Constructor Summary | |
JCPlotCubeJava3d(com.klg.jclass.chart3d.j3d.JCChart3dAreaJava3d chart3dAreaX)
Constructor given a parent chart3d area. |
Method Summary | |
void |
addAnnotationBranchGroup(com.klg.jclass.chart3d.j3d.JCBranchGroup bg)
Adds a BranchGroup containing axis annotation. |
protected void |
addDataGroup(BranchGroup bgDataGroup)
|
protected void |
addGridLines()
|
void |
addPickAxis(BranchGroup bgPick)
Adds a marker to the chart to show a pick location. |
void |
createProjections()
Creates projections of the chart on to the floor and ceiling of the plotcube. |
void |
flipWallImage(int face,
int axis)
Flips the image 180 degrees about the specified axis. |
com.klg.jclass.chart3d.j3d.JCBranchGroup |
getContent()
Returns the BranchGroup containing the plotcube. |
float |
getDefaultTransparency()
Returns the default transparency value for the solid walls of the plotcube. |
Color |
getOutlineColor()
Returns the outline color of the solid walls of the plotcube. |
Transform3D |
getPlotCubeScaling()
Returns the scaling transform for the plotcube. |
com.klg.jclass.chart3d.j3d.PlotCubeTransformGroup |
getTransformGroup()
Returns the TransformGroup containing the plotcube. |
protected void |
getTranslation(Vector3d translation)
|
double |
getWallImageAngle(int face)
|
Color |
getWireframeColor()
Returns the color of the wireframe outline of the plotcube. |
void |
removeAllAnnotation()
Removes all BranchGroups containing annotation. |
protected void |
removeAllDataGroups()
|
void |
removeCeilingProjection()
Removes chart projection from the ceiling of the plotcube. |
void |
removeFloorProjection()
Removes chart projection from the floor of the plotcube. |
void |
removePickAxis()
Removes a pick marker from the chart. |
protected void |
rotate(double angleX,
double angleY,
double angleZ)
|
void |
rotateWallImage(int face,
double angle)
|
void |
setBackground(Color color)
Sets the fill color of the solid walls of the plotcube. |
void |
setDefaultTransparency(float value)
Sets the default transparency value for the solid walls of the plotcube. |
void |
setForeground(Color foreground)
Sets the foreground color for the plotcube. |
void |
setOutlineColor(Color color)
The solid walls of the plotcube have both a fill color and an outline color. |
protected void |
setPerspective()
|
void |
setScale(double scale)
Applies a uniform scaling factor to the plotcube. |
void |
setSolidWallsVisible(boolean fVisible)
Displays or hides the solid walls of the plotcube. |
void |
setTexture(com.klg.jclass.chart3d.j3d.JCTexture2D texture)
|
void |
setWallImage(int face,
String filename,
double angle)
|
void |
setWallImage(String filename)
|
void |
setWallOuterFaceVisible(int face,
boolean flag)
Sets the visibility of the exterior face of a plotcube wall. |
void |
setWallTexture(int face,
com.klg.jclass.chart3d.j3d.JCTexture2D texture,
double angle)
|
void |
setWallTransparency(int face,
float transparency)
Sets the transparency for a specified wall of the plotcube. |
void |
setWireframeColor(Color color)
Sets the color of the wireframe outline of the plotcube. |
void |
setWireFrameVisible(boolean fVisible)
Displays or hides a wireframe outline of the plotcube. |
void |
setXScale(double xScale)
Sets the PlotCube 's x scale (default value is 1.0). |
void |
setYScale(double yScale)
Sets the PlotCube 's y scale (default value is 1.0). |
void |
setZScale(double zScale)
Sets the PlotCube 's z scale (default value is 1.0). |
protected void |
translate(Vector3d translation)
|
void |
updateProjections()
Replaces existing floor and ceiling projections. |
Methods inherited from class com.klg.jclass.chart3d.ParentTrackChange |
addParent, clearParents, removeParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCPlotCubeJava3d(com.klg.jclass.chart3d.j3d.JCChart3dAreaJava3d chart3dAreaX)
chart3dAreaX
- the parent chart3d areaMethod Detail |
public void createProjections()
public void removeCeilingProjection()
public void removeFloorProjection()
public void updateProjections()
protected void addGridLines()
public com.klg.jclass.chart3d.j3d.JCBranchGroup getContent()
BranchGroup
containing the plotcube.
BranchGroup
containing the plotcubepublic com.klg.jclass.chart3d.j3d.PlotCubeTransformGroup getTransformGroup()
TransformGroup
containing the plotcube.
PlotCubeTransformGroup
containing the plotcubeprotected void setPerspective()
public void setWireFrameVisible(boolean fVisible)
fVisible
- true
to display the wireframe, false
to hide itpublic void setWireframeColor(Color color)
color
- the desired color of the plotcube wireframepublic Color getWireframeColor()
public void setSolidWallsVisible(boolean fVisible)
fVisible
- true
to display the solid walls, false
to hide thempublic void setOutlineColor(Color color)
color
- the desired outline color for the solid plotcube wallspublic Color getOutlineColor()
public void setForeground(Color foreground)
setForeground
in class JCPlotCube
foreground
- the desired foreground color of the plotcubepublic void setBackground(Color color)
setBackground
in class JCPlotCube
color
- the desired fill color for the solid plotcube wallspublic void setWallImage(int face, String filename, double angle)
public void setWallTexture(int face, com.klg.jclass.chart3d.j3d.JCTexture2D texture, double angle)
public void setWallImage(String filename)
public void rotateWallImage(int face, double angle)
public double getWallImageAngle(int face)
public void flipWallImage(int face, int axis)
face
- axis
- public void setTexture(com.klg.jclass.chart3d.j3d.JCTexture2D texture)
public void setWallOuterFaceVisible(int face, boolean flag)
face
- an integer value identifying a particular wall of the plotcubeflag
- true
to set the exterior face visible, false
to hide the exterior facepublic void setDefaultTransparency(float value)
value
- the default transparency value, with 0.0 being fully opaque and 1.0 being fully transparentpublic float getDefaultTransparency()
public void setWallTransparency(int face, float transparency)
face
- an integer value identifying a particular wall of the plotcubetransparency
- the transparency value, with 0.0 being fully opaque and 1.0 being fully transparentprotected void rotate(double angleX, double angleY, double angleZ)
protected void translate(Vector3d translation)
protected void getTranslation(Vector3d translation)
public void setXScale(double xScale)
PlotCube
's x scale (default value is 1.0).
setXScale
in class JCPlotCube
xScale
- the new x scalepublic void setYScale(double yScale)
PlotCube
's y scale (default value is 1.0).
setYScale
in class JCPlotCube
yScale
- the new y scalepublic void setZScale(double zScale)
PlotCube
's z scale (default value is 1.0).
setZScale
in class JCPlotCube
zScale
- the new z scalepublic void setScale(double scale)
scale
- the new z scaleprotected void addDataGroup(BranchGroup bgDataGroup)
protected void removeAllDataGroups()
public void addPickAxis(BranchGroup bgPick)
bgPick
- a BranchGroup
containing the markerpublic void removePickAxis()
public void addAnnotationBranchGroup(com.klg.jclass.chart3d.j3d.JCBranchGroup bg)
BranchGroup
containing axis annotation.
bg
- a BranchGroup
containing the annotationpublic void removeAllAnnotation()
BranchGroups
containing annotation.
public Transform3D getPlotCubeScaling()
Transform3D
used to scale the plotcube
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |