Class TLspViewPaintUtil

java.lang.Object
com.luciad.view.lightspeed.util.TLspViewPaintUtil

public class TLspViewPaintUtil extends Object
Provides utility methods related to rendering to a view.
Since:
2012.0
  • Constructor Details Link icon

    • TLspViewPaintUtil Link icon

      public TLspViewPaintUtil()
  • Method Details Link icon

    • beginOrthoRendering Link icon

      public static void beginOrthoRendering(ILcdGLDrawable aGLDrawable)
      Sets up orthographic rendering such that OpenGL coordinates match pixel coordinates in the given ILcdGLDrawable. This method makes sure that the y coordinate in OpenGL is flipped, so that the OpenGL origin matches the Java origin.
      Parameters:
      aGLDrawable - the drawable used for rendering
    • endOrthoRendering Link icon

      public static void endOrthoRendering(ILcdGLDrawable aGLDrawable)
      Undoes a previously set orthographic projection.
      Parameters:
      aGLDrawable - the drawable used for rendering