|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
IShape | Defines methods required by 3D shapes. |
IShapeCanvas | Provides a canvas for drawing 3D shapes. |
IViewer | Defines methods required by a 3D viewer. |
IViewerSwing | Defines methods required by a Swing 3D viewer. |
Class Summary | |
---|---|
AbstractShapeCanvas | Provides a base class for a canvas for drawing 3D shapes. |
AbstractViewerSwing | Provides base functionality for Swing 3D viewers. |
GraphicsUIFactory | Provides creation methods for graphics UI objects. |
ImageCreator | Provides a class which creates an image file from a JComponent |
ObjectViewerAWT | Provides an AWT 3D object viewer. |
ObjectViewerJava3D | Provides a Java 3D object viewer. |
ObjectViewerSwing | Provides a Swing 3D object viewer. |
PolygonShapePool | Provides a pool for polygon shape objects. |
ShapeCanvasAWT | Provides a canvas for drawing 3D shapes. |
ShapeCanvasJava3D | Provides a Java 3D canvas for drawing 3D shapes. |
ShapeCanvasSwing | Provides a Swing canvas for drawing 3D shapes. |
ShapeGroup | Holds a collection of shapes and draws them. |
ShapeSortList | Provides a sortable list to hold shapes. |
StarfieldBackground | Provides a background filled with randomly placed points representing distant stars. |
Provides graphics classes for the game framework.
Figure 1 displays an overview of all classes in the graphics package.
Several assumptions were made to simplify the code.
Shape
s do not intersect or surroundShape
s are sorted back to front (see Painter's algorithm), and drawn in that order
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |