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

Public Member Functions

InitReturn Init (const wxString &name, ChartInitFlag flags)
 
void Activate (void)
 
void Deactivate (void)
 
double GetNormalScaleMin (double canvas_scale_factor, bool b_allow_overzoom)
 
double GetNormalScaleMax (double canvas_scale_factor, int canvas_width)
 
int GetNativeScale (void)
 
wxString GetPubDate ()
 
void SetVPParms (const ViewPort &vpt)
 
void GetValidCanvasRegion (const ViewPort &VPoint, OCPNRegion *pValidRegion)
 
LLRegion GetValidRegion ()
 
ThumbDataGetThumbData (int tnx, int tny, float lat, float lon)
 
ThumbDataGetThumbData ()
 
bool AdjustVP (ViewPort &vp_last, ViewPort &vp_proposed)
 
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)
 
void SetColorScheme (ColorScheme cs, bool bApplyImmediate)
 
bool RenderNextSmallerCellOutlines (ocpnDC &dc, ViewPort &vp, ChartCanvas *cc)
 
void GetPointPix (ObjRazRules *rzRules, float rlat, float rlon, wxPoint *r)
 
void GetPixPoint (int pixx, int pixy, double *plat, double *plon, ViewPort *vpt)
 
void GetPointPix (ObjRazRules *rzRules, wxPoint2DDouble *en, wxPoint *r, int nPoints)
 
ListOfObjRazRules * GetObjRuleListAtLatLon (float lat, float lon, float select_radius, ViewPort *VPoint, int selection_mask=MASK_ALL)
 
S57ObjectDescCreateObjDescription (const ObjRazRules *obj)
 
std::unordered_map< unsigned, VE_Element * > & Get_ve_hash (void)
 
std::unordered_map< unsigned, VC_Element * > & Get_vc_hash (void)
 
void UpdateLUPs (s57chart *pOwner)
 
void ForceEdgePriorityEvaluate (void)
 
std::list< S57Obj * > * GetAssociatedObjects (S57Obj *obj)
 
cm93chartGetCurrentSingleScaleChart ()
 
void SetSpecialOutlineCellIndex (int cell_index, int object_id, int subcell)
 
void SetSpecialCellIndexOffset (int cell_index, int object_id, int subcell, int xoff, int yoff)
 
void CloseandReopenCurrentSubchart (void)
 
void InvalidateCache ()
 
- Public Member Functions inherited from s57chart
virtual InitReturn Init (const wxString &name, ChartInitFlag flags)
 
virtual ThumbDataGetThumbData (int tnx, int tny, float lat, float lon)
 
virtual ThumbDataGetThumbData ()
 
bool UpdateThumbData (double lat, double lon)
 
virtual int GetNativeScale ()
 
virtual double GetNormalScaleMin (double canvas_scale_factor, bool b_allow_overzoom)
 
virtual double GetNormalScaleMax (double canvas_scale_factor, int canvas_width)
 
void SetNativeScale (int s)
 
virtual bool RenderRegionViewOnDC (wxMemoryDC &dc, const ViewPort &VPoint, const OCPNRegion &Region)
 
virtual bool RenderOverlayRegionViewOnDC (wxMemoryDC &dc, const ViewPort &VPoint, const OCPNRegion &Region)
 
virtual bool RenderRegionViewOnDCNoText (wxMemoryDC &dc, const ViewPort &VPoint, const OCPNRegion &Region)
 
virtual bool RenderRegionViewOnDCTextOnly (wxMemoryDC &dc, const ViewPort &VPoint, const OCPNRegion &Region)
 
virtual void GetValidCanvasRegion (const ViewPort &VPoint, OCPNRegion *pValidRegion)
 
virtual LLRegion GetValidRegion ()
 
virtual void GetPointPix (ObjRazRules *rzRules, float rlat, float rlon, wxPoint *r)
 
virtual void GetPointPix (ObjRazRules *rzRules, wxPoint2DDouble *en, wxPoint *r, int nPoints)
 
virtual void GetPixPoint (int pixx, int pixy, double *plat, double *plon, ViewPort *vpt)
 
virtual void SetVPParms (const ViewPort &vpt)
 
virtual bool AdjustVP (ViewPort &vp_last, ViewPort &vp_proposed)
 
virtual double GetNearestPreferredScalePPM (double target_scale_ppm)
 
void SetFullExtent (Extent &ext)
 
bool GetChartExtent (Extent *pext)
 
void SetColorScheme (ColorScheme cs, bool bApplyImmediate=true)
 
virtual void UpdateLUPs (s57chart *pOwner)
 
int _insertRules (S57Obj *obj, LUPrec *LUP, s57chart *pOwner)
 
virtual ListOfObjRazRules * GetObjRuleListAtLatLon (float lat, float lon, float select_radius, ViewPort *VPoint, int selection_mask=MASK_ALL)
 
bool DoesLatLonSelectObject (float lat, float lon, float select_radius, S57Obj *obj)
 
bool IsPointInObjArea (float lat, float lon, float select_radius, S57Obj *obj)
 
virtual ListOfObjRazRules * GetLightsObjRuleListVisibleAtLatLon (float lat, float lon, ViewPort *VPoint)
 
wxString GetObjectAttributeValueAsString (S57Obj *obj, int iatt, wxString curAttrName)
 
wxString CreateObjDescriptions (ListOfObjRazRules *rule)
 
int BuildRAZFromSENCFile (const wxString &SENCPath)
 
wxString buildSENCName (const wxString &name)
 
bool GetNearestSafeContour (double safe_cnt, double &next_safe_cnt)
 
virtual std::list< S57Obj * > * GetAssociatedObjects (S57Obj *obj)
 
virtual std::unordered_map< unsigned, VE_Element * > & Get_ve_hash (void)
 
virtual std::unordered_map< unsigned, VC_Element * > & Get_vc_hash (void)
 
virtual void ForceEdgePriorityEvaluate (void)
 
float * GetLineVertexBuffer (void)
 
void ClearRenderedTextCache ()
 
double GetCalculatedSafetyContour (void)
 
virtual bool RenderRegionViewOnGL (const wxGLContext &glc, const ViewPort &VPoint, const OCPNRegion &RectRegion, const LLRegion &Region)
 
virtual bool RenderOverlayRegionViewOnGL (const wxGLContext &glc, const ViewPort &VPoint, const OCPNRegion &RectRegion, const LLRegion &Region)
 
virtual bool RenderRegionViewOnGLNoText (const wxGLContext &glc, const ViewPort &VPoint, const OCPNRegion &RectRegion, const LLRegion &Region)
 
virtual bool RenderViewOnGLTextOnly (const wxGLContext &glc, const ViewPort &VPoint)
 
virtual bool IsCacheValid ()
 
virtual void InvalidateCache ()
 
virtual bool RenderViewOnDC (wxMemoryDC &dc, const ViewPort &VPoint)
 
virtual void ClearDepthContourArray (void)
 
virtual void BuildDepthContourArray (void)
 
int ValidateAndCountUpdates (const wxFileName file000, const wxString CopyDir, wxString &LastUpdateDate, bool b_copyfiles)
 
wxString GetISDT (void)
 
InitReturn PostInit (ChartInitFlag flags, ColorScheme cs)
 
char GetUsageChar (void)
 
int FindOrCreateSenc (const wxString &name, bool b_progress=true)
 
void DisableBackgroundSENC ()
 
void EnableBackgroundSENC ()
 
- 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

- Static Public Member Functions inherited from s57chart
static wxString GetAttributeValueAsString (S57attVal *pAttrVal, wxString AttrName)
 
static bool CompareLights (const S57Light *l1, const S57Light *l2)
 
static wxString GetAttributeDecode (wxString &att, int ival)
 
static void GetChartNameFromTXT (const wxString &FullPath, wxString &Name)
 
static int GetUpdateFileArray (const wxFileName file000, wxArrayString *UpFiles, wxDateTime date000, wxString edtn000)
 
static bool IsCellOverlayType (const wxString &pFullPath)
 
- Public Attributes inherited from s57chart
wxArrayPtrVoid * pFloatingATONArray
 
wxArrayPtrVoid * pRigidATONArray
 
double ref_lat
 
double ref_lon
 
double m_LOD_meters
 
Extent m_FullExtent
 
bool m_bExtentSet
 
bool m_bLinePrioritySet
 
double m_easting_vp_center
 
double m_northing_vp_center
 
double m_pixx_vp_center
 
double m_pixy_vp_center
 
double m_view_scale_ppm
 
ViewPort m_last_vp
 
OCPNRegion m_last_Region
 
bool m_b2pointLUPS
 
bool m_b2lineLUPS
 
bool m_RAZBuilt
 
chart_context * m_this_chart_context
 
SENCThreadStatus m_SENCthreadStatus
 
- Protected Member Functions inherited from s57chart
void AssembleLineGeometry (void)
 
- Protected Attributes inherited from s57chart
ObjRazRules * razRules [PRIO_NUM][LUPNAME_NUM]
 
sm_parms vp_transform
 
- 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 403 of file cm93.h.

Constructor & Destructor Documentation

◆ cm93compchart()

cm93compchart::cm93compchart ( )

Definition at line 4522 of file cm93.cpp.

◆ ~cm93compchart()

cm93compchart::~cm93compchart ( )

Definition at line 4551 of file cm93.cpp.

Member Function Documentation

◆ Activate()

void cm93compchart::Activate ( void  )
virtual

Reimplemented from ChartBase.

Definition at line 4633 of file cm93.cpp.

◆ AdjustVP()

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

Reimplemented from s57chart.

Definition at line 6097 of file cm93.cpp.

◆ CloseandReopenCurrentSubchart()

void cm93compchart::CloseandReopenCurrentSubchart ( void  )

Definition at line 6306 of file cm93.cpp.

◆ Deactivate()

void cm93compchart::Deactivate ( void  )
virtual

Reimplemented from ChartBase.

Definition at line 4660 of file cm93.cpp.

◆ ForceEdgePriorityEvaluate()

void cm93compchart::ForceEdgePriorityEvaluate ( void  )
virtual

Reimplemented from s57chart.

Definition at line 6031 of file cm93.cpp.

◆ Get_vc_hash()

std::unordered_map< unsigned, VC_Element * > & cm93compchart::Get_vc_hash ( void  )
virtual

Reimplemented from s57chart.

Definition at line 6093 of file cm93.cpp.

◆ Get_ve_hash()

std::unordered_map< unsigned, VE_Element * > & cm93compchart::Get_ve_hash ( void  )
virtual

Reimplemented from s57chart.

Definition at line 6089 of file cm93.cpp.

◆ GetAssociatedObjects()

std::list< S57Obj * > * cm93compchart::GetAssociatedObjects ( S57Obj *  obj)
virtual

Reimplemented from s57chart.

Definition at line 6018 of file cm93.cpp.

◆ GetCurrentSingleScaleChart()

cm93chart * cm93compchart::GetCurrentSingleScaleChart ( )
inline

Definition at line 457 of file cm93.h.

◆ GetNativeScale()

int cm93compchart::GetNativeScale ( void  )
virtual

Reimplemented from s57chart.

Definition at line 4961 of file cm93.cpp.

◆ GetNormalScaleMax()

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

Reimplemented from s57chart.

Definition at line 5012 of file cm93.cpp.

◆ GetNormalScaleMin()

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

Reimplemented from s57chart.

Definition at line 4968 of file cm93.cpp.

◆ GetObjRuleListAtLatLon()

ListOfObjRazRules * cm93compchart::GetObjRuleListAtLatLon ( float  lat,
float  lon,
float  select_radius,
ViewPort VPoint,
int  selection_mask = MASK_ALL 
)
virtual

Reimplemented from s57chart.

Definition at line 6047 of file cm93.cpp.

◆ GetPixPoint()

void cm93compchart::GetPixPoint ( int  pixx,
int  pixy,
double *  plat,
double *  plon,
ViewPort vpt 
)
virtual

Reimplemented from s57chart.

Definition at line 6007 of file cm93.cpp.

◆ GetPointPix() [1/2]

void cm93compchart::GetPointPix ( ObjRazRules *  rzRules,
float  rlat,
float  rlon,
wxPoint *  r 
)
virtual

Reimplemented from s57chart.

Definition at line 5997 of file cm93.cpp.

◆ GetPointPix() [2/2]

void cm93compchart::GetPointPix ( ObjRazRules *  rzRules,
wxPoint2DDouble *  en,
wxPoint *  r,
int  nPoints 
)
virtual

Reimplemented from s57chart.

Definition at line 6002 of file cm93.cpp.

◆ GetPubDate()

wxString cm93compchart::GetPubDate ( )
virtual

Reimplemented from ChartBase.

Definition at line 4950 of file cm93.cpp.

◆ GetThumbData() [1/2]

ThumbData * cm93compchart::GetThumbData ( )
inlinevirtual

Reimplemented from s57chart.

Definition at line 424 of file cm93.h.

◆ GetThumbData() [2/2]

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

Reimplemented from s57chart.

Definition at line 6151 of file cm93.cpp.

◆ GetValidCanvasRegion()

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

Reimplemented from s57chart.

Definition at line 5064 of file cm93.cpp.

◆ GetValidRegion()

LLRegion cm93compchart::GetValidRegion ( )
virtual

Reimplemented from s57chart.

Definition at line 5108 of file cm93.cpp.

◆ Init()

InitReturn cm93compchart::Init ( const wxString &  name,
ChartInitFlag  flags 
)
virtual

Reimplemented from s57chart.

Definition at line 4563 of file cm93.cpp.

◆ InvalidateCache()

void cm93compchart::InvalidateCache ( )
virtual

Reimplemented from s57chart.

Definition at line 6025 of file cm93.cpp.

◆ RenderNextSmallerCellOutlines()

bool cm93compchart::RenderNextSmallerCellOutlines ( ocpnDC dc,
ViewPort vp,
ChartCanvas cc 
)

defined(USE_ANDROID_GLES2) && !defined(ocpnUSE_GLSL)

Definition at line 5698 of file cm93.cpp.

◆ RenderRegionViewOnDC()

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

Reimplemented from s57chart.

Definition at line 5321 of file cm93.cpp.

◆ RenderRegionViewOnGL()

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

Reimplemented from s57chart.

Definition at line 5114 of file cm93.cpp.

◆ SetColorScheme()

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

Implements ChartBase.

Definition at line 6038 of file cm93.cpp.

◆ SetSpecialCellIndexOffset()

void cm93compchart::SetSpecialCellIndexOffset ( int  cell_index,
int  object_id,
int  subcell,
int  xoff,
int  yoff 
)

Definition at line 5688 of file cm93.cpp.

◆ SetSpecialOutlineCellIndex()

void cm93compchart::SetSpecialOutlineCellIndex ( int  cell_index,
int  object_id,
int  subcell 
)
inline

Definition at line 459 of file cm93.h.

◆ SetVPParms()

void cm93compchart::SetVPParms ( const ViewPort vpt)
virtual

Reimplemented from s57chart.

Definition at line 4728 of file cm93.cpp.

◆ UpdateLUPs()

void cm93compchart::UpdateLUPs ( s57chart pOwner)
virtual

Reimplemented from s57chart.

Definition at line 6012 of file cm93.cpp.


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