OpenCPN Partial API docs
|
Contains view parameters and status information for a chart display viewport. More...
#include <ocpn_plugin.h>
Public Attributes | |
double | clat |
Center latitude of the viewport in decimal degrees. | |
double | clon |
Center longitude of the viewport in decimal degrees. | |
double | view_scale_ppm |
Display scale in pixels per meter. | |
double | skew |
Display skew angle in radians. | |
double | rotation |
Display rotation angle in radians. | |
float | chart_scale |
Conventional chart displayed scale (e.g., 1:50000) | |
int | pix_width |
Viewport width in pixels. | |
int | pix_height |
Viewport height in pixels. | |
wxRect | rv_rect |
Rectangle defining the rendered view area. | |
bool | b_quilt |
True if the viewport is in quilt mode (showing multiple charts) | |
int | m_projection_type |
Chart projection type (PROJECTION_MERCATOR, etc.) | |
double | lat_min |
Minimum latitude of the viewport. | |
double | lat_max |
Maximum latitude of the viewport. | |
double | lon_min |
Minimum longitude of the viewport. | |
double | lon_max |
Maximum longitude of the viewport. | |
bool | bValid |
True if this viewport is valid and can be used for rendering. | |
Contains view parameters and status information for a chart display viewport.
Definition at line 238 of file ocpn_plugin.h.
bool PlugIn_ViewPort::b_quilt |
True if the viewport is in quilt mode (showing multiple charts)
Definition at line 251 of file ocpn_plugin.h.
bool PlugIn_ViewPort::bValid |
True if this viewport is valid and can be used for rendering.
Definition at line 261 of file ocpn_plugin.h.
float PlugIn_ViewPort::chart_scale |
Conventional chart displayed scale (e.g., 1:50000)
Definition at line 246 of file ocpn_plugin.h.
double PlugIn_ViewPort::clat |
Center latitude of the viewport in decimal degrees.
Definition at line 240 of file ocpn_plugin.h.
double PlugIn_ViewPort::clon |
Center longitude of the viewport in decimal degrees.
Definition at line 241 of file ocpn_plugin.h.
double PlugIn_ViewPort::lat_max |
Maximum latitude of the viewport.
Definition at line 256 of file ocpn_plugin.h.
double PlugIn_ViewPort::lat_min |
Minimum latitude of the viewport.
Definition at line 255 of file ocpn_plugin.h.
double PlugIn_ViewPort::lon_max |
Maximum longitude of the viewport.
Definition at line 258 of file ocpn_plugin.h.
double PlugIn_ViewPort::lon_min |
Minimum longitude of the viewport.
Definition at line 257 of file ocpn_plugin.h.
int PlugIn_ViewPort::m_projection_type |
Chart projection type (PROJECTION_MERCATOR, etc.)
Definition at line 253 of file ocpn_plugin.h.
int PlugIn_ViewPort::pix_height |
Viewport height in pixels.
Definition at line 249 of file ocpn_plugin.h.
int PlugIn_ViewPort::pix_width |
Viewport width in pixels.
Definition at line 248 of file ocpn_plugin.h.
double PlugIn_ViewPort::rotation |
Display rotation angle in radians.
Definition at line 244 of file ocpn_plugin.h.
wxRect PlugIn_ViewPort::rv_rect |
Rectangle defining the rendered view area.
Definition at line 250 of file ocpn_plugin.h.
double PlugIn_ViewPort::skew |
Display skew angle in radians.
Definition at line 243 of file ocpn_plugin.h.
double PlugIn_ViewPort::view_scale_ppm |
Display scale in pixels per meter.
Definition at line 242 of file ocpn_plugin.h.