|
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.JCView3d
The JCView3d
class holds information about the perspective and the rotation
angles at which the users view the data in the plotcube.
Field Summary | |
static double |
MAX_PERSPECTIVE
The maximum allowed perspective value. |
static double |
MIN_PERSPECTIVE
The minimum allowed perspective value. |
protected double |
perspective
The plot cube perspective value (defaults to 2.5). |
protected double |
xRotation
The X rotation angle. |
protected double |
yRotation
The Y rotation angle. |
protected double |
zRotation
The Z rotation angle. |
Fields inherited from class com.klg.jclass.chart3d.ParentTrackChange |
parents |
Constructor Summary | |
JCView3d()
No args constructor. |
|
JCView3d(double perspective,
double xRotation,
double yRotation,
double zRotation)
Constructor that provides perspective and x, y, and z rotation values. |
Method Summary | |
double |
getPerspective()
Returns the plot cube perspective. |
double |
getXRotation()
Returns the X rotation angle. |
double |
getYRotation()
Returns the Y rotation angle. |
double |
getZRotation()
Returns the Z rotation angle. |
void |
setPerspective(double perspective)
Sets the plot cube perspective. |
void |
setXRotation(double xRotation)
Sets the X rotation angle. |
void |
setXYZRotation(double xRotation,
double yRotation,
double zRotation)
Sets all three rotation angles at once (with only one update). |
void |
setYRotation(double yRotation)
Sets the Y rotation angle. |
void |
setZRotation(double zRotation)
Sets the Z rotation angle. |
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 |
Field Detail |
public static final double MIN_PERSPECTIVE
public static final double MAX_PERSPECTIVE
protected double perspective
protected double xRotation
protected double yRotation
protected double zRotation
Constructor Detail |
public JCView3d()
public JCView3d(double perspective, double xRotation, double yRotation, double zRotation)
perspective
- the plot cube perspective valuexRotation
- the X rotation angleyRotation
- the Y rotation anglezRotation
- the Z rotation angleMethod Detail |
public void setPerspective(double perspective)
perspective
- the plot cube perspectivepublic double getPerspective()
public void setXRotation(double xRotation)
xRotation
- the X rotation anglepublic double getXRotation()
public void setYRotation(double yRotation)
yRotation
- the Y rotation anglepublic double getYRotation()
public void setZRotation(double zRotation)
zRotation
- the Z rotation anglepublic double getZRotation()
public void setXYZRotation(double xRotation, double yRotation, double zRotation)
xRotation
- the X rotation angleyRotation
- the Y rotation anglezRotation
- the Z rotation angle
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |