O
- Object typepublic static class OpenGL3DParallelCoordinates.Instance<O extends NumberVector>
extends java.lang.Object
implements javax.media.opengl.GLEventListener
Modifier and Type | Class and Description |
---|---|
protected static class |
OpenGL3DParallelCoordinates.Instance.Shared<O>
Shared data for visualization modules.
|
protected static class |
OpenGL3DParallelCoordinates.Instance.State
States of the UI.
|
Modifier and Type | Field and Description |
---|---|
(package private) Arcball1DOFAdapter |
arcball
Arcball controller.
|
(package private) javax.media.opengl.awt.GLCanvas |
canvas
The OpenGL canvas
|
(package private) static boolean |
DEBUG
Flag to enable debug rendering.
|
(package private) javax.swing.JFrame |
frame
Frame
|
(package private) javax.media.opengl.glu.GLU |
glu
GLU utility class.
|
(package private) SimpleMenuOverlay |
menuOverlay
Menu overlay.
|
(package private) java.awt.event.MouseAdapter |
menuStarter
Handler to open the menu.
|
(package private) SimpleMessageOverlay |
messageOverlay
Message overlay.
|
private Parallel3DRenderer<O> |
prenderer
3D parallel coordinates renderer.
|
(package private) OpenGL3DParallelCoordinates.Instance.Shared<O> |
shared |
(package private) OpenGL3DParallelCoordinates.Instance.State |
state
Current state.
|
Constructor and Description |
---|
Instance(Relation<? extends O> rel,
ProjectionParallel proj,
OpenGL3DParallelCoordinates.Settings<O> settings,
StylingPolicy stylepol,
StyleLibrary stylelib)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
display(javax.media.opengl.GLAutoDrawable drawable) |
void |
dispose(javax.media.opengl.GLAutoDrawable drawable) |
void |
init(javax.media.opengl.GLAutoDrawable drawable) |
(package private) void |
initLabels() |
protected void |
relayout(java.lang.String parname) |
void |
reshape(javax.media.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height) |
void |
run() |
protected void |
setLayout(Layout newlayout)
Callback from layouting thread.
|
private void |
startLayoutThread() |
void |
stop() |
(package private) void |
switchState(OpenGL3DParallelCoordinates.Instance.State newstate)
Switch the current state.
|
static final boolean DEBUG
javax.swing.JFrame frame
javax.media.opengl.glu.GLU glu
private Parallel3DRenderer<O extends NumberVector> prenderer
javax.media.opengl.awt.GLCanvas canvas
Arcball1DOFAdapter arcball
SimpleMenuOverlay menuOverlay
SimpleMessageOverlay messageOverlay
java.awt.event.MouseAdapter menuStarter
OpenGL3DParallelCoordinates.Instance.State state
OpenGL3DParallelCoordinates.Instance.Shared<O extends NumberVector> shared
public Instance(Relation<? extends O> rel, ProjectionParallel proj, OpenGL3DParallelCoordinates.Settings<O> settings, StylingPolicy stylepol, StyleLibrary stylelib)
rel
- Relationproj
- Projectionsettings
- Settingsstylepol
- Styling policystylelib
- Style libraryvoid initLabels()
protected void relayout(java.lang.String parname)
private void startLayoutThread()
public void run()
public void stop()
public void init(javax.media.opengl.GLAutoDrawable drawable)
init
in interface javax.media.opengl.GLEventListener
void switchState(OpenGL3DParallelCoordinates.Instance.State newstate)
newstate
- State to switch to.public void reshape(javax.media.opengl.GLAutoDrawable drawable, int x, int y, int width, int height)
reshape
in interface javax.media.opengl.GLEventListener
public void display(javax.media.opengl.GLAutoDrawable drawable)
display
in interface javax.media.opengl.GLEventListener
protected void setLayout(Layout newlayout)
newlayout
- New layout.public void dispose(javax.media.opengl.GLAutoDrawable drawable)
dispose
in interface javax.media.opengl.GLEventListener
Copyright © 2019 ELKI Development Team. License information.