Package org.processmining.plugins.inductiveVisualMiner.animation.renderingthread.opengleventlistener
Class OpenGLEventListenerImplInstanceArrayOfTokens
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.animation.renderingthread.opengleventlistener.OpenGLEventListenerImplInstanceArrayOfTokens
-
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener,java.util.EventListener,OpenGLEventListener
public class OpenGLEventListenerImplInstanceArrayOfTokens extends java.lang.Object implements OpenGLEventListener
This class computes the location of all tokens on the cpu, makes an instance array of coordinates and sends these to the gpu. Does not currently support token colouring and consists of flower-power squares instead of disks.- Author:
- sander
-
-
Constructor Summary
Constructors Constructor Description OpenGLEventListenerImplInstanceArrayOfTokens()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplay(com.jogamp.opengl.GLAutoDrawable drawable)voiddispose(com.jogamp.opengl.GLAutoDrawable drawable)voidinit(com.jogamp.opengl.GLAutoDrawable drawable)voidreshape(com.jogamp.opengl.GLAutoDrawable drawable, int x, int y, int width, int height)voidsetParameters(ExternalSettingsManager.ExternalSettings settings, double time)Set the parameters for rendering the next frame.
-
-
-
Method Detail
-
init
public void init(com.jogamp.opengl.GLAutoDrawable drawable)
- Specified by:
initin interfacecom.jogamp.opengl.GLEventListener
-
dispose
public void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
- Specified by:
disposein interfacecom.jogamp.opengl.GLEventListener
-
display
public void display(com.jogamp.opengl.GLAutoDrawable drawable)
- Specified by:
displayin interfacecom.jogamp.opengl.GLEventListener
-
reshape
public void reshape(com.jogamp.opengl.GLAutoDrawable drawable, int x, int y, int width, int height)- Specified by:
reshapein interfacecom.jogamp.opengl.GLEventListener
-
setParameters
public void setParameters(ExternalSettingsManager.ExternalSettings settings, double time)
Description copied from interface:OpenGLEventListenerSet the parameters for rendering the next frame.- Specified by:
setParametersin interfaceOpenGLEventListener
-
-