org.jmol.g3d
Class Platform3D
java.lang.Object
org.jmol.g3d.Platform3D
class Platform3D
- extends java.lang.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.
- Author:
- Miguel, miguel@jmol.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
windowWidth
int windowWidth
windowHeight
int windowHeight
windowSize
int windowSize
bufferWidth
int bufferWidth
bufferHeight
int bufferHeight
bufferSize
int bufferSize
bufferSizeT
int bufferSizeT
imagePixelBuffer
java.lang.Object imagePixelBuffer
pBuffer
int[] pBuffer
pBufferT
int[] pBufferT
zBuffer
int[] zBuffer
zBufferT
int[] zBufferT
widthOffscreen
int widthOffscreen
heightOffscreen
int heightOffscreen
imageOffscreen
java.lang.Object imageOffscreen
gOffscreen
java.lang.Object gOffscreen
graphicsOffscreen
java.lang.Object graphicsOffscreen
forcePlatformAWT
static final boolean forcePlatformAWT
- See Also:
- Constant Field Values
desireClearingThread
static final boolean desireClearingThread
- See Also:
- Constant Field Values
useClearingThread
boolean useClearingThread
clearingThread
Platform3D.ClearingThread clearingThread
apiPlatform
ApiPlatform apiPlatform
backgroundTransparent
private static boolean backgroundTransparent
Platform3D
Platform3D()
createInstance
static Platform3D createInstance(ApiPlatform apiPlatform)
initialize
final void initialize(boolean useClearingThread)
allocateTBuffers
void allocateTBuffers(boolean antialiasTranslucent)
allocateBuffers
void allocateBuffers(int width,
int height,
boolean antialias)
releaseBuffers
void releaseBuffers()
hasContent
boolean hasContent()
clearScreenBuffer
void clearScreenBuffer()
setBackgroundColor
void setBackgroundColor(int bgColor)
clearTBuffer
void clearTBuffer()
obtainScreenBuffer
final void obtainScreenBuffer()
clearScreenBufferThreaded
final void clearScreenBufferThreaded()
notifyEndOfRendering
void notifyEndOfRendering()
checkOffscreenSize
boolean checkOffscreenSize(int width,
int height)
setBackgroundTransparent
void setBackgroundTransparent(boolean tf)
allocateImage
private java.lang.Object allocateImage()
allocateOffscreenImage
private java.lang.Object allocateOffscreenImage(int width,
int height)
getGraphics
private java.lang.Object getGraphics(java.lang.Object image)