|
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 ®ion) |
|
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 bool | CanClipViewport (const ViewPort &vp) |
|
static ViewPort | ClippedViewport (const ViewPort &vp, const LLRegion ®ion) |
|
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 ®ion) |
|
static void | SetClipRegion (ViewPort &vp, const LLRegion ®ion) |
|
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) |
|
|
void | RenderS57TextOverlay (ViewPort &VPoint) |
|
void | RenderMBTilesOverlay (ViewPort &VPoint) |
|
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 ®ion, 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) |
|
void | RendertoTexture (GLint tex) |
|
Definition at line 97 of file glChartCanvas.h.
◆ ~glChartCanvas()
glChartCanvas::~glChartCanvas |
( |
| ) |
|
◆ BuildFBO()
void glChartCanvas::BuildFBO |
( |
| ) |
|
|
protected |
◆ buildFBOSize()
bool glChartCanvas::buildFBOSize |
( |
int |
fboSize | ) |
|
|
protected |
◆ CanAcceleratePanning()
bool glChartCanvas::CanAcceleratePanning |
( |
| ) |
|
|
inline |
◆ CanClipViewport()
bool glChartCanvas::CanClipViewport |
( |
const ViewPort & |
vp | ) |
|
|
static |
◆ ClippedViewport()
ViewPort glChartCanvas::ClippedViewport |
( |
const ViewPort & |
vp, |
|
|
const LLRegion & |
region |
|
) |
| |
|
static |
◆ configureShaders()
void glChartCanvas::configureShaders |
( |
ViewPort & |
vp | ) |
|
|
protected |
◆ DisableClipRegion()
void glChartCanvas::DisableClipRegion |
( |
| ) |
|
|
static |
◆ DrawChartBar()
void glChartCanvas::DrawChartBar |
( |
ocpnDC & |
dc | ) |
|
|
protected |
◆ DrawCloseMessage()
void glChartCanvas::DrawCloseMessage |
( |
wxString |
msg | ) |
|
|
protected |
◆ DrawDynamicRoutesTracksAndWaypoints()
void glChartCanvas::DrawDynamicRoutesTracksAndWaypoints |
( |
ViewPort & |
vp | ) |
|
◆ DrawEmboss()
◆ DrawFloatingOverlayObjects()
void glChartCanvas::DrawFloatingOverlayObjects |
( |
ocpnDC & |
dc | ) |
|
|
protected |
◆ DrawGLCurrentsInBBox()
void glChartCanvas::DrawGLCurrentsInBBox |
( |
ocpnDC & |
dc, |
|
|
LLBBox & |
BBox |
|
) |
| |
|
protected |
◆ DrawGLTidesInBBox()
void glChartCanvas::DrawGLTidesInBBox |
( |
ocpnDC & |
dc, |
|
|
LLBBox & |
BBox |
|
) |
| |
|
protected |
◆ DrawGroundedOverlayObjects()
void glChartCanvas::DrawGroundedOverlayObjects |
( |
ocpnDC & |
dc, |
|
|
ViewPort & |
vp |
|
) |
| |
|
protected |
◆ DrawQuiting()
void glChartCanvas::DrawQuiting |
( |
| ) |
|
|
protected |
◆ DrawRegion()
void glChartCanvas::DrawRegion |
( |
ViewPort & |
vp, |
|
|
const LLRegion & |
region |
|
) |
| |
|
static |
◆ DrawStaticRoutesTracksAndWaypoints()
void glChartCanvas::DrawStaticRoutesTracksAndWaypoints |
( |
ViewPort & |
vp | ) |
|
◆ EnablePaint()
void glChartCanvas::EnablePaint |
( |
bool |
b_enable | ) |
|
|
inline |
◆ FastPan()
void glChartCanvas::FastPan |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| |
◆ FastZoom()
void glChartCanvas::FastZoom |
( |
float |
factor, |
|
|
float |
cp_x, |
|
|
float |
cp_y, |
|
|
float |
post_x, |
|
|
float |
post_y |
|
) |
| |
◆ FlushFBO()
void glChartCanvas::FlushFBO |
( |
void |
| ) |
|
◆ GetCanvasIndex()
int glChartCanvas::GetCanvasIndex |
( |
| ) |
|
|
inline |
◆ GetGLCanvasHeight()
int glChartCanvas::GetGLCanvasHeight |
( |
| ) |
|
|
inline |
◆ GetGLCanvasWidth()
int glChartCanvas::GetGLCanvasWidth |
( |
| ) |
|
|
inline |
◆ GetGLSLVersionString()
wxString glChartCanvas::GetGLSLVersionString |
( |
| ) |
|
|
inline |
◆ GetRendererString()
wxString glChartCanvas::GetRendererString |
( |
| ) |
|
|
inline |
◆ GetVersionString()
wxString glChartCanvas::GetVersionString |
( |
| ) |
|
|
inline |
◆ GridDraw()
void glChartCanvas::GridDraw |
( |
| ) |
|
◆ HasNormalizedViewPort()
bool glChartCanvas::HasNormalizedViewPort |
( |
const ViewPort & |
vp | ) |
|
|
static |
◆ Init()
void glChartCanvas::Init |
( |
| ) |
|
◆ Invalidate()
void glChartCanvas::Invalidate |
( |
| ) |
|
◆ isInGesture()
bool glChartCanvas::isInGesture |
( |
| ) |
|
|
inline |
◆ MouseEvent()
void glChartCanvas::MouseEvent |
( |
wxMouseEvent & |
event | ) |
|
◆ MultMatrixViewPort()
void glChartCanvas::MultMatrixViewPort |
( |
ViewPort & |
vp, |
|
|
float |
lat = 0 , |
|
|
float |
lon = 0 |
|
) |
| |
|
static |
◆ NormalizedViewPort()
ViewPort glChartCanvas::NormalizedViewPort |
( |
const ViewPort & |
vp, |
|
|
float |
lat = 0 , |
|
|
float |
lon = 0 |
|
) |
| |
|
static |
◆ OnActivate()
void glChartCanvas::OnActivate |
( |
wxActivateEvent & |
event | ) |
|
◆ OnPaint()
void glChartCanvas::OnPaint |
( |
wxPaintEvent & |
event | ) |
|
◆ OnSize()
void glChartCanvas::OnSize |
( |
wxSizeEvent & |
event | ) |
|
◆ onZoomTimerEvent()
void glChartCanvas::onZoomTimerEvent |
( |
wxTimerEvent & |
event | ) |
|
◆ Render()
void glChartCanvas::Render |
( |
| ) |
|
◆ RenderCanvasBackingChart()
void glChartCanvas::RenderCanvasBackingChart |
( |
ocpnDC & |
dc, |
|
|
OCPNRegion |
chart_get_region |
|
) |
| |
◆ RenderChartOutline()
void glChartCanvas::RenderChartOutline |
( |
ocpnDC & |
dc, |
|
|
int |
dbIndex, |
|
|
ViewPort & |
VP |
|
) |
| |
◆ RenderCharts()
void glChartCanvas::RenderCharts |
( |
ocpnDC & |
dc, |
|
|
const OCPNRegion & |
rect_region |
|
) |
| |
|
protected |
◆ RenderColorRect()
void glChartCanvas::RenderColorRect |
( |
wxRect |
r, |
|
|
wxColor & |
color |
|
) |
| |
◆ RenderGLAlertMessage()
void glChartCanvas::RenderGLAlertMessage |
( |
| ) |
|
|
protected |
◆ RenderMBTilesOverlay()
void glChartCanvas::RenderMBTilesOverlay |
( |
ViewPort & |
VPoint | ) |
|
|
protected |
◆ RenderNoDTA()
void glChartCanvas::RenderNoDTA |
( |
ViewPort & |
vp, |
|
|
const LLRegion & |
region, |
|
|
int |
transparency = 255 |
|
) |
| |
|
protected |
◆ RenderQuiltViewGL()
◆ RenderQuiltViewGLText()
void glChartCanvas::RenderQuiltViewGLText |
( |
ViewPort & |
vp, |
|
|
const OCPNRegion & |
rect_region |
|
) |
| |
|
protected |
◆ RenderRasterChartRegionGL()
void glChartCanvas::RenderRasterChartRegionGL |
( |
ChartBase * |
chart, |
|
|
ViewPort & |
vp, |
|
|
LLRegion & |
region |
|
) |
| |
◆ RenderS57TextOverlay()
void glChartCanvas::RenderS57TextOverlay |
( |
ViewPort & |
VPoint | ) |
|
|
protected |
◆ RenderScene()
void glChartCanvas::RenderScene |
( |
bool |
bRenderCharts = true , |
|
|
bool |
bRenderOverlays = true |
|
) |
| |
|
protected |
◆ RenderSingleTexture()
void glChartCanvas::RenderSingleTexture |
( |
ocpnDC & |
dc, |
|
|
float * |
coords, |
|
|
float * |
uvCoords, |
|
|
ViewPort * |
vp, |
|
|
float |
dx, |
|
|
float |
dy, |
|
|
float |
angle |
|
) |
| |
|
static |
◆ RenderTextures()
void glChartCanvas::RenderTextures |
( |
ocpnDC & |
dc, |
|
|
float * |
coords, |
|
|
float * |
uvCoords, |
|
|
int |
nVertex, |
|
|
ViewPort * |
vp |
|
) |
| |
◆ RenderWorldChart()
void glChartCanvas::RenderWorldChart |
( |
ocpnDC & |
dc, |
|
|
ViewPort & |
vp, |
|
|
wxRect & |
rect, |
|
|
bool & |
world_view |
|
) |
| |
|
protected |
◆ ResetGridFont()
void glChartCanvas::ResetGridFont |
( |
| ) |
|
|
inline |
◆ SendJSONConfigMessage()
void glChartCanvas::SendJSONConfigMessage |
( |
| ) |
|
◆ SetClipRect()
void glChartCanvas::SetClipRect |
( |
const ViewPort & |
vp, |
|
|
const wxRect & |
rect, |
|
|
bool |
g_clear = false |
|
) |
| |
|
static |
◆ SetClipRegion()
void glChartCanvas::SetClipRegion |
( |
ViewPort & |
vp, |
|
|
const LLRegion & |
region |
|
) |
| |
|
static |
◆ SetColorScheme()
void glChartCanvas::SetColorScheme |
( |
ColorScheme |
cs | ) |
|
◆ SetContext()
void glChartCanvas::SetContext |
( |
wxGLContext * |
pcontext | ) |
|
|
inline |
◆ SetupCompression()
void glChartCanvas::SetupCompression |
( |
| ) |
|
◆ SetupOpenGL()
void glChartCanvas::SetupOpenGL |
( |
| ) |
|
◆ ShipDraw()
void glChartCanvas::ShipDraw |
( |
ocpnDC & |
dc | ) |
|
◆ UsingFBO()
bool glChartCanvas::UsingFBO |
( |
| ) |
|
|
inline |
◆ ZoomProject()
void glChartCanvas::ZoomProject |
( |
float |
offset_x, |
|
|
float |
offset_y, |
|
|
float |
swidth, |
|
|
float |
sheight |
|
) |
| |
|
protected |
◆ m_b_BuiltFBO
bool glChartCanvas::m_b_BuiltFBO |
|
protected |
◆ m_b_DisableFBO
bool glChartCanvas::m_b_DisableFBO |
|
protected |
◆ m_b_paint_enable
bool glChartCanvas::m_b_paint_enable |
|
protected |
◆ m_b_useFBOStencil
bool glChartCanvas::m_b_useFBOStencil |
|
protected |
◆ m_bforcefull
bool glChartCanvas::m_bforcefull |
|
protected |
◆ m_bgestureGuard
bool glChartCanvas::m_bgestureGuard |
|
protected |
◆ m_binGesture
bool glChartCanvas::m_binGesture |
|
protected |
◆ m_binPan
bool glChartCanvas::m_binPan |
|
protected |
◆ m_binPinch
bool glChartCanvas::m_binPinch |
|
protected |
◆ m_bpinchGuard
bool glChartCanvas::m_bpinchGuard |
|
protected |
◆ m_bsetup
bool glChartCanvas::m_bsetup |
|
protected |
◆ m_bUseGLSL
bool glChartCanvas::m_bUseGLSL |
|
protected |
◆ m_cache_current_ch
◆ m_cache_page
GLuint glChartCanvas::m_cache_page |
|
protected |
◆ m_cache_tex
GLuint glChartCanvas::m_cache_tex[2] |
|
protected |
◆ m_cache_tex_x
int glChartCanvas::m_cache_tex_x |
|
protected |
◆ m_cache_tex_y
int glChartCanvas::m_cache_tex_y |
|
protected |
◆ m_cache_vp
◆ m_canvasregion
◆ m_cc_x
int glChartCanvas::m_cc_x |
|
protected |
◆ m_cc_y
int glChartCanvas::m_cc_y |
|
protected |
◆ m_currentTex
GLuint glChartCanvas::m_currentTex |
|
protected |
◆ m_currentTexHeight
int glChartCanvas::m_currentTexHeight |
|
protected |
◆ m_currentTexWidth
int glChartCanvas::m_currentTexWidth |
|
protected |
◆ m_displayScale
int glChartCanvas::m_displayScale |
|
protected |
◆ m_extensions
wxString glChartCanvas::m_extensions |
|
protected |
◆ m_fb0
GLuint glChartCanvas::m_fb0 |
|
protected |
◆ m_fbo_lat
double glChartCanvas::m_fbo_lat |
|
protected |
◆ m_fbo_lon
double glChartCanvas::m_fbo_lon |
|
protected |
◆ m_fbo_offsetx
float glChartCanvas::m_fbo_offsetx |
|
protected |
◆ m_fbo_offsety
float glChartCanvas::m_fbo_offsety |
|
protected |
◆ m_fbo_sheight
float glChartCanvas::m_fbo_sheight |
|
protected |
◆ m_fbo_swidth
float glChartCanvas::m_fbo_swidth |
|
protected |
◆ m_gestureEeventTimer
wxTimer glChartCanvas::m_gestureEeventTimer |
|
protected |
◆ m_gestureFinishTimer
wxTimer glChartCanvas::m_gestureFinishTimer |
|
protected |
◆ m_glcanvas_height
int glChartCanvas::m_glcanvas_height |
|
protected |
◆ m_glcanvas_width
int glChartCanvas::m_glcanvas_width |
|
protected |
◆ m_gldc
◆ m_GLSLversion
wxString glChartCanvas::m_GLSLversion |
|
protected |
◆ m_gridfont
TexFont glChartCanvas::m_gridfont |
|
protected |
◆ m_in_glpaint
int glChartCanvas::m_in_glpaint |
|
protected |
◆ m_last_render_time
time_t glChartCanvas::m_last_render_time |
◆ m_lastfbo_offsetx
float glChartCanvas::m_lastfbo_offsetx |
|
protected |
◆ m_lastfbo_offsety
float glChartCanvas::m_lastfbo_offsety |
|
protected |
◆ m_lastfbo_sheight
float glChartCanvas::m_lastfbo_sheight |
|
protected |
◆ m_lastfbo_swidth
float glChartCanvas::m_lastfbo_swidth |
|
protected |
◆ m_lpinchPoint
wxPoint glChartCanvas::m_lpinchPoint |
|
protected |
◆ m_LRUtime
int glChartCanvas::m_LRUtime |
|
protected |
◆ m_nRun
float glChartCanvas::m_nRun |
|
protected |
◆ m_nStep
float glChartCanvas::m_nStep |
|
protected |
◆ m_nTotal
float glChartCanvas::m_nTotal |
|
protected |
◆ m_offsetxStep
float glChartCanvas::m_offsetxStep |
|
protected |
◆ m_offsetyStep
float glChartCanvas::m_offsetyStep |
|
protected |
◆ m_pcontext
wxGLContext* glChartCanvas::m_pcontext |
|
protected |
◆ m_piano_tex
GLuint glChartCanvas::m_piano_tex |
|
protected |
◆ m_pinchlat
double glChartCanvas::m_pinchlat |
|
protected |
◆ m_pinchlon
double glChartCanvas::m_pinchlon |
|
protected |
◆ m_pinchStart
wxPoint glChartCanvas::m_pinchStart |
|
protected |
◆ m_pParentCanvas
◆ m_renderbuffer
GLuint glChartCanvas::m_renderbuffer |
|
protected |
◆ m_renderer
wxString glChartCanvas::m_renderer |
|
protected |
◆ m_runoffsetx
float glChartCanvas::m_runoffsetx |
|
protected |
◆ m_runoffsety
float glChartCanvas::m_runoffsety |
|
protected |
◆ m_runsheight
float glChartCanvas::m_runsheight |
|
protected |
◆ m_runswidth
float glChartCanvas::m_runswidth |
|
protected |
◆ m_sheightStep
float glChartCanvas::m_sheightStep |
|
protected |
◆ m_swidthStep
float glChartCanvas::m_swidthStep |
|
protected |
◆ m_tideTex
GLuint glChartCanvas::m_tideTex |
|
protected |
◆ m_tideTexHeight
int glChartCanvas::m_tideTexHeight |
|
protected |
◆ m_tideTexWidth
int glChartCanvas::m_tideTexWidth |
|
protected |
◆ m_version
wxString glChartCanvas::m_version |
|
protected |
◆ m_zoomFinal
bool glChartCanvas::m_zoomFinal |
|
protected |
◆ m_zoomFinaldx
int glChartCanvas::m_zoomFinaldx |
|
protected |
◆ m_zoomFinaldy
int glChartCanvas::m_zoomFinaldy |
|
protected |
◆ m_zoomFinalZoom
double glChartCanvas::m_zoomFinalZoom |
|
protected |
◆ max_texture_dimension
int glChartCanvas::max_texture_dimension |
|
protected |
◆ mvmatrix
double glChartCanvas::mvmatrix[16] |
◆ ownship_color
int glChartCanvas::ownship_color |
|
protected |
◆ ownship_size
wxSize glChartCanvas::ownship_size |
|
protected |
◆ ownship_tex
GLuint glChartCanvas::ownship_tex |
|
protected |
◆ ownship_tex_size
wxSize glChartCanvas::ownship_tex_size |
|
protected |
◆ projmatrix
double glChartCanvas::projmatrix[16] |
◆ s_b_useFBO
bool glChartCanvas::s_b_useFBO |
|
static |
◆ s_b_useScissorTest
bool glChartCanvas::s_b_useScissorTest |
|
static |
◆ s_b_useStencil
bool glChartCanvas::s_b_useStencil |
|
static |
◆ s_b_useStencilAP
bool glChartCanvas::s_b_useStencilAP |
|
static |
◆ viewport
int glChartCanvas::viewport[4] |
◆ zoomTimer
wxTimer glChartCanvas::zoomTimer |
|
protected |
The documentation for this class was generated from the following files: