public static final class ChartBox3D.ChartBoxFace extends Face
Face that is used by the ChartBox3D
so that when faces are sorted by z-order, the chart box sides are always
drawn first (furthest in the background). Also, these faces track
tick marks, values and anchor points.| Constructor and Description |
|---|
ChartBoxFace(Object3D owner,
int[] vertices)
Creates a new face for a
ChartBox3D. |
| Modifier and Type | Method and Description |
|---|---|
void |
addXMarker(MarkerData marker)
Adds marker data for the x-dimension.
|
void |
addXTicks(TickData a,
TickData b)
Adds tick data for edges A and B.
|
void |
addYMarker(MarkerData marker)
Adds marker data for the y-dimension.
|
void |
addYTicks(TickData a,
TickData b)
Adds tick data items for the y-axis.
|
void |
addZMarker(MarkerData marker)
Adds marker data for the z-dimension.
|
void |
addZTicks(TickData a,
TickData b)
Adds tick data items for the z-axis.
|
float |
calculateAverageZValue(Point3D[] points)
Returns
-123456f which ensures that the chart box face
is always drawn first (before any data items). |
void |
clearXTicks()
Clears the ticks for the x-axis.
|
java.util.List<MarkerData> |
getXMarkers()
Returns a list of marker data for the x-dimension (the list is not
modifiable).
|
java.util.List<TickData> |
getXTicksA()
Returns the x-axis tick data for edge A.
|
java.util.List<TickData> |
getXTicksB()
Returns the x-axis tick data for the edge B.
|
java.util.List<MarkerData> |
getYMarkers()
Returns a list of marker data for the y-dimension (the list is not
modifiable).
|
java.util.List<TickData> |
getYTicksA()
Returns the y-axis tick data for the edge A.
|
java.util.List<TickData> |
getYTicksB()
Returns the y-axis tick data for the edge B.
|
java.util.List<MarkerData> |
getZMarkers()
Returns a list of marker data for the z-dimension (the list is not
modifiable).
|
java.util.List<TickData> |
getZTicksA()
Returns the z-axis tick data for the edge A.
|
java.util.List<TickData> |
getZTicksB()
Returns the z-axis tick data for the edge B.
|
calculateNormal, createPath, getColor, getOffset, getOutline, getOwner, getTag, getVertexCount, getVertexIndex, isFrontFacing, setOffset, toStringpublic ChartBoxFace(Object3D owner, int[] vertices)
ChartBox3D.owner - the object that the new face belongs to (null
not permitted).vertices - the indices of the vertices.public void clearXTicks()
public java.util.List<TickData> getXTicksA()
public void addXTicks(TickData a, TickData b)
a - data for a tick on edge A.b - data for a tick on edge B.public java.util.List<TickData> getXTicksB()
public void addYTicks(TickData a, TickData b)
a - data for a tick on edge A.b - data for a tick on edge B.public java.util.List<TickData> getYTicksA()
public java.util.List<TickData> getYTicksB()
public void addZTicks(TickData a, TickData b)
a - data for a tick on edge A.b - data for a tick on edge B.public java.util.List<TickData> getZTicksA()
public java.util.List<TickData> getZTicksB()
public void addXMarker(MarkerData marker)
marker - the marker data (null not permitted).public java.util.List<MarkerData> getXMarkers()
null).public void addYMarker(MarkerData marker)
marker - the marker data (null not permitted).public java.util.List<MarkerData> getYMarkers()
null).public void addZMarker(MarkerData marker)
marker - the marker data (null not permitted).public java.util.List<MarkerData> getZMarkers()
null).public float calculateAverageZValue(Point3D[] points)
-123456f which ensures that the chart box face
is always drawn first (before any data items).calculateAverageZValue in class Facepoints - the points (ignored here).-123456f.