anl.aida.viz3d
Interface StackDrawable

All Known Implementing Classes:
TextureDrawable

public interface StackDrawable

Interface for classes that can draw as part of a StackDisplay.


Method Summary
 void dispose()
          Dispose of any resources this StackDrawable may be holding.
 void draw(javax.media.opengl.GL gl)
          Draws the drawable using the current OpenGL interface.
 long getSortIndex()
          Gets an index that can be used to sort this drawable.
 void init()
          Initializes this StackDrawable.
 

Method Detail

init

void init()
Initializes this StackDrawable. This may be called multiple times during the life of this StackDrawable in response to OpenGL context changes.


dispose

void dispose()
Dispose of any resources this StackDrawable may be holding.


draw

void draw(javax.media.opengl.GL gl)
Draws the drawable using the current OpenGL interface.

Parameters:
gl - the interface to OpenGL.

getSortIndex

long getSortIndex()
Gets an index that can be used to sort this drawable.

Returns:
an index that can be used to sort this drawable.