OpenCPN Partial API docs
Loading...
Searching...
No Matches
PlugInChartBase Class Reference
Inheritance diagram for PlugInChartBase:
PlugInChartBaseExtended PlugInChartBaseGL PlugInChartBaseExtendedPlus2 PlugInChartBaseGLPlus2

Public Member Functions

virtual wxString GetFileSearchMask (void)
 
virtual int Init (const wxString &full_path, int init_flags)
 
virtual void SetColorScheme (int cs, bool bApplyImmediate)
 
virtual double GetNormalScaleMin (double canvas_scale_factor, bool b_allow_overzoom)
 
virtual double GetNormalScaleMax (double canvas_scale_factor, int canvas_width)
 
virtual double GetNearestPreferredScalePPM (double target_scale_ppm)
 
virtual bool GetChartExtent (ExtentPI *pext)
 
virtual wxBitmap & RenderRegionView (const PlugIn_ViewPort &VPoint, const wxRegion &Region)
 
virtual bool AdjustVP (PlugIn_ViewPort &vp_last, PlugIn_ViewPort &vp_proposed)
 
virtual void GetValidCanvasRegion (const PlugIn_ViewPort &VPoint, wxRegion *pValidRegion)
 
virtual int GetCOVREntries ()
 
virtual int GetCOVRTablePoints (int iTable)
 
virtual int GetCOVRTablenPoints (int iTable)
 
virtual float * GetCOVRTableHead (int iTable)
 
virtual wxBitmap * GetThumbnail (int tnx, int tny, int cs)
 
virtual wxString GetFullPath () const
 
virtual ChartTypeEnumPI GetChartType ()
 
virtual ChartFamilyEnumPI GetChartFamily ()
 
virtual OcpnProjTypePI GetChartProjection ()
 
virtual wxString GetName ()
 
virtual wxString GetDescription ()
 
virtual wxString GetID ()
 
virtual wxString GetSE ()
 
virtual wxString GetDepthUnits ()
 
virtual wxString GetSoundingsDatum ()
 
virtual wxString GetDatumString ()
 
virtual wxString GetExtraInfo ()
 
virtual wxString GetPubDate ()
 
virtual double GetChartErrorFactor ()
 
virtual ChartDepthUnitTypePI GetDepthUnitId ()
 
virtual bool IsReadyToRender ()
 
virtual int GetNativeScale ()
 
virtual double GetChartSkew ()
 
virtual wxDateTime GetEditionDate (void)
 
virtual void ComputeSourceRectangle (const PlugIn_ViewPort &vp, wxRect *pSourceRect)
 
virtual double GetRasterScaleFactor ()
 
virtual bool GetChartBits (wxRect &source, unsigned char *pPix, int sub_samp)
 
virtual int GetSize_X ()
 
virtual int GetSize_Y ()
 
virtual void latlong_to_chartpix (double lat, double lon, double &pixx, double &pixy)
 
virtual void chartpix_to_latlong (double pixx, double pixy, double *plat, double *plon)
 

Protected Attributes

ChartTypeEnumPI m_ChartType
 
ChartFamilyEnumPI m_ChartFamily
 
wxString m_FullPath
 
OcpnProjTypePI m_projection
 
int m_Chart_Scale
 
double m_Chart_Skew
 
wxDateTime m_EdDate
 
bool m_bReadyToRender
 
wxString m_Name
 
wxString m_Description
 
wxString m_ID
 
wxString m_SE
 
wxString m_SoundingsDatum
 
wxString m_datum_str
 
wxString m_PubYear
 
wxString m_DepthUnits
 
wxString m_ExtraInfo
 
ChartDepthUnitTypePI m_depth_unit_id
 
double m_Chart_Error_Factor
 

Detailed Description

Definition at line 277 of file ocpn_plugin.h.

Constructor & Destructor Documentation

◆ PlugInChartBase()

PlugInChartBase::PlugInChartBase ( )

Definition at line 1203 of file api_shim.cpp.

◆ ~PlugInChartBase()

PlugInChartBase::~PlugInChartBase ( )
virtual

Definition at line 1204 of file api_shim.cpp.

Member Function Documentation

◆ AdjustVP()

bool PlugInChartBase::AdjustVP ( PlugIn_ViewPort vp_last,
PlugIn_ViewPort vp_proposed 
)
virtual

Definition at line 1233 of file api_shim.cpp.

◆ chartpix_to_latlong()

void PlugInChartBase::chartpix_to_latlong ( double  pixx,
double  pixy,
double *  plat,
double *  plon 
)
virtual

Definition at line 1256 of file api_shim.cpp.

◆ ComputeSourceRectangle()

void PlugInChartBase::ComputeSourceRectangle ( const PlugIn_ViewPort vp,
wxRect *  pSourceRect 
)
virtual

Definition at line 1245 of file api_shim.cpp.

◆ GetChartBits()

bool PlugInChartBase::GetChartBits ( wxRect &  source,
unsigned char *  pPix,
int  sub_samp 
)
virtual

Definition at line 1248 of file api_shim.cpp.

◆ GetChartErrorFactor()

virtual double PlugInChartBase::GetChartErrorFactor ( )
inlinevirtual

Definition at line 326 of file ocpn_plugin.h.

◆ GetChartExtent()

bool PlugInChartBase::GetChartExtent ( ExtentPI pext)
virtual

Definition at line 1225 of file api_shim.cpp.

◆ GetChartFamily()

virtual ChartFamilyEnumPI PlugInChartBase::GetChartFamily ( )
inlinevirtual

Definition at line 315 of file ocpn_plugin.h.

◆ GetChartProjection()

virtual OcpnProjTypePI PlugInChartBase::GetChartProjection ( )
inlinevirtual

Definition at line 316 of file ocpn_plugin.h.

◆ GetChartSkew()

virtual double PlugInChartBase::GetChartSkew ( )
inlinevirtual

Definition at line 330 of file ocpn_plugin.h.

◆ GetChartType()

virtual ChartTypeEnumPI PlugInChartBase::GetChartType ( )
inlinevirtual

Definition at line 314 of file ocpn_plugin.h.

◆ GetCOVREntries()

virtual int PlugInChartBase::GetCOVREntries ( )
inlinevirtual

Definition at line 304 of file ocpn_plugin.h.

◆ GetCOVRTableHead()

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

Definition at line 307 of file ocpn_plugin.h.

◆ GetCOVRTablenPoints()

virtual int PlugInChartBase::GetCOVRTablenPoints ( int  iTable)
inlinevirtual

Definition at line 306 of file ocpn_plugin.h.

◆ GetCOVRTablePoints()

virtual int PlugInChartBase::GetCOVRTablePoints ( int  iTable)
inlinevirtual

Definition at line 305 of file ocpn_plugin.h.

◆ GetDatumString()

virtual wxString PlugInChartBase::GetDatumString ( )
inlinevirtual

Definition at line 323 of file ocpn_plugin.h.

◆ GetDepthUnitId()

virtual ChartDepthUnitTypePI PlugInChartBase::GetDepthUnitId ( )
inlinevirtual

Definition at line 327 of file ocpn_plugin.h.

◆ GetDepthUnits()

virtual wxString PlugInChartBase::GetDepthUnits ( )
inlinevirtual

Definition at line 321 of file ocpn_plugin.h.

◆ GetDescription()

virtual wxString PlugInChartBase::GetDescription ( )
inlinevirtual

Definition at line 318 of file ocpn_plugin.h.

◆ GetEditionDate()

virtual wxDateTime PlugInChartBase::GetEditionDate ( void  )
inlinevirtual

Definition at line 331 of file ocpn_plugin.h.

◆ GetExtraInfo()

virtual wxString PlugInChartBase::GetExtraInfo ( )
inlinevirtual

Definition at line 324 of file ocpn_plugin.h.

◆ GetFileSearchMask()

wxString PlugInChartBase::GetFileSearchMask ( void  )
virtual

Definition at line 1206 of file api_shim.cpp.

◆ GetFullPath()

virtual wxString PlugInChartBase::GetFullPath ( ) const
inlinevirtual

Definition at line 313 of file ocpn_plugin.h.

◆ GetID()

virtual wxString PlugInChartBase::GetID ( )
inlinevirtual

Definition at line 319 of file ocpn_plugin.h.

◆ GetName()

virtual wxString PlugInChartBase::GetName ( )
inlinevirtual

Definition at line 317 of file ocpn_plugin.h.

◆ GetNativeScale()

virtual int PlugInChartBase::GetNativeScale ( )
inlinevirtual

Definition at line 329 of file ocpn_plugin.h.

◆ GetNearestPreferredScalePPM()

double PlugInChartBase::GetNearestPreferredScalePPM ( double  target_scale_ppm)
virtual

Definition at line 1221 of file api_shim.cpp.

◆ GetNormalScaleMax()

double PlugInChartBase::GetNormalScaleMax ( double  canvas_scale_factor,
int  canvas_width 
)
virtual

Definition at line 1217 of file api_shim.cpp.

◆ GetNormalScaleMin()

double PlugInChartBase::GetNormalScaleMin ( double  canvas_scale_factor,
bool  b_allow_overzoom 
)
virtual

Definition at line 1213 of file api_shim.cpp.

◆ GetPubDate()

virtual wxString PlugInChartBase::GetPubDate ( )
inlinevirtual

Definition at line 325 of file ocpn_plugin.h.

◆ GetRasterScaleFactor()

double PlugInChartBase::GetRasterScaleFactor ( )
virtual

Definition at line 1247 of file api_shim.cpp.

◆ GetSE()

virtual wxString PlugInChartBase::GetSE ( )
inlinevirtual

Definition at line 320 of file ocpn_plugin.h.

◆ GetSize_X()

int PlugInChartBase::GetSize_X ( )
virtual

Definition at line 1252 of file api_shim.cpp.

◆ GetSize_Y()

int PlugInChartBase::GetSize_Y ( )
virtual

Definition at line 1253 of file api_shim.cpp.

◆ GetSoundingsDatum()

virtual wxString PlugInChartBase::GetSoundingsDatum ( )
inlinevirtual

Definition at line 322 of file ocpn_plugin.h.

◆ GetThumbnail()

wxBitmap * PlugInChartBase::GetThumbnail ( int  tnx,
int  tny,
int  cs 
)
virtual

Definition at line 1241 of file api_shim.cpp.

◆ GetValidCanvasRegion()

void PlugInChartBase::GetValidCanvasRegion ( const PlugIn_ViewPort VPoint,
wxRegion *  pValidRegion 
)
virtual

Definition at line 1238 of file api_shim.cpp.

◆ Init()

int PlugInChartBase::Init ( const wxString &  full_path,
int  init_flags 
)
virtual

Definition at line 1208 of file api_shim.cpp.

◆ IsReadyToRender()

virtual bool PlugInChartBase::IsReadyToRender ( )
inlinevirtual

Definition at line 328 of file ocpn_plugin.h.

◆ latlong_to_chartpix()

void PlugInChartBase::latlong_to_chartpix ( double  lat,
double  lon,
double &  pixx,
double &  pixy 
)
virtual

Definition at line 1254 of file api_shim.cpp.

◆ RenderRegionView()

wxBitmap & PlugInChartBase::RenderRegionView ( const PlugIn_ViewPort VPoint,
const wxRegion &  Region 
)
virtual

Definition at line 1228 of file api_shim.cpp.

◆ SetColorScheme()

void PlugInChartBase::SetColorScheme ( int  cs,
bool  bApplyImmediate 
)
virtual

Definition at line 1211 of file api_shim.cpp.

Member Data Documentation

◆ m_bReadyToRender

bool PlugInChartBase::m_bReadyToRender
protected

Definition at line 355 of file ocpn_plugin.h.

◆ m_Chart_Error_Factor

double PlugInChartBase::m_Chart_Error_Factor
protected

Definition at line 369 of file ocpn_plugin.h.

◆ m_Chart_Scale

int PlugInChartBase::m_Chart_Scale
protected

Definition at line 351 of file ocpn_plugin.h.

◆ m_Chart_Skew

double PlugInChartBase::m_Chart_Skew
protected

Definition at line 352 of file ocpn_plugin.h.

◆ m_ChartFamily

ChartFamilyEnumPI PlugInChartBase::m_ChartFamily
protected

Definition at line 347 of file ocpn_plugin.h.

◆ m_ChartType

ChartTypeEnumPI PlugInChartBase::m_ChartType
protected

Definition at line 346 of file ocpn_plugin.h.

◆ m_datum_str

wxString PlugInChartBase::m_datum_str
protected

Definition at line 362 of file ocpn_plugin.h.

◆ m_depth_unit_id

ChartDepthUnitTypePI PlugInChartBase::m_depth_unit_id
protected

Definition at line 367 of file ocpn_plugin.h.

◆ m_DepthUnits

wxString PlugInChartBase::m_DepthUnits
protected

Definition at line 364 of file ocpn_plugin.h.

◆ m_Description

wxString PlugInChartBase::m_Description
protected

Definition at line 358 of file ocpn_plugin.h.

◆ m_EdDate

wxDateTime PlugInChartBase::m_EdDate
protected

Definition at line 354 of file ocpn_plugin.h.

◆ m_ExtraInfo

wxString PlugInChartBase::m_ExtraInfo
protected

Definition at line 365 of file ocpn_plugin.h.

◆ m_FullPath

wxString PlugInChartBase::m_FullPath
protected

Definition at line 349 of file ocpn_plugin.h.

◆ m_ID

wxString PlugInChartBase::m_ID
protected

Definition at line 359 of file ocpn_plugin.h.

◆ m_Name

wxString PlugInChartBase::m_Name
protected

Definition at line 357 of file ocpn_plugin.h.

◆ m_projection

OcpnProjTypePI PlugInChartBase::m_projection
protected

Definition at line 350 of file ocpn_plugin.h.

◆ m_PubYear

wxString PlugInChartBase::m_PubYear
protected

Definition at line 363 of file ocpn_plugin.h.

◆ m_SE

wxString PlugInChartBase::m_SE
protected

Definition at line 360 of file ocpn_plugin.h.

◆ m_SoundingsDatum

wxString PlugInChartBase::m_SoundingsDatum
protected

Definition at line 361 of file ocpn_plugin.h.


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