org.jmol.g3d
abstract class Platform3D extends Object
Specifies the API to an underlying int[] buffer of ARGB values that can be converted into an Image object and a short[] for z-buffer depth.
| Nested Class Summary | |
|---|---|
| class | Platform3D.ClearingThread |
| Field Summary | |
|---|---|
| int | bufferHeight |
| int | bufferSize |
| int | bufferSizeT |
| int | bufferWidth |
| Platform3D.ClearingThread | clearingThread |
| static boolean | desireClearingThread |
| static boolean | forcePlatformAWT |
| Graphics | gOffscreen |
| int | heightOffscreen |
| Image | imageOffscreen |
| Image | imagePixelBuffer |
| int[] | pBuffer |
| int[] | pBufferT |
| boolean | useClearingThread |
| int | widthOffscreen |
| int | windowHeight |
| int | windowSize |
| int | windowWidth |
| int[] | zBuffer |
| int[] | zBufferT |
| Method Summary | |
|---|---|
| void | allocateBuffers(int width, int height, boolean antialias) |
| abstract Image | allocateImage() |
| abstract Image | allocateOffscreenImage(int width, int height) |
| static Platform3D | allocateSwing3D() |
| void | allocateTBuffers(boolean antialiasTranslucent) |
| boolean | checkOffscreenSize(int width, int height) |
| void | clearScreenBuffer() |
| void | clearScreenBufferThreaded() |
| void | clearTBuffer() |
| static Platform3D | createInstance(Component awtComponent) |
| abstract Graphics | getGraphics(Image imageOffscreen) |
| boolean | hasContent() |
| void | initialize(boolean useClearingThread) |
| void | notifyEndOfRendering() |
| void | obtainScreenBuffer() |
| void | releaseBuffers() |
| void | setBackgroundColor(int bgColor) |
| void | setBackgroundTransparent(boolean tf) |