|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart3D.engine.Shape3D<Projector3D>
lt.monarch.chart.chart3D.engine.Sphere3D
public class Sphere3D extends Shape3D<Projector3D>
A class which generates sphere geometry.
| Modifier and Type | Class and Description |
|---|---|
static class |
Sphere3D.SphereType
The enumeration of possible sphere types. |
| Nested classes/interfaces inherited from class lt.monarch.chart.chart3D.engine.Shape3D |
|---|
Shape3D.Line, Shape3D.Polygon, Shape3D.ProjectableShape<ChartProjector extends Projector> |
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.chart3D.engine.Shape3D |
|---|
bounds, shapeList |
| Constructor and Description |
|---|
Sphere3D(Sphere3D.SphereType sphereType)
Constructs a new instance of a sphere with its topology type specified. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initShape()
Initializes the shape and adds its points to the array |
void |
setIterationCount(int iterationCount)
Sets an iteration count for ico sphere. |
void |
setRingCount(int ringCount)
Sets the ring count for uv sphere. |
void |
setSegmentCount(int segmentCount)
Sets the segment count for uv sphere. |
| Methods inherited from class lt.monarch.chart.chart3D.engine.Shape3D |
|---|
dispose, draw, finalize, getBounds, getSelectionId, projectPoint, setBounds, setDrawTransformation, setSelectionID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sphere3D(Sphere3D.SphereType sphereType)
sphereType - the type of sphere topology| Method Detail |
|---|
protected void initShape()
Shape3D
initShape in class Shape3D<Projector3D>public void setIterationCount(int iterationCount)
iterationCount - iteration countpublic void setRingCount(int ringCount)
ringCount - ring countpublic void setSegmentCount(int segmentCount)
segmentCount - segmentCount
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||