OpenCPN Partial API docs
Loading...
Searching...
No Matches
ChartDummy Class Reference
Inheritance diagram for ChartDummy:
ChartBase

Public Member Functions

virtual InitReturn Init (const wxString &name, ChartInitFlag init_flags)
 
virtual ThumbDataGetThumbData (int tnx, int tny, float lat, float lon)
 
virtual ThumbDataGetThumbData ()
 
virtual bool UpdateThumbData (double lat, double lon)
 
double GetNormalScaleMin (double canvas_scale_factor, bool b_allow_overzoom)
 
double GetNormalScaleMax (double canvas_scale_factor, int canvas_width)
 
virtual bool GetChartExtent (Extent *pext)
 
virtual 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 bool AdjustVP (ViewPort &vp_last, ViewPort &vp_proposed)
 
virtual void GetValidCanvasRegion (const ViewPort &VPoint, OCPNRegion *pValidRegion)
 
virtual LLRegion GetValidRegion ()
 
virtual void SetColorScheme (ColorScheme cs, bool bApplyImmediate)
 
virtual double GetNearestPreferredScalePPM (double target_scale_ppm)
 
- Public Member Functions inherited from ChartBase
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)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ChartDummy()

ChartDummy::ChartDummy ( )

Definition at line 210 of file chartimg.cpp.

◆ ~ChartDummy()

ChartDummy::~ChartDummy ( )
virtual

Definition at line 220 of file chartimg.cpp.

Member Function Documentation

◆ AdjustVP()

bool ChartDummy::AdjustVP ( ViewPort vp_last,
ViewPort vp_proposed 
)
virtual

Implements ChartBase.

Definition at line 280 of file chartimg.cpp.

◆ GetChartExtent()

bool ChartDummy::GetChartExtent ( Extent pext)
virtual

Implements ChartBase.

Definition at line 234 of file chartimg.cpp.

◆ GetNearestPreferredScalePPM()

virtual double ChartDummy::GetNearestPreferredScalePPM ( double  target_scale_ppm)
inlinevirtual

Implements ChartBase.

Definition at line 297 of file chartbase.h.

◆ GetNormalScaleMax()

double ChartDummy::GetNormalScaleMax ( double  canvas_scale_factor,
int  canvas_width 
)
inlinevirtual

Implements ChartBase.

Definition at line 275 of file chartbase.h.

◆ GetNormalScaleMin()

double ChartDummy::GetNormalScaleMin ( double  canvas_scale_factor,
bool  b_allow_overzoom 
)
inlinevirtual

Implements ChartBase.

Definition at line 272 of file chartbase.h.

◆ GetThumbData() [1/2]

virtual ThumbData * ChartDummy::GetThumbData ( )
inlinevirtual

Implements ChartBase.

Definition at line 269 of file chartbase.h.

◆ GetThumbData() [2/2]

ThumbData * ChartDummy::GetThumbData ( int  tnx,
int  tny,
float  lat,
float  lon 
)
virtual

Implements ChartBase.

Definition at line 228 of file chartimg.cpp.

◆ GetValidCanvasRegion()

void ChartDummy::GetValidCanvasRegion ( const ViewPort VPoint,
OCPNRegion pValidRegion 
)
virtual

Implements ChartBase.

Definition at line 284 of file chartimg.cpp.

◆ GetValidRegion()

LLRegion ChartDummy::GetValidRegion ( )
virtual

Implements ChartBase.

Definition at line 290 of file chartimg.cpp.

◆ Init()

InitReturn ChartDummy::Init ( const wxString &  name,
ChartInitFlag  init_flags 
)
virtual

Implements ChartBase.

Definition at line 222 of file chartimg.cpp.

◆ RenderRegionViewOnDC()

bool ChartDummy::RenderRegionViewOnDC ( wxMemoryDC &  dc,
const ViewPort VPoint,
const OCPNRegion Region 
)
virtual

Implements ChartBase.

Definition at line 250 of file chartimg.cpp.

◆ RenderRegionViewOnGL()

bool ChartDummy::RenderRegionViewOnGL ( const wxGLContext &  glc,
const ViewPort VPoint,
const OCPNRegion RectRegion,
const LLRegion &  Region 
)
virtual

Implements ChartBase.

Definition at line 243 of file chartimg.cpp.

◆ SetColorScheme()

void ChartDummy::SetColorScheme ( ColorScheme  cs,
bool  bApplyImmediate 
)
virtual

Implements ChartBase.

Definition at line 226 of file chartimg.cpp.

◆ UpdateThumbData()

bool ChartDummy::UpdateThumbData ( double  lat,
double  lon 
)
virtual

Implements ChartBase.

Definition at line 232 of file chartimg.cpp.


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