maspack.render
Class GLSelector
java.lang.Object
maspack.render.GLSelector
- Direct Known Subclasses:
- GLColorSelector, GLOcclusionSelector, GLSelectSelector
public abstract class GLSelector
- extends java.lang.Object
Base class for helper classes that enable GLViewer to perform selection
operations.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLSelector
public GLSelector(GLViewer viewer)
setRectangle
public void setRectangle(double x,
double y,
double w,
double h)
setupSelection
public abstract void setupSelection(javax.media.opengl.GLAutoDrawable drawable)
processSelection
public abstract void processSelection(javax.media.opengl.GLAutoDrawable drawable)
beginSelectionQuery
public abstract void beginSelectionQuery(int idx)
endSelectionQuery
public abstract void endSelectionQuery()
beginSelectionForObject
public abstract void beginSelectionForObject(GLSelectable s,
int idx)
endSelectionForObject
public abstract void endSelectionForObject()