OpenCPN Partial API docs
Loading...
Searching...
No Matches
PlugIn_ViewPort Class Reference

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.
 

Detailed Description

Contains view parameters and status information for a chart display viewport.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 193 of file ocpn_plugin.h.

Member Data Documentation

◆ b_quilt

bool PlugIn_ViewPort::b_quilt

True if the viewport is in quilt mode (showing multiple charts)

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 206 of file ocpn_plugin.h.

◆ bValid

bool PlugIn_ViewPort::bValid

True if this viewport is valid and can be used for rendering.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 216 of file ocpn_plugin.h.

◆ chart_scale

float PlugIn_ViewPort::chart_scale

Conventional chart displayed scale (e.g., 1:50000)

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 201 of file ocpn_plugin.h.

◆ clat

double PlugIn_ViewPort::clat

Center latitude of the viewport in decimal degrees.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 195 of file ocpn_plugin.h.

◆ clon

double PlugIn_ViewPort::clon

Center longitude of the viewport in decimal degrees.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 196 of file ocpn_plugin.h.

◆ lat_max

double PlugIn_ViewPort::lat_max

Maximum latitude of the viewport.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 211 of file ocpn_plugin.h.

◆ lat_min

double PlugIn_ViewPort::lat_min

Minimum latitude of the viewport.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 210 of file ocpn_plugin.h.

◆ lon_max

double PlugIn_ViewPort::lon_max

Maximum longitude of the viewport.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 213 of file ocpn_plugin.h.

◆ lon_min

double PlugIn_ViewPort::lon_min

Minimum longitude of the viewport.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 212 of file ocpn_plugin.h.

◆ m_projection_type

int PlugIn_ViewPort::m_projection_type

Chart projection type (PROJECTION_MERCATOR, etc.)

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 208 of file ocpn_plugin.h.

◆ pix_height

int PlugIn_ViewPort::pix_height

Viewport height in pixels.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 204 of file ocpn_plugin.h.

◆ pix_width

int PlugIn_ViewPort::pix_width

Viewport width in pixels.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 203 of file ocpn_plugin.h.

◆ rotation

double PlugIn_ViewPort::rotation

Display rotation angle in radians.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 199 of file ocpn_plugin.h.

◆ rv_rect

wxRect PlugIn_ViewPort::rv_rect

Rectangle defining the rendered view area.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 205 of file ocpn_plugin.h.

◆ skew

double PlugIn_ViewPort::skew

Display skew angle in radians.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 198 of file ocpn_plugin.h.

◆ view_scale_ppm

double PlugIn_ViewPort::view_scale_ppm

Display scale in pixels per meter.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 197 of file ocpn_plugin.h.


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