OpenCPN Partial API docs
Loading...
Searching...
No Matches
gl_chart_canvas.h File Reference

OpenGL chart rendering canvas. More...

#include <array>
#include <string>
#include <unordered_map>
#include "gl_headers.h"
#include <wx/bitmap.h>
#include <wx/colour.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/glcanvas.h>
#include <wx/pen.h>
#include <wx/string.h>
#include <wx/timer.h>
#include "model/ocpn_types.h"
#include "model/route.h"
#include "chartimg.h"
#include "chcanv.h"
#include "dychart.h"
#include "emboss_data.h"
#include "gl_tex_cache.h"
#include "gl_texture_mgr.h"
#include "LLRegion.h"
#include "ocpndc.h"
#include "ocpn_gl_options.h"
#include "OCPNRegion.h"
#include "TexFont.h"
#include "viewport.h"

Go to the source code of this file.

Classes

class  OCPN_GLCaps
 
class  glTestCanvas
 
class  glChartCanvas
 OpenGL chart rendering canvas. More...
 

Macros

#define FORMAT_BITS   GL_RGB
 
#define GESTURE_EVENT_TIMER   78334
 
#define ZOOM_TIMER   78335
 
#define GESTURE_FINISH_TIMER   78336
 

Functions

void BuildCompressedCache ()
 
GLboolean QueryExtension (const char *extName)
 

Variables

GLuint g_raster_format
 Global instance.
 
glTextureManagerg_glTextureManager
 Global instance.
 

Detailed Description

OpenGL chart rendering canvas.

Definition in file gl_chart_canvas.h.

Macro Definition Documentation

◆ FORMAT_BITS

#define FORMAT_BITS   GL_RGB

Definition at line 65 of file gl_chart_canvas.h.

◆ GESTURE_EVENT_TIMER

#define GESTURE_EVENT_TIMER   78334

Definition at line 67 of file gl_chart_canvas.h.

◆ GESTURE_FINISH_TIMER

#define GESTURE_FINISH_TIMER   78336

Definition at line 69 of file gl_chart_canvas.h.

◆ ZOOM_TIMER

#define ZOOM_TIMER   78335

Definition at line 68 of file gl_chart_canvas.h.

Function Documentation

◆ QueryExtension()

GLboolean QueryExtension ( const char *  extName)

Definition at line 269 of file gl_chart_canvas.cpp.

Variable Documentation

◆ g_glTextureManager

glTextureManager* g_glTextureManager
extern

Global instance.

Definition at line 94 of file gl_texture_mgr.cpp.

◆ g_raster_format

GLuint g_raster_format
extern

Global instance.

Definition at line 204 of file gl_chart_canvas.cpp.