OpenCPN Partial API docs
|
Public Member Functions | |
void | FreeLineCacheRows (int start=0, int end=-1) |
bool | HaveLineCacheRow (int row) |
virtual ThumbData * | GetThumbData (int tnx, int tny, float lat, float lon) |
virtual ThumbData * | GetThumbData () |
virtual bool | UpdateThumbData (double lat, double lon) |
int | GetNativeScale () |
double | GetNormalScaleMin (double canvas_scale_factor, bool b_allow_overzoom) |
double | GetNormalScaleMax (double canvas_scale_factor, int canvas_width) |
virtual InitReturn | Init (const wxString &name, ChartInitFlag init_flags) |
virtual int | latlong_to_pix_vp (double lat, double lon, double &pixx, double &pixy, ViewPort &vp) |
virtual int | vp_pix_to_latlong (ViewPort &vp, double pixx, double pixy, double *lat, double *lon) |
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 double | GetNearestPreferredScalePPM (double target_scale_ppm) |
virtual void | GetValidCanvasRegion (const ViewPort &VPoint, OCPNRegion *pValidRegion) |
virtual LLRegion | GetValidRegion () |
virtual bool | GetChartExtent (Extent *pext) |
void | SetColorScheme (ColorScheme cs, bool bApplyImmediate) |
wxImage * | GetImage () |
void | SetVPRasterParms (const ViewPort &vpt) |
virtual void | ComputeSourceRectangle (const ViewPort &vp, wxRect *pSourceRect) |
virtual double | GetRasterScaleFactor (const ViewPort &vp) |
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) |
double | GetPPM () |
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) |
Protected Member Functions | |
wxRect | GetSourceRect () |
virtual bool | GetAndScaleData (unsigned char *ppn, size_t data_size, wxRect &source, int source_stride, wxRect &dest, int dest_stride, double scale_factor, ScaleTypeEnum scale_type) |
bool | RenderViewOnDC (wxMemoryDC &dc, const ViewPort &VPoint) |
bool | IsCacheValid () |
void | InvalidateCache () |
bool | IsRenderCacheable (wxRect &source, wxRect &dest) |
void | CreatePaletteEntry (char *buffer, int palette_index) |
PaletteDir | GetPaletteDir (void) |
int * | GetPalettePtr (BSB_Color_Capability) |
double | GetClosestValidNaturalScalePPM (double target_scale, double scale_factor_min, double scale_factor_max) |
virtual void | InvalidateLineCache () |
virtual bool | CreateLineIndex (void) |
virtual wxBitmap * | CreateThumbnail (int tnx, int tny, ColorScheme cs) |
virtual int | BSBGetScanline (unsigned char *pLineBuf, int y, int xs, int xl, int sub_samp) |
bool | GetViewUsingCache (wxRect &source, wxRect &dest, const OCPNRegion &Region, ScaleTypeEnum scale_type) |
bool | GetView (wxRect &source, wxRect &dest, ScaleTypeEnum scale_type) |
virtual int | BSBScanScanline (wxInputStream *pinStream) |
virtual int | ReadBSBHdrLine (wxInputStream *, char *, int) |
virtual int | AnalyzeRefpoints (bool b_testSolution=true) |
virtual bool | AnalyzeSkew (void) |
virtual bool | SetMinMax (void) |
InitReturn | PreInit (const wxString &name, ChartInitFlag init_flags, ColorScheme cs) |
InitReturn | PostInit (void) |
double | AdjustLongitude (double lon) |
Definition at line 119 of file chartimg.h.
ChartBaseBSB::ChartBaseBSB | ( | ) |
Definition at line 1525 of file chartimg.cpp.
|
virtual |
Definition at line 1593 of file chartimg.cpp.
|
protected |
Definition at line 5066 of file chartimg.cpp.
Implements ChartBase.
Definition at line 2849 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 4538 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 4345 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 3940 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 3836 of file chartimg.cpp.
|
virtual |
Definition at line 2731 of file chartimg.cpp.
|
virtual |
Definition at line 2798 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 1984 of file chartimg.cpp.
|
protected |
Definition at line 1732 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 2197 of file chartimg.cpp.
void ChartBaseBSB::FreeLineCacheRows | ( | int | start = 0 , |
int | end = -1 |
||
) |
Definition at line 1628 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 3411 of file chartimg.cpp.
|
virtual |
Definition at line 3700 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 2042 of file chartimg.cpp.
|
protected |
Definition at line 1678 of file chartimg.cpp.
wxImage * ChartBaseBSB::GetImage | ( | ) |
Definition at line 3354 of file chartimg.cpp.
|
inlinevirtual |
Reimplemented from ChartBase.
Definition at line 133 of file chartimg.h.
|
virtual |
Implements ChartBase.
Definition at line 1672 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 1666 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 1656 of file chartimg.cpp.
|
protected |
Definition at line 4333 of file chartimg.cpp.
|
protected |
Definition at line 4323 of file chartimg.cpp.
|
inline |
Definition at line 178 of file chartimg.h.
|
virtual |
Definition at line 2816 of file chartimg.cpp.
|
inlinevirtual |
Definition at line 170 of file chartimg.h.
|
inlinevirtual |
Definition at line 171 of file chartimg.h.
|
inlineprotected |
Definition at line 183 of file chartimg.h.
|
inlinevirtual |
Implements ChartBase.
Definition at line 130 of file chartimg.h.
|
virtual |
Implements ChartBase.
Definition at line 2290 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 2914 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 2935 of file chartimg.cpp.
|
protected |
Definition at line 3373 of file chartimg.cpp.
|
protected |
Definition at line 2956 of file chartimg.cpp.
bool ChartBaseBSB::HaveLineCacheRow | ( | int | row | ) |
Definition at line 1645 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 1721 of file chartimg.cpp.
|
inlineprotected |
Definition at line 192 of file chartimg.h.
|
protectedvirtual |
Definition at line 2026 of file chartimg.cpp.
|
inlineprotected |
Definition at line 191 of file chartimg.h.
|
protected |
Definition at line 2888 of file chartimg.cpp.
|
virtual |
Definition at line 2664 of file chartimg.cpp.
|
virtual |
Definition at line 2506 of file chartimg.cpp.
|
protected |
Definition at line 1759 of file chartimg.cpp.
|
protected |
Definition at line 1726 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 3766 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 3185 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 3178 of file chartimg.cpp.
|
protected |
Definition at line 3164 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 2162 of file chartimg.cpp.
|
protectedvirtual |
Definition at line 2051 of file chartimg.cpp.
void ChartBaseBSB::SetVPRasterParms | ( | const ViewPort & | vpt | ) |
Definition at line 2822 of file chartimg.cpp.
|
virtual |
Implements ChartBase.
Definition at line 2324 of file chartimg.cpp.
|
virtual |
Definition at line 2360 of file chartimg.cpp.
|
protected |
Definition at line 304 of file chartimg.h.
|
protected |
Definition at line 284 of file chartimg.h.
|
protected |
Definition at line 294 of file chartimg.h.
|
protected |
Definition at line 247 of file chartimg.h.
|
protected |
Definition at line 248 of file chartimg.h.
|
protected |
Definition at line 250 of file chartimg.h.
|
protected |
Definition at line 249 of file chartimg.h.
|
protected |
Definition at line 279 of file chartimg.h.
|
protected |
Definition at line 267 of file chartimg.h.
|
protected |
Definition at line 271 of file chartimg.h.
|
protected |
Definition at line 272 of file chartimg.h.
|
protected |
Definition at line 273 of file chartimg.h.
|
protected |
Definition at line 275 of file chartimg.h.
|
protected |
Definition at line 265 of file chartimg.h.
|
protected |
Definition at line 274 of file chartimg.h.
|
protected |
Definition at line 266 of file chartimg.h.
|
protected |
Definition at line 241 of file chartimg.h.
|
protected |
Definition at line 310 of file chartimg.h.
|
protected |
Definition at line 240 of file chartimg.h.
|
protected |
Definition at line 292 of file chartimg.h.
|
protected |
Definition at line 239 of file chartimg.h.
|
protected |
Definition at line 251 of file chartimg.h.
|
protected |
Definition at line 232 of file chartimg.h.
|
protected |
Definition at line 233 of file chartimg.h.
|
protected |
Definition at line 316 of file chartimg.h.
|
protected |
Definition at line 243 of file chartimg.h.
|
protected |
Definition at line 244 of file chartimg.h.
|
protected |
Definition at line 245 of file chartimg.h.
|
protected |
Definition at line 236 of file chartimg.h.
|
protected |
Definition at line 237 of file chartimg.h.
|
protected |
Definition at line 317 of file chartimg.h.
|
protected |
Definition at line 308 of file chartimg.h.
|
protected |
Definition at line 252 of file chartimg.h.
|
protected |
Definition at line 298 of file chartimg.h.
|
protected |
Definition at line 299 of file chartimg.h.
|
protected |
Definition at line 296 of file chartimg.h.
|
protected |
Definition at line 297 of file chartimg.h.
|
protected |
Definition at line 288 of file chartimg.h.
|
protected |
Definition at line 277 of file chartimg.h.
|
protected |
Definition at line 306 of file chartimg.h.
|
protected |
Definition at line 312 of file chartimg.h.
|
protected |
Definition at line 312 of file chartimg.h.
|
protected |
Definition at line 234 of file chartimg.h.
|
protected |
Definition at line 255 of file chartimg.h.
|
protected |
Definition at line 314 of file chartimg.h.
|
protected |
Definition at line 283 of file chartimg.h.
|
protected |
Definition at line 283 of file chartimg.h.
|
protected |
Definition at line 283 of file chartimg.h.
|
protected |
Definition at line 283 of file chartimg.h.
|
protected |
Definition at line 260 of file chartimg.h.
|
protected |
Definition at line 276 of file chartimg.h.
|
protected |
Definition at line 257 of file chartimg.h.
|
protected |
Definition at line 302 of file chartimg.h.
|
protected |
Definition at line 269 of file chartimg.h.
|
protected |
Definition at line 261 of file chartimg.h.
|
protected |
Definition at line 263 of file chartimg.h.
|
protected |
Definition at line 301 of file chartimg.h.
|
protected |
Definition at line 286 of file chartimg.h.
|
protected |
Definition at line 228 of file chartimg.h.
|
protected |
Definition at line 258 of file chartimg.h.
|
protected |
Definition at line 281 of file chartimg.h.
|
protected |
Definition at line 282 of file chartimg.h.
|
protected |
Definition at line 281 of file chartimg.h.
|
protected |
Definition at line 282 of file chartimg.h.
|
protected |
Definition at line 254 of file chartimg.h.
|
protected |
Definition at line 230 of file chartimg.h.
|
protected |
Definition at line 231 of file chartimg.h.
|
protected |
Definition at line 281 of file chartimg.h.
|
protected |
Definition at line 282 of file chartimg.h.
|
protected |
Definition at line 281 of file chartimg.h.
|
protected |
Definition at line 282 of file chartimg.h.