Class AbstractSimpleOverlay
- java.lang.Object
-
- elki.visualization.parallel3d.util.AbstractSimpleOverlay
-
- Direct Known Subclasses:
SimpleMenuOverlay,SimpleMessageOverlay
public abstract class AbstractSimpleOverlay extends java.lang.ObjectRenderer for simple overlays. TODO: make color configurable?- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description AbstractSimpleOverlay()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidrender(javax.media.opengl.GL2 gl)Main render method(package private) abstract voidrenderContents(javax.media.opengl.GL2 gl)Render the actual overlay contents.voidsetSize(int width, int height)Set screen ratio.
-
-
-
Method Detail
-
render
public final void render(javax.media.opengl.GL2 gl)
Main render method- Parameters:
gl- GL context
-
renderContents
abstract void renderContents(javax.media.opengl.GL2 gl)
Render the actual overlay contents.- Parameters:
gl- GL context
-
setSize
public void setSize(int width, int height)Set screen ratio.- Parameters:
width- Screen widthheight- Screen height
-
-