OpenCPN Partial API docs
Loading...
Searching...
No Matches
glChartCanvas Class Reference

OpenGL chart rendering canvas. More...

#include <gl_chart_canvas.h>

Inheritance diagram for glChartCanvas:

Public Member Functions

void SetColorScheme (ColorScheme cs)
void RenderTextures (ocpnDC &dc, float *coords, float *uvCoords, int nVertex, ViewPort *vp)
void RenderColorRect (wxRect r, wxColor &color)
void SendJSONConfigMessage ()
 glChartCanvas (wxWindow *parent, wxGLCanvas *share=NULL)
void Init ()
void SetContext (wxGLContext *pcontext)
int GetCanvasIndex ()
int GetGLCanvasWidth ()
int GetGLCanvasHeight ()
void OnPaint (wxPaintEvent &event)
void OnEraseBG (wxEraseEvent &evt)
void Render ()
void OnActivate (wxActivateEvent &event)
void OnSize (wxSizeEvent &event)
void MouseEvent (wxMouseEvent &event)
void FastPan (int dx, int dy)
void FastZoom (float factor, float cp_x, float cp_y, float post_x, float post_y)
void RenderCanvasBackingChart (ocpnDC &dc, OCPNRegion chart_get_region)
void onZoomTimerEvent (wxTimerEvent &event)
wxString GetRendererString ()
wxString GetVersionString ()
wxString GetGLSLVersionString ()
void EnablePaint (bool b_enable)
void Invalidate ()
void RenderRasterChartRegionGL (ChartBase *chart, ViewPort &vp, LLRegion &region)
void DrawGLOverLayObjects (void)
void GridDraw ()
void FlushFBO (void)
void DrawDynamicRoutesTracksAndWaypoints (ViewPort &vp)
void DrawStaticRoutesTracksAndWaypoints (ViewPort &vp)
void RenderAllChartOutlines (ocpnDC &dc, ViewPort &VP)
void RenderChartOutline (ocpnDC &dc, int dbIndex, ViewPort &VP)
void DrawEmboss (ocpnDC &dc, emboss_data *emboss)
void ShipDraw (ocpnDC &dc)
void SetupCompression ()
bool CanAcceleratePanning ()
bool UsingFBO ()
bool isInGesture ()
void ResetGridFont ()
void SetupOpenGL ()

Static Public Member Functions

static bool CanClipViewport (const ViewPort &vp)
static ViewPort ClippedViewport (const ViewPort &vp, const LLRegion &region)
static bool HasNormalizedViewPort (const ViewPort &vp)
static void MultMatrixViewPort (ViewPort &vp, float lat=0, float lon=0)
static ViewPort NormalizedViewPort (const ViewPort &vp, float lat=0, float lon=0)
static void DrawRegion (ViewPort &vp, const LLRegion &region)
static void SetClipRegion (ViewPort &vp, const LLRegion &region)
static void SetClipRect (const ViewPort &vp, const wxRect &rect, bool g_clear=false)
static void DisableClipRegion ()
static void RenderSingleTexture (ocpnDC &dc, float *coords, float *uvCoords, ViewPort *vp, float dx, float dy, float angle)

Public Attributes

time_t m_last_render_time
int viewport [4]
double mvmatrix [16]
double projmatrix [16]
ChartCanvas * m_pParentCanvas
ocpnDC m_gldc
wxStopWatch m_glstopwatch

Static Public Attributes

static bool s_b_useScissorTest
static bool s_b_useStencil
static bool s_b_useStencilAP
static bool s_b_useFBO
static std::unordered_map< wxPenStyle, std::array< wxDash, 2 > > dash_map

Protected Member Functions

void RenderS57TextOverlay (ViewPort &VPoint)
void RenderMBTilesOverlay (ViewPort &VPoint)
void RenderSingleMBTileOverlay (int dbIndex, bool bOVerlay, ViewPort &VPoint, OCPNRegion &screen_region, LLRegion &screenLLRegion)
void RenderScene (bool bRenderCharts=true, bool bRenderOverlays=true)
void RenderGLAlertMessage ()
void RenderQuiltViewGL (ViewPort &vp, const OCPNRegion &rect_region)
void RenderQuiltViewGLText (ViewPort &vp, const OCPNRegion &rect_region)
void BuildFBO ()
bool buildFBOSize (int fboSize)
void configureShaders (ViewPort &vp)
void RenderCharts (ocpnDC &dc, const OCPNRegion &rect_region)
void RenderNoDTA (ViewPort &vp, const LLRegion &region, int transparency=255)
void RenderWorldChart (ocpnDC &dc, ViewPort &vp, wxRect &rect, bool &world_view)
void DrawFloatingOverlayObjects (ocpnDC &dc)
void DrawGroundedOverlayObjects (ocpnDC &dc, ViewPort &vp)
void DrawChartBar (ocpnDC &dc)
void DrawQuiting ()
void DrawCloseMessage (wxString msg)
void DrawGLTidesInBBox (ocpnDC &dc, LLBBox &BBox)
void DrawGLCurrentsInBBox (ocpnDC &dc, LLBBox &BBox)
void ZoomProject (float offset_x, float offset_y, float swidth, float sheight)
wxBitmap & GetTouchBackingBitmap (ViewPort &vp)
void CreateBackingTexture ()
void RendertoTexture (GLint tex)

Protected Attributes

wxGLContext * m_pcontext
int max_texture_dimension
bool m_bsetup
wxString m_renderer
wxString m_version
wxString m_GLSLversion
wxString m_extensions
ViewPort m_cache_vp
ChartBase * m_cache_current_ch
bool m_b_paint_enable
int m_in_glpaint
bool m_b_DisableFBO
bool m_b_BuiltFBO
bool m_b_useFBOStencil
GLuint m_fb0
GLuint m_renderbuffer
GLuint m_cache_tex [2]
GLuint m_cache_page
int m_cache_tex_x
int m_cache_tex_y
GLuint ownship_tex
int ownship_color
wxSize ownship_size
wxSize ownship_tex_size
GLuint m_piano_tex
float m_fbo_offsetx
float m_fbo_offsety
float m_fbo_swidth
float m_fbo_sheight
float m_lastfbo_offsetx
float m_lastfbo_offsety
float m_lastfbo_swidth
float m_lastfbo_sheight
float m_offsetxStep
float m_offsetyStep
float m_swidthStep
float m_sheightStep
float m_runoffsetx
float m_runoffsety
float m_runswidth
float m_runsheight
float m_nStep
float m_nTotal
float m_nRun
bool m_zoomFinal
double m_zoomFinalZoom
int m_zoomFinaldx
int m_zoomFinaldy
bool m_bforcefull
bool m_first_zout
wxTimer zoomTimer
double m_fbo_lat
double m_fbo_lon
int m_cc_x
int m_cc_y
wxPoint m_lpinchPoint
bool m_binPinch
bool m_binPan
bool m_binGesture
wxTimer m_gestureEeventTimer
wxTimer m_gestureFinishTimer
bool m_bgestureGuard
bool m_bpinchGuard
wxPoint m_pinchStart
double m_pinchlat
double m_pinchlon
OCPNRegion m_canvasregion
TexFont m_gridfont
int m_LRUtime
GLuint m_tideTex
GLuint m_currentTex
int m_tideTexWidth
int m_tideTexHeight
int m_currentTexWidth
int m_currentTexHeight
int m_displayScale
int m_glcanvas_width
int m_glcanvas_height
float m_total_zoom_val
float m_final_zoom_val
float m_step_zoom_val
bool m_bUseGLSL
wxBitmap m_touch_backing_bitmap
unsigned int m_TouchBackingTexture
int m_tex_w
int m_tex_h
int m_image_width
int m_image_height
ViewPort m_texVP
float m_zoom_inc

Detailed Description

OpenGL chart rendering canvas.

Implements OpenGL-based rendering of charts and overlays. Handles initialization of OpenGL context, rendering loop, and interface with chart objects for drawing.

Definition at line 105 of file gl_chart_canvas.h.

Constructor & Destructor Documentation

◆ glChartCanvas()

glChartCanvas::glChartCanvas ( wxWindow * parent,
wxGLCanvas * share = NULL )

Definition at line 312 of file gl_chart_canvas.cpp.

◆ ~glChartCanvas()

glChartCanvas::~glChartCanvas ( )

Definition at line 477 of file gl_chart_canvas.cpp.

Member Function Documentation

◆ BuildFBO()

void glChartCanvas::BuildFBO ( )
protected

Definition at line 910 of file gl_chart_canvas.cpp.

◆ buildFBOSize()

bool glChartCanvas::buildFBOSize ( int fboSize)
protected

Definition at line 590 of file gl_chart_canvas.cpp.

◆ CanAcceleratePanning()

bool glChartCanvas::CanAcceleratePanning ( )
inline

Definition at line 199 of file gl_chart_canvas.h.

◆ CanClipViewport()

bool glChartCanvas::CanClipViewport ( const ViewPort & vp)
static

Definition at line 1459 of file gl_chart_canvas.cpp.

◆ ClippedViewport()

ViewPort glChartCanvas::ClippedViewport ( const ViewPort & vp,
const LLRegion & region )
static

Definition at line 1465 of file gl_chart_canvas.cpp.

◆ configureShaders()

void glChartCanvas::configureShaders ( ViewPort & vp)
protected

Definition at line 5667 of file gl_chart_canvas.cpp.

◆ CreateBackingTexture()

void glChartCanvas::CreateBackingTexture ( )
protected

Definition at line 5983 of file gl_chart_canvas.cpp.

◆ DisableClipRegion()

void glChartCanvas::DisableClipRegion ( )
static

Definition at line 2968 of file gl_chart_canvas.cpp.

◆ DrawChartBar()

void glChartCanvas::DrawChartBar ( ocpnDC & dc)
protected

Definition at line 2661 of file gl_chart_canvas.cpp.

◆ DrawCloseMessage()

void glChartCanvas::DrawCloseMessage ( wxString msg)
protected

Definition at line 2708 of file gl_chart_canvas.cpp.

◆ DrawDynamicRoutesTracksAndWaypoints()

void glChartCanvas::DrawDynamicRoutesTracksAndWaypoints ( ViewPort & vp)

Definition at line 1529 of file gl_chart_canvas.cpp.

◆ DrawEmboss()

void glChartCanvas::DrawEmboss ( ocpnDC & dc,
emboss_data * emboss )

Definition at line 2082 of file gl_chart_canvas.cpp.

◆ DrawFloatingOverlayObjects()

void glChartCanvas::DrawFloatingOverlayObjects ( ocpnDC & dc)
protected

Definition at line 2617 of file gl_chart_canvas.cpp.

◆ DrawGLCurrentsInBBox()

void glChartCanvas::DrawGLCurrentsInBBox ( ocpnDC & dc,
LLBBox & BBox )
protected

Definition at line 3718 of file gl_chart_canvas.cpp.

◆ DrawGLTidesInBBox()

void glChartCanvas::DrawGLTidesInBBox ( ocpnDC & dc,
LLBBox & BBox )
protected

Definition at line 3586 of file gl_chart_canvas.cpp.

◆ DrawGroundedOverlayObjects()

void glChartCanvas::DrawGroundedOverlayObjects ( ocpnDC & dc,
ViewPort & vp )
protected

Definition at line 3578 of file gl_chart_canvas.cpp.

◆ DrawQuiting()

void glChartCanvas::DrawQuiting ( )
protected

Definition at line 2671 of file gl_chart_canvas.cpp.

◆ DrawRegion()

void glChartCanvas::DrawRegion ( ViewPort & vp,
const LLRegion & region )
static

Definition at line 2806 of file gl_chart_canvas.cpp.

◆ DrawStaticRoutesTracksAndWaypoints()

void glChartCanvas::DrawStaticRoutesTracksAndWaypoints ( ViewPort & vp)

Definition at line 1494 of file gl_chart_canvas.cpp.

◆ EnablePaint()

void glChartCanvas::EnablePaint ( bool b_enable)
inline

Definition at line 179 of file gl_chart_canvas.h.

◆ FastPan()

void glChartCanvas::FastPan ( int dx,
int dy )

Definition at line 4761 of file gl_chart_canvas.cpp.

◆ FastZoom()

void glChartCanvas::FastZoom ( float factor,
float cp_x,
float cp_y,
float post_x,
float post_y )

Definition at line 4958 of file gl_chart_canvas.cpp.

◆ FlushFBO()

void glChartCanvas::FlushFBO ( void )

Definition at line 485 of file gl_chart_canvas.cpp.

◆ GetCanvasIndex()

int glChartCanvas::GetCanvasIndex ( )

Definition at line 483 of file gl_chart_canvas.cpp.

◆ GetGLCanvasHeight()

int glChartCanvas::GetGLCanvasHeight ( )
inline

Definition at line 145 of file gl_chart_canvas.h.

◆ GetGLCanvasWidth()

int glChartCanvas::GetGLCanvasWidth ( )
inline

Definition at line 144 of file gl_chart_canvas.h.

◆ GetGLSLVersionString()

wxString glChartCanvas::GetGLSLVersionString ( )
inline

Definition at line 178 of file gl_chart_canvas.h.

◆ GetRendererString()

wxString glChartCanvas::GetRendererString ( )
inline

Definition at line 176 of file gl_chart_canvas.h.

◆ GetTouchBackingBitmap()

wxBitmap & glChartCanvas::GetTouchBackingBitmap ( ViewPort & vp)
protected

Definition at line 5961 of file gl_chart_canvas.cpp.

◆ GetVersionString()

wxString glChartCanvas::GetVersionString ( )
inline

Definition at line 177 of file gl_chart_canvas.h.

◆ GridDraw()

void glChartCanvas::GridDraw ( )

Definition at line 1822 of file gl_chart_canvas.cpp.

◆ HasNormalizedViewPort()

bool glChartCanvas::HasNormalizedViewPort ( const ViewPort & vp)
static

Definition at line 1377 of file gl_chart_canvas.cpp.

◆ Init()

void glChartCanvas::Init ( )

Definition at line 330 of file gl_chart_canvas.cpp.

◆ Invalidate()

void glChartCanvas::Invalidate ( )

Definition at line 2974 of file gl_chart_canvas.cpp.

◆ isInGesture()

bool glChartCanvas::isInGesture ( )
inline

Definition at line 202 of file gl_chart_canvas.h.

◆ MouseEvent()

void glChartCanvas::MouseEvent ( wxMouseEvent & event)

Definition at line 524 of file gl_chart_canvas.cpp.

◆ MultMatrixViewPort()

void glChartCanvas::MultMatrixViewPort ( ViewPort & vp,
float lat = 0,
float lon = 0 )
static

Definition at line 1397 of file gl_chart_canvas.cpp.

◆ NormalizedViewPort()

ViewPort glChartCanvas::NormalizedViewPort ( const ViewPort & vp,
float lat = 0,
float lon = 0 )
static

Definition at line 1434 of file gl_chart_canvas.cpp.

◆ OnActivate()

void glChartCanvas::OnActivate ( wxActivateEvent & event)

Definition at line 489 of file gl_chart_canvas.cpp.

◆ OnPaint()

void glChartCanvas::OnPaint ( wxPaintEvent & event)

Definition at line 1324 of file gl_chart_canvas.cpp.

◆ OnSize()

void glChartCanvas::OnSize ( wxSizeEvent & event)

Definition at line 493 of file gl_chart_canvas.cpp.

◆ onZoomTimerEvent()

void glChartCanvas::onZoomTimerEvent ( wxTimerEvent & event)

Definition at line 4913 of file gl_chart_canvas.cpp.

◆ Render()

void glChartCanvas::Render ( )

Definition at line 3766 of file gl_chart_canvas.cpp.

◆ RenderChartOutline()

void glChartCanvas::RenderChartOutline ( ocpnDC & dc,
int dbIndex,
ViewPort & VP )

Definition at line 1601 of file gl_chart_canvas.cpp.

◆ RenderCharts()

void glChartCanvas::RenderCharts ( ocpnDC & dc,
const OCPNRegion & rect_region )
protected

Definition at line 3407 of file gl_chart_canvas.cpp.

◆ RenderColorRect()

void glChartCanvas::RenderColorRect ( wxRect r,
wxColor & color )

Definition at line 5858 of file gl_chart_canvas.cpp.

◆ RenderGLAlertMessage()

void glChartCanvas::RenderGLAlertMessage ( )
protected

Definition at line 3732 of file gl_chart_canvas.cpp.

◆ RenderMBTilesOverlay()

void glChartCanvas::RenderMBTilesOverlay ( ViewPort & VPoint)
protected

Definition at line 4612 of file gl_chart_canvas.cpp.

◆ RenderNoDTA()

void glChartCanvas::RenderNoDTA ( ViewPort & vp,
const LLRegion & region,
int transparency = 255 )
protected

Definition at line 3501 of file gl_chart_canvas.cpp.

◆ RenderQuiltViewGL()

void glChartCanvas::RenderQuiltViewGL ( ViewPort & vp,
const OCPNRegion & rect_region )
protected

Definition at line 3103 of file gl_chart_canvas.cpp.

◆ RenderQuiltViewGLText()

void glChartCanvas::RenderQuiltViewGLText ( ViewPort & vp,
const OCPNRegion & rect_region )
protected

Definition at line 3346 of file gl_chart_canvas.cpp.

◆ RenderRasterChartRegionGL()

void glChartCanvas::RenderRasterChartRegionGL ( ChartBase * chart,
ViewPort & vp,
LLRegion & region )

Definition at line 2979 of file gl_chart_canvas.cpp.

◆ RenderS57TextOverlay()

void glChartCanvas::RenderS57TextOverlay ( ViewPort & VPoint)
protected

Definition at line 4514 of file gl_chart_canvas.cpp.

◆ RenderScene()

void glChartCanvas::RenderScene ( bool bRenderCharts = true,
bool bRenderOverlays = true )
protected

Definition at line 5893 of file gl_chart_canvas.cpp.

◆ RenderSingleMBTileOverlay()

void glChartCanvas::RenderSingleMBTileOverlay ( int dbIndex,
bool bOVerlay,
ViewPort & VPoint,
OCPNRegion & screen_region,
LLRegion & screenLLRegion )
protected

Definition at line 4543 of file gl_chart_canvas.cpp.

◆ RenderSingleTexture()

void glChartCanvas::RenderSingleTexture ( ocpnDC & dc,
float * coords,
float * uvCoords,
ViewPort * vp,
float dx,
float dy,
float angle )
static

Definition at line 5786 of file gl_chart_canvas.cpp.

◆ RenderTextures()

void glChartCanvas::RenderTextures ( ocpnDC & dc,
float * coords,
float * uvCoords,
int nVertex,
ViewPort * vp )

Definition at line 5757 of file gl_chart_canvas.cpp.

◆ RenderWorldChart()

void glChartCanvas::RenderWorldChart ( ocpnDC & dc,
ViewPort & vp,
wxRect & rect,
bool & world_view )
protected

Definition at line 3522 of file gl_chart_canvas.cpp.

◆ ResetGridFont()

void glChartCanvas::ResetGridFont ( )
inline

Definition at line 203 of file gl_chart_canvas.h.

◆ SendJSONConfigMessage()

void glChartCanvas::SendJSONConfigMessage ( )

Definition at line 1231 of file gl_chart_canvas.cpp.

◆ SetClipRect()

void glChartCanvas::SetClipRect ( const ViewPort & vp,
const wxRect & rect,
bool g_clear = false )
static

Definition at line 2951 of file gl_chart_canvas.cpp.

◆ SetClipRegion()

void glChartCanvas::SetClipRegion ( ViewPort & vp,
const LLRegion & region )
static

Definition at line 2891 of file gl_chart_canvas.cpp.

◆ SetColorScheme()

void glChartCanvas::SetColorScheme ( ColorScheme cs)

Definition at line 3722 of file gl_chart_canvas.cpp.

◆ SetContext()

void glChartCanvas::SetContext ( wxGLContext * pcontext)
inline

Definition at line 141 of file gl_chart_canvas.h.

◆ SetupCompression()

void glChartCanvas::SetupCompression ( )

Definition at line 1244 of file gl_chart_canvas.cpp.

◆ SetupOpenGL()

void glChartCanvas::SetupOpenGL ( )

Definition at line 967 of file gl_chart_canvas.cpp.

◆ ShipDraw()

void glChartCanvas::ShipDraw ( ocpnDC & dc)

Definition at line 2159 of file gl_chart_canvas.cpp.

◆ UsingFBO()

bool glChartCanvas::UsingFBO ( )
inline

Definition at line 200 of file gl_chart_canvas.h.

◆ ZoomProject()

void glChartCanvas::ZoomProject ( float offset_x,
float offset_y,
float swidth,
float sheight )
protected

Definition at line 4766 of file gl_chart_canvas.cpp.

Member Data Documentation

◆ dash_map

std::unordered_map< wxPenStyle, std::array< wxDash, 2 > > glChartCanvas::dash_map
static
Initial value:
=
{
{wxPENSTYLE_DOT, {1, 1}},
{wxPENSTYLE_LONG_DASH, {5, 5}},
{wxPENSTYLE_SHORT_DASH, {1, 5}},
{wxPENSTYLE_DOT_DASH, {5, 1}},
}

Definition at line 322 of file gl_chart_canvas.h.

◆ m_b_BuiltFBO

bool glChartCanvas::m_b_BuiltFBO
protected

Definition at line 275 of file gl_chart_canvas.h.

◆ m_b_DisableFBO

bool glChartCanvas::m_b_DisableFBO
protected

Definition at line 274 of file gl_chart_canvas.h.

◆ m_b_paint_enable

bool glChartCanvas::m_b_paint_enable
protected

Definition at line 270 of file gl_chart_canvas.h.

◆ m_b_useFBOStencil

bool glChartCanvas::m_b_useFBOStencil
protected

Definition at line 276 of file gl_chart_canvas.h.

◆ m_bforcefull

bool glChartCanvas::m_bforcefull
protected

Definition at line 307 of file gl_chart_canvas.h.

◆ m_bgestureGuard

bool glChartCanvas::m_bgestureGuard
protected

Definition at line 322 of file gl_chart_canvas.h.

◆ m_binGesture

bool glChartCanvas::m_binGesture
protected

Definition at line 318 of file gl_chart_canvas.h.

◆ m_binPan

bool glChartCanvas::m_binPan
protected

Definition at line 317 of file gl_chart_canvas.h.

◆ m_binPinch

bool glChartCanvas::m_binPinch
protected

Definition at line 316 of file gl_chart_canvas.h.

◆ m_bpinchGuard

bool glChartCanvas::m_bpinchGuard
protected

Definition at line 323 of file gl_chart_canvas.h.

◆ m_bsetup

bool glChartCanvas::m_bsetup
protected

Definition at line 261 of file gl_chart_canvas.h.

◆ m_bUseGLSL

bool glChartCanvas::m_bUseGLSL
protected

Definition at line 347 of file gl_chart_canvas.h.

◆ m_cache_current_ch

ChartBase* glChartCanvas::m_cache_current_ch
protected

Definition at line 268 of file gl_chart_canvas.h.

◆ m_cache_page

GLuint glChartCanvas::m_cache_page
protected

Definition at line 281 of file gl_chart_canvas.h.

◆ m_cache_tex

GLuint glChartCanvas::m_cache_tex[2]
protected

Definition at line 280 of file gl_chart_canvas.h.

◆ m_cache_tex_x

int glChartCanvas::m_cache_tex_x
protected

Definition at line 282 of file gl_chart_canvas.h.

◆ m_cache_tex_y

int glChartCanvas::m_cache_tex_y
protected

Definition at line 283 of file gl_chart_canvas.h.

◆ m_cache_vp

ViewPort glChartCanvas::m_cache_vp
protected

Definition at line 267 of file gl_chart_canvas.h.

◆ m_canvasregion

OCPNRegion glChartCanvas::m_canvasregion
protected

Definition at line 327 of file gl_chart_canvas.h.

◆ m_cc_x

int glChartCanvas::m_cc_x
protected

Definition at line 313 of file gl_chart_canvas.h.

◆ m_cc_y

int glChartCanvas::m_cc_y
protected

Definition at line 313 of file gl_chart_canvas.h.

◆ m_currentTex

GLuint glChartCanvas::m_currentTex
protected

Definition at line 333 of file gl_chart_canvas.h.

◆ m_currentTexHeight

int glChartCanvas::m_currentTexHeight
protected

Definition at line 337 of file gl_chart_canvas.h.

◆ m_currentTexWidth

int glChartCanvas::m_currentTexWidth
protected

Definition at line 336 of file gl_chart_canvas.h.

◆ m_displayScale

int glChartCanvas::m_displayScale
protected

Definition at line 338 of file gl_chart_canvas.h.

◆ m_extensions

wxString glChartCanvas::m_extensions
protected

Definition at line 265 of file gl_chart_canvas.h.

◆ m_fb0

GLuint glChartCanvas::m_fb0
protected

Definition at line 277 of file gl_chart_canvas.h.

◆ m_fbo_lat

double glChartCanvas::m_fbo_lat
protected

Definition at line 312 of file gl_chart_canvas.h.

◆ m_fbo_lon

double glChartCanvas::m_fbo_lon
protected

Definition at line 312 of file gl_chart_canvas.h.

◆ m_fbo_offsetx

float glChartCanvas::m_fbo_offsetx
protected

Definition at line 291 of file gl_chart_canvas.h.

◆ m_fbo_offsety

float glChartCanvas::m_fbo_offsety
protected

Definition at line 292 of file gl_chart_canvas.h.

◆ m_fbo_sheight

float glChartCanvas::m_fbo_sheight
protected

Definition at line 294 of file gl_chart_canvas.h.

◆ m_fbo_swidth

float glChartCanvas::m_fbo_swidth
protected

Definition at line 293 of file gl_chart_canvas.h.

◆ m_final_zoom_val

float glChartCanvas::m_final_zoom_val
protected

Definition at line 344 of file gl_chart_canvas.h.

◆ m_first_zout

bool glChartCanvas::m_first_zout
protected

Definition at line 308 of file gl_chart_canvas.h.

◆ m_gestureEeventTimer

wxTimer glChartCanvas::m_gestureEeventTimer
protected

Definition at line 320 of file gl_chart_canvas.h.

◆ m_gestureFinishTimer

wxTimer glChartCanvas::m_gestureFinishTimer
protected

Definition at line 321 of file gl_chart_canvas.h.

◆ m_glcanvas_height

int glChartCanvas::m_glcanvas_height
protected

Definition at line 341 of file gl_chart_canvas.h.

◆ m_glcanvas_width

int glChartCanvas::m_glcanvas_width
protected

Definition at line 340 of file gl_chart_canvas.h.

◆ m_gldc

ocpnDC glChartCanvas::m_gldc

Definition at line 211 of file gl_chart_canvas.h.

◆ m_GLSLversion

wxString glChartCanvas::m_GLSLversion
protected

Definition at line 264 of file gl_chart_canvas.h.

◆ m_glstopwatch

wxStopWatch glChartCanvas::m_glstopwatch

Definition at line 213 of file gl_chart_canvas.h.

◆ m_gridfont

TexFont glChartCanvas::m_gridfont
protected

Definition at line 328 of file gl_chart_canvas.h.

◆ m_image_height

int glChartCanvas::m_image_height
protected

Definition at line 351 of file gl_chart_canvas.h.

◆ m_image_width

int glChartCanvas::m_image_width
protected

Definition at line 351 of file gl_chart_canvas.h.

◆ m_in_glpaint

int glChartCanvas::m_in_glpaint
protected

Definition at line 271 of file gl_chart_canvas.h.

◆ m_last_render_time

time_t glChartCanvas::m_last_render_time

Definition at line 204 of file gl_chart_canvas.h.

◆ m_lastfbo_offsetx

float glChartCanvas::m_lastfbo_offsetx
protected

Definition at line 296 of file gl_chart_canvas.h.

◆ m_lastfbo_offsety

float glChartCanvas::m_lastfbo_offsety
protected

Definition at line 297 of file gl_chart_canvas.h.

◆ m_lastfbo_sheight

float glChartCanvas::m_lastfbo_sheight
protected

Definition at line 299 of file gl_chart_canvas.h.

◆ m_lastfbo_swidth

float glChartCanvas::m_lastfbo_swidth
protected

Definition at line 298 of file gl_chart_canvas.h.

◆ m_lpinchPoint

wxPoint glChartCanvas::m_lpinchPoint
protected

Definition at line 314 of file gl_chart_canvas.h.

◆ m_LRUtime

int glChartCanvas::m_LRUtime
protected

Definition at line 330 of file gl_chart_canvas.h.

◆ m_nRun

float glChartCanvas::m_nRun
protected

Definition at line 303 of file gl_chart_canvas.h.

◆ m_nStep

float glChartCanvas::m_nStep
protected

Definition at line 303 of file gl_chart_canvas.h.

◆ m_nTotal

float glChartCanvas::m_nTotal
protected

Definition at line 303 of file gl_chart_canvas.h.

◆ m_offsetxStep

float glChartCanvas::m_offsetxStep
protected

Definition at line 301 of file gl_chart_canvas.h.

◆ m_offsetyStep

float glChartCanvas::m_offsetyStep
protected

Definition at line 301 of file gl_chart_canvas.h.

◆ m_pcontext

wxGLContext* glChartCanvas::m_pcontext
protected

Definition at line 257 of file gl_chart_canvas.h.

◆ m_piano_tex

GLuint glChartCanvas::m_piano_tex
protected

Definition at line 289 of file gl_chart_canvas.h.

◆ m_pinchlat

double glChartCanvas::m_pinchlat
protected

Definition at line 325 of file gl_chart_canvas.h.

◆ m_pinchlon

double glChartCanvas::m_pinchlon
protected

Definition at line 325 of file gl_chart_canvas.h.

◆ m_pinchStart

wxPoint glChartCanvas::m_pinchStart
protected

Definition at line 324 of file gl_chart_canvas.h.

◆ m_pParentCanvas

ChartCanvas* glChartCanvas::m_pParentCanvas

Definition at line 210 of file gl_chart_canvas.h.

◆ m_renderbuffer

GLuint glChartCanvas::m_renderbuffer
protected

Definition at line 278 of file gl_chart_canvas.h.

◆ m_renderer

wxString glChartCanvas::m_renderer
protected

Definition at line 263 of file gl_chart_canvas.h.

◆ m_runoffsetx

float glChartCanvas::m_runoffsetx
protected

Definition at line 302 of file gl_chart_canvas.h.

◆ m_runoffsety

float glChartCanvas::m_runoffsety
protected

Definition at line 302 of file gl_chart_canvas.h.

◆ m_runsheight

float glChartCanvas::m_runsheight
protected

Definition at line 302 of file gl_chart_canvas.h.

◆ m_runswidth

float glChartCanvas::m_runswidth
protected

Definition at line 302 of file gl_chart_canvas.h.

◆ m_sheightStep

float glChartCanvas::m_sheightStep
protected

Definition at line 301 of file gl_chart_canvas.h.

◆ m_step_zoom_val

float glChartCanvas::m_step_zoom_val
protected

Definition at line 345 of file gl_chart_canvas.h.

◆ m_swidthStep

float glChartCanvas::m_swidthStep
protected

Definition at line 301 of file gl_chart_canvas.h.

◆ m_tex_h

int glChartCanvas::m_tex_h
protected

Definition at line 351 of file gl_chart_canvas.h.

◆ m_tex_w

int glChartCanvas::m_tex_w
protected

Definition at line 351 of file gl_chart_canvas.h.

◆ m_texVP

ViewPort glChartCanvas::m_texVP
protected

Definition at line 352 of file gl_chart_canvas.h.

◆ m_tideTex

GLuint glChartCanvas::m_tideTex
protected

Definition at line 332 of file gl_chart_canvas.h.

◆ m_tideTexHeight

int glChartCanvas::m_tideTexHeight
protected

Definition at line 335 of file gl_chart_canvas.h.

◆ m_tideTexWidth

int glChartCanvas::m_tideTexWidth
protected

Definition at line 334 of file gl_chart_canvas.h.

◆ m_total_zoom_val

float glChartCanvas::m_total_zoom_val
protected

Definition at line 343 of file gl_chart_canvas.h.

◆ m_touch_backing_bitmap

wxBitmap glChartCanvas::m_touch_backing_bitmap
protected

Definition at line 349 of file gl_chart_canvas.h.

◆ m_TouchBackingTexture

unsigned int glChartCanvas::m_TouchBackingTexture
protected

Definition at line 350 of file gl_chart_canvas.h.

◆ m_version

wxString glChartCanvas::m_version
protected

Definition at line 264 of file gl_chart_canvas.h.

◆ m_zoom_inc

float glChartCanvas::m_zoom_inc
protected

Definition at line 353 of file gl_chart_canvas.h.

◆ m_zoomFinal

bool glChartCanvas::m_zoomFinal
protected

Definition at line 304 of file gl_chart_canvas.h.

◆ m_zoomFinaldx

int glChartCanvas::m_zoomFinaldx
protected

Definition at line 306 of file gl_chart_canvas.h.

◆ m_zoomFinaldy

int glChartCanvas::m_zoomFinaldy
protected

Definition at line 306 of file gl_chart_canvas.h.

◆ m_zoomFinalZoom

double glChartCanvas::m_zoomFinalZoom
protected

Definition at line 305 of file gl_chart_canvas.h.

◆ max_texture_dimension

int glChartCanvas::max_texture_dimension
protected

Definition at line 259 of file gl_chart_canvas.h.

◆ mvmatrix

double glChartCanvas::mvmatrix[16]

Definition at line 207 of file gl_chart_canvas.h.

◆ ownship_color

int glChartCanvas::ownship_color
protected

Definition at line 286 of file gl_chart_canvas.h.

◆ ownship_size

wxSize glChartCanvas::ownship_size
protected

Definition at line 287 of file gl_chart_canvas.h.

◆ ownship_tex

GLuint glChartCanvas::ownship_tex
protected

Definition at line 285 of file gl_chart_canvas.h.

◆ ownship_tex_size

wxSize glChartCanvas::ownship_tex_size
protected

Definition at line 287 of file gl_chart_canvas.h.

◆ projmatrix

double glChartCanvas::projmatrix[16]

Definition at line 207 of file gl_chart_canvas.h.

◆ s_b_useFBO

bool glChartCanvas::s_b_useFBO
static

Definition at line 131 of file gl_chart_canvas.h.

◆ s_b_useScissorTest

bool glChartCanvas::s_b_useScissorTest
static

Definition at line 128 of file gl_chart_canvas.h.

◆ s_b_useStencil

bool glChartCanvas::s_b_useStencil
static

Definition at line 129 of file gl_chart_canvas.h.

◆ s_b_useStencilAP

bool glChartCanvas::s_b_useStencilAP
static

Definition at line 130 of file gl_chart_canvas.h.

◆ viewport

int glChartCanvas::viewport[4]

Definition at line 206 of file gl_chart_canvas.h.

◆ zoomTimer

wxTimer glChartCanvas::zoomTimer
protected

Definition at line 310 of file gl_chart_canvas.h.


The documentation for this class was generated from the following files: