OpenCPN Partial API docs
ChartMBTiles Class Reference
Inheritance diagram for ChartMBTiles:
ChartBase

Public Member Functions

virtual ThumbDataGetThumbData (int tnx, int tny, float lat, float lon)
 
virtual ThumbDataGetThumbData ()
 
virtual bool UpdateThumbData (double lat, double lon)
 
virtual bool AdjustVP (ViewPort &vp_last, ViewPort &vp_proposed)
 
int GetNativeScale ()
 
double GetNormalScaleMin (double canvas_scale_factor, bool b_allow_overzoom)
 
double GetNormalScaleMax (double canvas_scale_factor, int canvas_width)
 
virtual InitReturn Init (const wxString &name, ChartInitFlag init_flags)
 
bool RenderRegionViewOnDC (wxMemoryDC &dc, const ViewPort &VPoint, const OCPNRegion &Region)
 
virtual bool RenderRegionViewOnGL (const wxGLContext &glc, const ViewPort &VPoint, const OCPNRegion &RectRegion, const LLRegion &Region)
 
virtual double GetNearestPreferredScalePPM (double target_scale_ppm)
 
virtual void GetValidCanvasRegion (const ViewPort &VPoint, OCPNRegion *pValidRegion)
 
virtual LLRegion GetValidRegion ()
 
virtual bool GetChartExtent (Extent *pext)
 
void SetColorScheme (ColorScheme cs, bool bApplyImmediate)
 
double GetPPM ()
 
double GetZoomFactor ()
 
- Public Member Functions inherited from ChartBase
virtual void Activate (void)
 
virtual void Deactivate (void)
 
virtual OcpnProjType GetChartProjectionType ()
 
virtual wxDateTime GetEditionDate (void)
 
virtual wxString GetPubDate ()
 
wxString GetFullPath () const
 
wxString GetHashKey () const
 
wxString GetName ()
 
wxString GetDescription ()
 
wxString GetID ()
 
wxString GetSE ()
 
wxString GetDepthUnits ()
 
wxString GetSoundingsDatum ()
 
wxString GetDatumString ()
 
wxString GetExtraInfo ()
 
double GetChart_Error_Factor ()
 
ChartTypeEnum GetChartType ()
 
ChartFamilyEnum GetChartFamily ()
 
double GetChartSkew ()
 
virtual ChartDepthUnitType GetDepthUnitType (void)
 
virtual bool IsReadyToRender ()
 
virtual int GetCOVREntries ()
 
virtual int GetCOVRTablePoints (int iTable)
 
virtual int GetCOVRTablenPoints (int iTable)
 
virtual float * GetCOVRTableHead (int iTable)
 
virtual int GetNoCOVREntries ()
 
virtual int GetNoCOVRTablePoints (int iTable)
 
virtual int GetNoCOVRTablenPoints (int iTable)
 
virtual float * GetNoCOVRTableHead (int iTable)
 

Protected Member Functions

bool RenderViewOnDC (wxMemoryDC &dc, const ViewPort &VPoint)
 
InitReturn PreInit (const wxString &name, ChartInitFlag init_flags, ColorScheme cs)
 
InitReturn PostInit (void)
 
void PrepareTiles ()
 
void PrepareTilesForZoom (int zoomFactor, bool bset_geom)
 
bool getTileTexture (mbTileDescriptor *tile)
 
void FlushTiles (void)
 
bool RenderTile (mbTileDescriptor *tile, int zoomLevel, const ViewPort &VPoint)
 
void StartThread ()
 
void StopThread ()
 

Protected Attributes

float m_LonMax
 
float m_LonMin
 
float m_LatMax
 
float m_LatMin
 
double m_ppm_avg
 
int m_b_cdebug
 
int m_minZoom
 
int m_maxZoom
 
TileCache * m_tileCache
 
LLRegion m_minZoomRegion
 
wxBitmapType m_imageType
 
double m_zoomScaleFactor
 
MBTilesType m_Type
 
MBTilesScheme m_Scheme
 
SQLite::Database * m_pDB
 
int m_nTiles
 
std::string m_format
 
GLShaderProgramm_tile_shader_program
 
uint32_t m_tileCount
 
MbtTilesThread * m_workerThread
 
- Protected Attributes inherited from ChartBase
int m_Chart_Scale
 
ChartTypeEnum m_ChartType
 
ChartFamilyEnum m_ChartFamily
 
wxString m_FullPath
 
wxString m_Name
 
wxString m_Description
 
wxString m_ID
 
wxString m_SE
 
wxString m_SoundingsDatum
 
wxString m_datum_str
 
wxString m_ExtraInfo
 
wxString m_PubYear
 
wxString m_DepthUnits
 
OcpnProjType m_projection
 
ChartDepthUnitType m_depth_unit_id
 
wxDateTime m_EdDate
 
ThumbDatapThumbData
 
ColorScheme m_global_color_scheme
 
bool bReadyToRender
 
double Chart_Error_Factor
 
double m_lon_datum_adjust
 
double m_lat_datum_adjust
 
double m_Chart_Skew
 
int m_nCOVREntries
 
int * m_pCOVRTablePoints
 
float ** m_pCOVRTable
 
int m_nNoCOVREntries
 
int * m_pNoCOVRTablePoints
 
float ** m_pNoCOVRTable
 

Detailed Description

Definition at line 73 of file mbtiles.h.


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