OpenCPN Partial API docs
Loading...
Searching...
No Matches
ChartBase Class Referenceabstract
Inheritance diagram for ChartBase:
ChartBaseBSB ChartDummy ChartMBTiles s57chart ChartGEO ChartKAP ChartPlugInWrapper cm93chart cm93compchart

Public Member Functions

virtual InitReturn Init (const wxString &name, ChartInitFlag init_flags)=0
 
virtual void Activate (void)
 
virtual void Deactivate (void)
 
virtual ThumbDataGetThumbData (int tnx, int tny, float lat, float lon)=0
 
virtual ThumbDataGetThumbData ()=0
 
virtual bool UpdateThumbData (double lat, double lon)=0
 
virtual double GetNormalScaleMin (double canvas_scale_factor, bool b_allow_overzoom)=0
 
virtual double GetNormalScaleMax (double canvas_scale_factor, int canvas_width)=0
 
virtual bool GetChartExtent (Extent *pext)=0
 
virtual OcpnProjType GetChartProjectionType ()
 
virtual wxDateTime GetEditionDate (void)
 
virtual wxString GetPubDate ()
 
virtual int GetNativeScale ()
 
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 bool RenderRegionViewOnDC (wxMemoryDC &dc, const ViewPort &VPoint, const OCPNRegion &Region)=0
 
virtual bool RenderRegionViewOnGL (const wxGLContext &glc, const ViewPort &VPoint, const OCPNRegion &RectRegion, const LLRegion &Region)=0
 
virtual bool AdjustVP (ViewPort &vp_last, ViewPort &vp_proposed)=0
 
virtual void GetValidCanvasRegion (const ViewPort &VPoint, OCPNRegion *pValidRegion)=0
 
virtual LLRegion GetValidRegion ()=0
 
virtual void SetColorScheme (ColorScheme cs, bool bApplyImmediate=true)=0
 
virtual double GetNearestPreferredScalePPM (double target_scale_ppm)=0
 
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 Attributes

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 117 of file chartbase.h.

Constructor & Destructor Documentation

◆ ChartBase()

ChartBase::ChartBase ( )

Definition at line 141 of file chartimg.cpp.

◆ ~ChartBase()

ChartBase::~ChartBase ( )
pure virtual

Definition at line 171 of file chartimg.cpp.

Member Function Documentation

◆ Activate()

virtual void ChartBase::Activate ( void  )
inlinevirtual

Definition at line 124 of file chartbase.h.

◆ Deactivate()

virtual void ChartBase::Deactivate ( void  )
inlinevirtual

Definition at line 125 of file chartbase.h.

◆ GetChart_Error_Factor()

double ChartBase::GetChart_Error_Factor ( )
inline

Definition at line 154 of file chartbase.h.

◆ GetChartFamily()

ChartFamilyEnum ChartBase::GetChartFamily ( )
inline

Definition at line 156 of file chartbase.h.

◆ GetChartProjectionType()

virtual OcpnProjType ChartBase::GetChartProjectionType ( )
inlinevirtual

Definition at line 139 of file chartbase.h.

◆ GetChartSkew()

double ChartBase::GetChartSkew ( )
inline

Definition at line 157 of file chartbase.h.

◆ GetChartType()

ChartTypeEnum ChartBase::GetChartType ( )
inline

Definition at line 155 of file chartbase.h.

◆ GetCOVREntries()

virtual int ChartBase::GetCOVREntries ( )
inlinevirtual

Definition at line 180 of file chartbase.h.

◆ GetCOVRTableHead()

virtual float * ChartBase::GetCOVRTableHead ( int  iTable)
inlinevirtual

Definition at line 187 of file chartbase.h.

◆ GetCOVRTablenPoints()

virtual int ChartBase::GetCOVRTablenPoints ( int  iTable)
inlinevirtual

Definition at line 184 of file chartbase.h.

◆ GetCOVRTablePoints()

virtual int ChartBase::GetCOVRTablePoints ( int  iTable)
inlinevirtual

Definition at line 181 of file chartbase.h.

◆ GetDatumString()

wxString ChartBase::GetDatumString ( )
inline

Definition at line 152 of file chartbase.h.

◆ GetDepthUnits()

wxString ChartBase::GetDepthUnits ( )
inline

Definition at line 150 of file chartbase.h.

◆ GetDepthUnitType()

virtual ChartDepthUnitType ChartBase::GetDepthUnitType ( void  )
inlinevirtual

Definition at line 159 of file chartbase.h.

◆ GetDescription()

wxString ChartBase::GetDescription ( )
inline

Definition at line 147 of file chartbase.h.

◆ GetEditionDate()

virtual wxDateTime ChartBase::GetEditionDate ( void  )
inlinevirtual

Definition at line 140 of file chartbase.h.

◆ GetExtraInfo()

wxString ChartBase::GetExtraInfo ( )
inline

Definition at line 153 of file chartbase.h.

◆ GetFullPath()

wxString ChartBase::GetFullPath ( ) const
inline

Definition at line 144 of file chartbase.h.

◆ GetHashKey()

wxString ChartBase::GetHashKey ( ) const

Definition at line 191 of file chartimg.cpp.

◆ GetID()

wxString ChartBase::GetID ( )
inline

Definition at line 148 of file chartbase.h.

◆ GetName()

wxString ChartBase::GetName ( )
inline

Definition at line 146 of file chartbase.h.

◆ GetNativeScale()

virtual int ChartBase::GetNativeScale ( void  )
inlinevirtual

Definition at line 143 of file chartbase.h.

◆ GetNoCOVREntries()

virtual int ChartBase::GetNoCOVREntries ( )
inlinevirtual

Definition at line 189 of file chartbase.h.

◆ GetNoCOVRTableHead()

virtual float * ChartBase::GetNoCOVRTableHead ( int  iTable)
inlinevirtual

Definition at line 196 of file chartbase.h.

◆ GetNoCOVRTablenPoints()

virtual int ChartBase::GetNoCOVRTablenPoints ( int  iTable)
inlinevirtual

Definition at line 193 of file chartbase.h.

◆ GetNoCOVRTablePoints()

virtual int ChartBase::GetNoCOVRTablePoints ( int  iTable)
inlinevirtual

Definition at line 190 of file chartbase.h.

◆ GetPubDate()

virtual wxString ChartBase::GetPubDate ( )
inlinevirtual

Definition at line 142 of file chartbase.h.

◆ GetSE()

wxString ChartBase::GetSE ( )
inline

Definition at line 149 of file chartbase.h.

◆ GetSoundingsDatum()

wxString ChartBase::GetSoundingsDatum ( )
inline

Definition at line 151 of file chartbase.h.

◆ IsReadyToRender()

virtual bool ChartBase::IsReadyToRender ( )
inlinevirtual

Definition at line 161 of file chartbase.h.

Member Data Documentation

◆ bReadyToRender

bool ChartBase::bReadyToRender
protected

Definition at line 224 of file chartbase.h.

◆ Chart_Error_Factor

double ChartBase::Chart_Error_Factor
protected

Definition at line 226 of file chartbase.h.

◆ m_Chart_Scale

int ChartBase::m_Chart_Scale
protected

Definition at line 201 of file chartbase.h.

◆ m_Chart_Skew

double ChartBase::m_Chart_Skew
protected

Definition at line 232 of file chartbase.h.

◆ m_ChartFamily

ChartFamilyEnum ChartBase::m_ChartFamily
protected

Definition at line 203 of file chartbase.h.

◆ m_ChartType

ChartTypeEnum ChartBase::m_ChartType
protected

Definition at line 202 of file chartbase.h.

◆ m_datum_str

wxString ChartBase::m_datum_str
protected

Definition at line 211 of file chartbase.h.

◆ m_depth_unit_id

ChartDepthUnitType ChartBase::m_depth_unit_id
protected

Definition at line 217 of file chartbase.h.

◆ m_DepthUnits

wxString ChartBase::m_DepthUnits
protected

Definition at line 214 of file chartbase.h.

◆ m_Description

wxString ChartBase::m_Description
protected

Definition at line 207 of file chartbase.h.

◆ m_EdDate

wxDateTime ChartBase::m_EdDate
protected

Definition at line 219 of file chartbase.h.

◆ m_ExtraInfo

wxString ChartBase::m_ExtraInfo
protected

Definition at line 212 of file chartbase.h.

◆ m_FullPath

wxString ChartBase::m_FullPath
protected

Definition at line 205 of file chartbase.h.

◆ m_global_color_scheme

ColorScheme ChartBase::m_global_color_scheme
protected

Definition at line 223 of file chartbase.h.

◆ m_ID

wxString ChartBase::m_ID
protected

Definition at line 208 of file chartbase.h.

◆ m_lat_datum_adjust

double ChartBase::m_lat_datum_adjust
protected

Definition at line 230 of file chartbase.h.

◆ m_lon_datum_adjust

double ChartBase::m_lon_datum_adjust
protected

Definition at line 228 of file chartbase.h.

◆ m_Name

wxString ChartBase::m_Name
protected

Definition at line 206 of file chartbase.h.

◆ m_nCOVREntries

int ChartBase::m_nCOVREntries
protected

Definition at line 243 of file chartbase.h.

◆ m_nNoCOVREntries

int ChartBase::m_nNoCOVREntries
protected

Definition at line 249 of file chartbase.h.

◆ m_pCOVRTable

float** ChartBase::m_pCOVRTable
protected

Definition at line 246 of file chartbase.h.

◆ m_pCOVRTablePoints

int* ChartBase::m_pCOVRTablePoints
protected

Definition at line 244 of file chartbase.h.

◆ m_pNoCOVRTable

float** ChartBase::m_pNoCOVRTable
protected

Definition at line 252 of file chartbase.h.

◆ m_pNoCOVRTablePoints

int* ChartBase::m_pNoCOVRTablePoints
protected

Definition at line 250 of file chartbase.h.

◆ m_projection

OcpnProjType ChartBase::m_projection
protected

Definition at line 216 of file chartbase.h.

◆ m_PubYear

wxString ChartBase::m_PubYear
protected

Definition at line 213 of file chartbase.h.

◆ m_SE

wxString ChartBase::m_SE
protected

Definition at line 209 of file chartbase.h.

◆ m_SoundingsDatum

wxString ChartBase::m_SoundingsDatum
protected

Definition at line 210 of file chartbase.h.

◆ pThumbData

ThumbData* ChartBase::pThumbData
protected

Definition at line 221 of file chartbase.h.


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