maspack.render
Class GLOcclusionSelector

java.lang.Object
  extended by maspack.render.GLSelector
      extended by maspack.render.GLOcclusionSelector

public class GLOcclusionSelector
extends GLSelector

GLSelector that works using the traditional GL_SELECT mechanism (now deprecated).


Constructor Summary
GLOcclusionSelector(GLViewer viewer)
           
 
Method Summary
 void beginSelectionForObject(GLSelectable s, int idx)
           
 void beginSelectionQuery(int idx)
           
 void endSelectionForObject()
           
 void endSelectionQuery()
           
 void processSelection(javax.media.opengl.GLAutoDrawable drawable)
           
 void setupSelection(javax.media.opengl.GLAutoDrawable drawable)
           
 
Methods inherited from class maspack.render.GLSelector
setRectangle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLOcclusionSelector

public GLOcclusionSelector(GLViewer viewer)
Method Detail

setupSelection

public void setupSelection(javax.media.opengl.GLAutoDrawable drawable)
Specified by:
setupSelection in class GLSelector

processSelection

public void processSelection(javax.media.opengl.GLAutoDrawable drawable)
Specified by:
processSelection in class GLSelector

beginSelectionQuery

public void beginSelectionQuery(int idx)
Specified by:
beginSelectionQuery in class GLSelector

endSelectionQuery

public void endSelectionQuery()
Specified by:
endSelectionQuery in class GLSelector

beginSelectionForObject

public void beginSelectionForObject(GLSelectable s,
                                    int idx)
Specified by:
beginSelectionForObject in class GLSelector

endSelectionForObject

public void endSelectionForObject()
Specified by:
endSelectionForObject in class GLSelector