Class SurfaceTileRenderer

    • Field Detail

      • alphaTexture

        protected com.jogamp.opengl.util.texture.Texture alphaTexture
      • outlineTexture

        protected com.jogamp.opengl.util.texture.Texture outlineTexture
      • showImageTileOutlines

        protected boolean showImageTileOutlines
      • useImageTilePickColors

        protected boolean useImageTilePickColors
    • Constructor Detail

      • SurfaceTileRenderer

        public SurfaceTileRenderer()
    • Method Detail

      • dispose

        public void dispose()
        Free internal resources held by this surface tile renderer. A GL context must be current when this method is called.
        Specified by:
        dispose in interface Disposable
        Throws:
        com.jogamp.opengl.GLException - - If an OpenGL context is not current when this method is called.
      • isShowImageTileOutlines

        public boolean isShowImageTileOutlines()
      • setShowImageTileOutlines

        public void setShowImageTileOutlines​(boolean showImageTileOutlines)
      • isUseImageTilePickColors

        public boolean isUseImageTilePickColors()
        Indicates how this SurfaceTileRenderer interprets image tile colors during picking. When true, image tile RGB colors are drawn during picking. When false, image tile RGB colors are replaced with the current RGB color. Initially false.
        Returns:
        true if image tile RGB colors are drawn during picking, false if image tile RGB colors are replaced by the current RGB color.
      • setUseImageTilePickColors

        public void setUseImageTilePickColors​(boolean useImageTilePickColors)
        Specifies how this SurfaceTileRenderer interprets image tile colors during picking. When true, image tile RGB colors are drawn during picking. When false, image tile RGB colors are replaced with the current RGB color.
        Parameters:
        useImageTilePickColors - true if image tile RGB colors should be drawn during picking, false if image tile RGB colors should be replaced by the current RGB color.
      • initAlphaTexture

        protected void initAlphaTexture​(DrawContext dc,
                                        int size)
      • initOutlineTexture

        protected void initOutlineTexture​(DrawContext dc,
                                          int size)