OpenCPN Partial API docs
|
Public Member Functions | |
virtual InitReturn | Init (const wxString &name, ChartInitFlag flags) |
virtual ThumbData * | GetThumbData (int tnx, int tny, float lat, float lon) |
virtual ThumbData * | GetThumbData () |
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 ThumbData * | GetThumbData (int tnx, int tny, float lat, float lon)=0 |
virtual ThumbData * | GetThumbData ()=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) |
Static Public Member Functions | |
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 | |
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 | |
void | AssembleLineGeometry (void) |
Protected Attributes | |
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 |
ThumbData * | pThumbData |
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 |
Definition at line 115 of file s57chart.h.
s57chart::s57chart | ( | ) |
Definition at line 225 of file s57chart.cpp.
s57chart::~s57chart | ( | ) |
Definition at line 285 of file s57chart.cpp.
int s57chart::_insertRules | ( | S57Obj * | obj, |
LUPrec * | LUP, | ||
s57chart * | pOwner | ||
) |
Definition at line 4213 of file s57chart.cpp.
Implements ChartBase.
Definition at line 614 of file s57chart.cpp.
|
protected |
Definition at line 993 of file s57chart.cpp.
|
virtual |
Definition at line 2788 of file s57chart.cpp.
int s57chart::BuildRAZFromSENCFile | ( | const wxString & | SENCPath | ) |
Definition at line 3961 of file s57chart.cpp.
wxString s57chart::buildSENCName | ( | const wxString & | name | ) |
Definition at line 2524 of file s57chart.cpp.
|
virtual |
Definition at line 2779 of file s57chart.cpp.
void s57chart::ClearRenderedTextCache | ( | ) |
Definition at line 511 of file s57chart.cpp.
Definition at line 5434 of file s57chart.cpp.
wxString s57chart::CreateObjDescriptions | ( | ListOfObjRazRules * | rule | ) |
Definition at line 5475 of file s57chart.cpp.
|
inline |
Definition at line 279 of file s57chart.h.
bool s57chart::DoesLatLonSelectObject | ( | float | lat, |
float | lon, | ||
float | select_radius, | ||
S57Obj * | obj | ||
) |
Definition at line 4733 of file s57chart.cpp.
|
inline |
Definition at line 280 of file s57chart.h.
int s57chart::FindOrCreateSenc | ( | const wxString & | name, |
bool | b_progress = true |
||
) |
Definition at line 2561 of file s57chart.cpp.
|
virtual |
Definition at line 755 of file s57chart.cpp.
|
inlinevirtual |
Definition at line 206 of file s57chart.h.
|
inlinevirtual |
Definition at line 203 of file s57chart.h.
|
virtual |
Definition at line 3353 of file s57chart.cpp.
|
static |
Definition at line 4901 of file s57chart.cpp.
|
static |
Definition at line 5290 of file s57chart.cpp.
|
inline |
Definition at line 216 of file s57chart.h.
|
virtual |
Implements ChartBase.
Definition at line 452 of file s57chart.cpp.
|
static |
Definition at line 3419 of file s57chart.cpp.
wxString s57chart::GetISDT | ( | void | ) |
Definition at line 3817 of file s57chart.cpp.
|
virtual |
Definition at line 4506 of file s57chart.cpp.
|
inline |
Definition at line 212 of file s57chart.h.
|
inlinevirtual |
Reimplemented from ChartBase.
Definition at line 128 of file s57chart.h.
|
inlinevirtual |
Implements ChartBase.
Definition at line 165 of file s57chart.h.
bool s57chart::GetNearestSafeContour | ( | double | safe_cnt, |
double & | next_safe_cnt | ||
) |
Definition at line 3326 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 548 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 541 of file s57chart.cpp.
wxString s57chart::GetObjectAttributeValueAsString | ( | S57Obj * | obj, |
int | iatt, | ||
wxString | curAttrName | ||
) |
Definition at line 5139 of file s57chart.cpp.
|
virtual |
Definition at line 4612 of file s57chart.cpp.
|
virtual |
Definition at line 575 of file s57chart.cpp.
|
virtual |
Definition at line 557 of file s57chart.cpp.
|
virtual |
Definition at line 565 of file s57chart.cpp.
|
inlinevirtual |
Implements ChartBase.
Definition at line 125 of file s57chart.h.
|
virtual |
Implements ChartBase.
Definition at line 697 of file s57chart.cpp.
|
static |
Definition at line 3505 of file s57chart.cpp.
|
inline |
Definition at line 269 of file s57chart.h.
|
virtual |
Implements ChartBase.
Definition at line 347 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 374 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 2410 of file s57chart.cpp.
|
virtual |
Definition at line 2860 of file s57chart.cpp.
|
inlinevirtual |
Definition at line 255 of file s57chart.h.
|
static |
Definition at line 2400 of file s57chart.cpp.
bool s57chart::IsPointInObjArea | ( | float | lat, |
float | lon, | ||
float | select_radius, | ||
S57Obj * | obj | ||
) |
Definition at line 4966 of file s57chart.cpp.
InitReturn s57chart::PostInit | ( | ChartInitFlag | flags, |
ColorScheme | cs | ||
) |
Definition at line 2725 of file s57chart.cpp.
|
virtual |
Definition at line 1844 of file s57chart.cpp.
|
virtual |
Definition at line 1455 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 1837 of file s57chart.cpp.
|
virtual |
Definition at line 1777 of file s57chart.cpp.
|
virtual |
Definition at line 1790 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 1446 of file s57chart.cpp.
|
virtual |
Definition at line 1464 of file s57chart.cpp.
|
virtual |
Definition at line 1937 of file s57chart.cpp.
|
virtual |
Definition at line 1478 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 381 of file s57chart.cpp.
void s57chart::SetFullExtent | ( | Extent & | ext | ) |
Definition at line 746 of file s57chart.cpp.
|
inline |
Definition at line 134 of file s57chart.h.
|
virtual |
Definition at line 601 of file s57chart.cpp.
|
virtual |
Definition at line 4370 of file s57chart.cpp.
|
virtual |
Implements ChartBase.
Definition at line 710 of file s57chart.cpp.
int s57chart::ValidateAndCountUpdates | ( | const wxFileName | file000, |
const wxString | CopyDir, | ||
wxString & | LastUpdateDate, | ||
bool | b_copyfiles | ||
) |
Definition at line 3664 of file s57chart.cpp.
bool s57chart::m_b2lineLUPS |
Definition at line 273 of file s57chart.h.
bool s57chart::m_b2pointLUPS |
Definition at line 272 of file s57chart.h.
bool s57chart::m_bExtentSet |
Definition at line 242 of file s57chart.h.
bool s57chart::m_bLinePrioritySet |
Definition at line 243 of file s57chart.h.
double s57chart::m_easting_vp_center |
Definition at line 246 of file s57chart.h.
Extent s57chart::m_FullExtent |
Definition at line 241 of file s57chart.h.
OCPNRegion s57chart::m_last_Region |
Definition at line 253 of file s57chart.h.
ViewPort s57chart::m_last_vp |
Definition at line 252 of file s57chart.h.
double s57chart::m_LOD_meters |
Definition at line 240 of file s57chart.h.
double s57chart::m_northing_vp_center |
Definition at line 246 of file s57chart.h.
double s57chart::m_pixx_vp_center |
Definition at line 247 of file s57chart.h.
double s57chart::m_pixy_vp_center |
Definition at line 247 of file s57chart.h.
bool s57chart::m_RAZBuilt |
Definition at line 274 of file s57chart.h.
SENCThreadStatus s57chart::m_SENCthreadStatus |
Definition at line 282 of file s57chart.h.
chart_context* s57chart::m_this_chart_context |
Definition at line 276 of file s57chart.h.
double s57chart::m_view_scale_ppm |
Definition at line 248 of file s57chart.h.
wxArrayPtrVoid* s57chart::pFloatingATONArray |
Definition at line 236 of file s57chart.h.
wxArrayPtrVoid* s57chart::pRigidATONArray |
Definition at line 237 of file s57chart.h.
|
protected |
Definition at line 287 of file s57chart.h.
double s57chart::ref_lat |
Definition at line 239 of file s57chart.h.
double s57chart::ref_lon |
Definition at line 239 of file s57chart.h.
|
protected |
Definition at line 398 of file s57chart.h.