| Package | Description |
|---|---|
| com.orsoncharts | |
| com.orsoncharts.graphics3d |
The core 3D graphics rendering engine which is fully implemented using
the Java2D (Graphics2D) API.
|
| com.orsoncharts.graphics3d.swing |
Components to display 3D graphics in Swing applications.
|
| Modifier and Type | Method and Description |
|---|---|
ViewPoint3D |
Chart3D.getViewPoint()
Returns the view point.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Chart3D.setViewPoint(ViewPoint3D viewPoint)
Sets the view point.
|
| Modifier and Type | Method and Description |
|---|---|
static ViewPoint3D |
ViewPoint3D.createAboveLeftViewPoint(double rho)
Creates and returns a view point for looking at a chart from the
front and above and to the left.
|
static ViewPoint3D |
ViewPoint3D.createAboveRightViewPoint(double rho)
Creates and returns a view point for looking at a chart from the
front and above and to the right.
|
static ViewPoint3D |
ViewPoint3D.createAboveViewPoint(double rho)
Creates and returns a view point for looking at a chart from the
front and above.
|
ViewPoint3D |
Drawable3D.getViewPoint()
Returns the point from which the 3D scene is viewed.
|
ViewPoint3D |
DefaultDrawable3D.getViewPoint()
Returns the view point.
|
| Modifier and Type | Method and Description |
|---|---|
Point3D[] |
World.calculateEyeCoordinates(ViewPoint3D vp)
Returns an array containing the vertices for all objects in this
world, transformed to eye coordinates.
|
Point3D[] |
Object3D.calculateEyeCoordinates(ViewPoint3D viewPoint)
Returns the eye coordinates of the object's vertices.
|
java.awt.geom.Point2D[] |
World.calculateProjectedPoints(ViewPoint3D vp,
double d)
Calculates the projected points in 2D-space for all the vertices of the
objects in the world.
|
java.awt.geom.Point2D[] |
Object3D.calculateProjectedPoints(ViewPoint3D viewPoint,
double d)
Calculates the projected points for the object's vertices, for the
given viewpoint.
|
void |
Drawable3D.setViewPoint(ViewPoint3D viewPoint)
Sets a new view point.
|
void |
DefaultDrawable3D.setViewPoint(ViewPoint3D viewPoint)
Sets the view point.
|
| Modifier and Type | Method and Description |
|---|---|
ViewPoint3D |
Panel3D.getViewPoint()
Returns the view point that is maintained by the
Drawable3D
instance on display. |
| Modifier and Type | Method and Description |
|---|---|
void |
Panel3D.setViewPoint(ViewPoint3D vp)
Sets a new view point and repaints the panel.
|