Class GLUTessellatorSupport.OGLDrawPrimitivesCallback

  • All Implemented Interfaces:
    com.jogamp.opengl.glu.GLUtessellatorCallback
    Enclosing class:
    GLUTessellatorSupport

    protected static class GLUTessellatorSupport.OGLDrawPrimitivesCallback
    extends com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.jogamp.opengl.GL2 gl  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void begin​(int type)  
      void combine​(double[] coords, java.lang.Object[] data, float[] weight, java.lang.Object[] outData)  
      void end()  
      void vertex​(java.lang.Object vertexData)  
      • Methods inherited from class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter

        beginData, combineData, edgeFlag, edgeFlagData, endData, error, errorData, vertexData
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • gl

        protected final com.jogamp.opengl.GL2 gl
    • Constructor Detail

      • OGLDrawPrimitivesCallback

        public OGLDrawPrimitivesCallback​(com.jogamp.opengl.GL2 gl)
    • Method Detail

      • begin

        public void begin​(int type)
        Specified by:
        begin in interface com.jogamp.opengl.glu.GLUtessellatorCallback
        Overrides:
        begin in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
      • vertex

        public void vertex​(java.lang.Object vertexData)
        Specified by:
        vertex in interface com.jogamp.opengl.glu.GLUtessellatorCallback
        Overrides:
        vertex in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
      • end

        public void end()
        Specified by:
        end in interface com.jogamp.opengl.glu.GLUtessellatorCallback
        Overrides:
        end in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter
      • combine

        public void combine​(double[] coords,
                            java.lang.Object[] data,
                            float[] weight,
                            java.lang.Object[] outData)
        Specified by:
        combine in interface com.jogamp.opengl.glu.GLUtessellatorCallback
        Overrides:
        combine in class com.jogamp.opengl.glu.GLUtessellatorCallbackAdapter