| Package | Description |
|---|---|
| com.orsoncharts | |
| com.orsoncharts.graphics3d |
The core 3D graphics rendering engine which is fully implemented using
the Java2D (Graphics2D) API.
|
| com.orsoncharts.plot |
Standard plot types (
PiePlot3D,
CategoryPlot3D and
XYZPlot) that can be used with the
Chart3D class. |
| Modifier and Type | Method and Description |
|---|---|
Object3D |
ChartBox3D.createObject3D()
Creates an
Object3D that contains the six faces for the
chart box, plus the vertices for the tick marks along the edges of
each face. |
| Constructor and Description |
|---|
ChartBoxFace(Object3D owner,
int[] vertices)
Creates a new face for a
ChartBox3D. |
| Modifier and Type | Class and Description |
|---|---|
class |
Dot3D
A 3D object that is simply a dot (single vertex).
|
class |
LineObject3D
A line between two points in 3D space.
|
| Modifier and Type | Method and Description |
|---|---|
static Object3D |
Object3D.createBar(double xWidth,
double zWidth,
double x,
double y,
double z,
double zero,
java.awt.Color barColor,
java.awt.Color baseColor,
java.awt.Color topColor,
boolean inverted)
Creates a bar with the specified dimensions and color.
|
static Object3D |
Object3D.createBox(double x,
double xdim,
double y,
double ydim,
double z,
double zdim,
java.awt.Color color)
Creates a box centered on
(x, y, z) with the specified
dimensions. |
static Object3D |
Object3D.createCube(double size,
double x,
double y,
double z,
java.awt.Color color)
Creates a cube centered on
(x, y, z) with the specified
size. |
static Object3D |
Object3D.createLabelObject(java.lang.String label,
java.awt.Font font,
java.awt.Color fgColor,
java.awt.Color bgColor,
double x,
double y,
double z,
boolean reversed,
boolean doubleSided)
Creates a label object, which has a single transparent face in the
Z-plane plus associated label attributes.
|
static Object3D |
Object3D.createOctahedron(double size,
double xOffset,
double yOffset,
double zOffset,
java.awt.Color color)
Creates an octahedron.
|
static Object3D |
Object3D.createPieSegment(double radius,
double explodeRadius,
double base,
double height,
double angle1,
double angle2,
double inc,
java.awt.Color color)
Creates a pie segment with the specified attributes.
|
static Object3D |
Object3D.createSphere(double radius,
int n,
double x,
double y,
double z,
java.awt.Color extColor,
java.awt.Color intColor)
Creates an approximation of a sphere.
|
static Object3D |
Object3D.createTetrahedron(double size,
double xOffset,
double yOffset,
double zOffset,
java.awt.Color color)
Creates a tetrahedron.
|
static Object3D |
Object3D.createYSheet(double size,
double x,
double y,
double z,
java.awt.Color color,
boolean invert)
Creates a square flat surface in the x-z plane (constant y) with a
single face.
|
static Object3D |
Object3D.createZSheet(double size,
double x,
double y,
double z,
java.awt.Color color)
Creates a square flat surface in the x-y plane (constant z).
|
Object3D |
RenderingInfo.fetchObjectAt(double x,
double y)
Fetches the object, if any, that is rendered at
(x, y). |
Object3D |
Face.getOwner()
Returns the object that this face belongs too (as passed to the
constructor).
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<Object3D> |
Object3D.createPieLabelMarkers(double radius,
double explodeRadius,
double base,
double height,
double angle1,
double angle2)
Returns two 3D objects (sheets in the y-plane) that can be used as
alignment anchors for the labels of a pie segment.
|
java.util.List<Object3D> |
World.getObjects()
Returns a newly created list containing all the objects in the world
model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
World.add(Object3D object)
Adds an object to the world in the default partition.
|
void |
World.add(java.lang.String partition,
Object3D object)
Adds an object to a specific partition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
World.addAll(java.util.Collection<Object3D> objects)
Adds a collection of objects to the world (in the default
partition).
|
| Constructor and Description |
|---|
DoubleSidedFace(Object3D owner,
int[] vertices)
Creates a new double-sided face.
|
Face(Object3D owner,
int[] vertices)
Creates a new face with the specified vertices that is part of the 3D
owner object. |
LabelFace(Object3D owner,
int[] vertices,
java.lang.String label,
java.awt.Font font,
java.awt.Color textColor,
java.awt.Color backgroundColor)
Creates a new instance.
|
TaggedFace(Object3D owner,
int[] vertices,
java.lang.String tag)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Object3D> |
PiePlot3D.getLabelFaces(double xOffset,
double yOffset,
double zOffset)
Returns a list of label faces for the plot.
|