lt.monarch.chart.chart3D.engine
Class Projector3D

java.lang.Object
  extended by lt.monarch.chart.chart3D.engine.Projector3D
All Implemented Interfaces:
java.lang.Cloneable, Projector
Direct Known Subclasses:
SimpleProjector3D

public abstract class Projector3D
extends java.lang.Object
implements Projector

3D projector maps Point3D objects into the specified projection area.


Field Summary
Modifier and Type Field and Description
protected  double elevation
           
protected  double rotation
           
 
Constructor Summary
Constructor and Description
Projector3D()
           
 
Method Summary
Modifier and Type Method and Description
 java.lang.Object clone()
          Clones this projector
 double getElevationAngle()
          Returns a YZ plane rotation angle
 double getRotationAngle()
          Returns a XY plane rotation angle
 void setElevationAngle(double angle)
          Sets a YZ plane rotation angle
 void setRotationAngle(double angle)
          Sets a XY plane rotation angle
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lt.monarch.chart.engine.Projector
getProjectionArea, getProjectionAreaReference, prepare, project, project, project, setProjectionArea
 

Field Detail

rotation

protected double rotation

elevation

protected double elevation
Constructor Detail

Projector3D

public Projector3D()
Method Detail

clone

public java.lang.Object clone()
Description copied from interface: Projector
Clones this projector

Specified by:
clone in interface Projector
Overrides:
clone in class java.lang.Object
Returns:
cloned projector

setRotationAngle

public void setRotationAngle(double angle)
Sets a XY plane rotation angle

Parameters:
angle - rotation angle

getRotationAngle

public double getRotationAngle()
Returns a XY plane rotation angle

Returns:
rotation angle

setElevationAngle

public void setElevationAngle(double angle)
Sets a YZ plane rotation angle

Parameters:
angle - rotation angle

getElevationAngle

public double getElevationAngle()
Returns a YZ plane rotation angle

Returns:
rotation angle