Interface ILspViewListener

All Known Implementing Classes:
ALspViewAdapter

public interface ILspViewListener
Listener that can be added to an ILspView to be informed of initialization, dispose and render events. The methods of this interface are invoked as follows:
Since:
2012.0
  • Method Details

    • postInit

      void postInit(ILspView aView, ILcdGLDrawable aGLDrawable)
      Called after the view is initialized to initialize this listener.
      Parameters:
      aView - the view this listener is belongs to
      aGLDrawable -
    • preDispose

      void preDispose(ILspView aView, ILcdGLDrawable aGLDrawable)
      Called before the view is disposed to dispose of any resources held by this listener.
      Parameters:
      aView - the view this listener is belongs to
      aGLDrawable -
    • preRender

      void preRender(ILspView aView, ILcdGLDrawable aGLDrawable)
      Called before the view's layers are rendered.
      Parameters:
      aView - the view this listener belongs to
      aGLDrawable -
    • prePaintPhase

      void prePaintPhase(ILspView aView, ILcdGLDrawable aGLDrawable, TLspPaintPhase aPhase)
      Called before the view's layers are painted for the given paint phase.

      The paint pass indicates whether transparent or opaque objects should be painted, whether objects to be draped or not should be painted, etc. To ensure correct results and to avoid painting multiple times, it is important to consult this mode and to only paint when the proper paint pass is passed.

      Parameters:
      aView - the view this listener belongs to
      aGLDrawable -
      aPhase - the phase that is currently painted
    • postPaintPhase

      void postPaintPhase(ILspView aView, ILcdGLDrawable aGLDrawable, TLspPaintPhase aPhase)
      Called after the view's layers are painted for the given paint phase.

      The paint phase indicates whether transparent or opaque objects should be painted, whether objects to be draped or not should be painted, etc. To ensure correct results and to avoid painting multiple times, it is important to consult this mode and to only paint when the proper paint phase is passed.

      Parameters:
      aView - the view this listener belongs to
      aGLDrawable -
      aPhase - the phase that is currently painted
    • postRender

      void postRender(ILspView aView, ILcdGLDrawable aGLDrawable)
      Called after the view's layers are rendered.
      Parameters:
      aView - the view this listener belongs to
      aGLDrawable -