|
wxPoint | GetPixFromLL (double lat, double lon) |
|
void | GetLLFromPix (const wxPoint &p, double *lat, double *lon) |
|
void | GetLLFromPix (const wxPoint2DDouble &p, double *lat, double *lon) |
|
wxPoint2DDouble | GetDoublePixFromLL (double lat, double lon) |
|
LLRegion | GetLLRegion (const OCPNRegion ®ion) |
|
OCPNRegion | GetVPRegionIntersect (const OCPNRegion ®ion, const LLRegion &llregion, int chart_native_scale) |
|
OCPNRegion | GetVPRegionIntersect (const OCPNRegion &Region, int nPoints, float *llpoints, int chart_native_scale, wxPoint *ppoints) |
|
wxRect | GetVPRectIntersect (size_t n, float *llpoints) |
|
ViewPort | BuildExpandedVP (int width, int height) |
|
void | SetBoxes (void) |
|
void | PixelScale (float factor) |
|
void | Invalidate () |
|
void | Validate () |
|
bool | IsValid () const |
|
void | SetRotationAngle (double angle_rad) |
|
void | SetProjectionType (int type) |
|
LLBBox & | GetBBox () |
|
void | SetBBoxDirect (const LLBBox &bbox) |
|
void | SetBBoxDirect (double latmin, double lonmin, double latmax, double lonmax) |
|
void | InvalidateTransformCache () |
|
bool | operator== (const ViewPort &rhs) const |
|
Definition at line 81 of file viewport.h.
◆ ViewPort()
◆ BuildExpandedVP()
ViewPort ViewPort::BuildExpandedVP |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ GetBBox()
LLBBox & ViewPort::GetBBox |
( |
| ) |
|
|
inline |
◆ GetDoublePixFromLL()
wxPoint2DDouble ViewPort::GetDoublePixFromLL |
( |
double |
lat, |
|
|
double |
lon |
|
) |
| |
◆ GetLLFromPix() [1/2]
void ViewPort::GetLLFromPix |
( |
const wxPoint & |
p, |
|
|
double * |
lat, |
|
|
double * |
lon |
|
) |
| |
|
inline |
◆ GetLLFromPix() [2/2]
void ViewPort::GetLLFromPix |
( |
const wxPoint2DDouble & |
p, |
|
|
double * |
lat, |
|
|
double * |
lon |
|
) |
| |
◆ GetLLRegion()
LLRegion ViewPort::GetLLRegion |
( |
const OCPNRegion & |
region | ) |
|
◆ GetPixFromLL()
wxPoint ViewPort::GetPixFromLL |
( |
double |
lat, |
|
|
double |
lon |
|
) |
| |
◆ GetVPRectIntersect()
wxRect ViewPort::GetVPRectIntersect |
( |
size_t |
n, |
|
|
float * |
llpoints |
|
) |
| |
◆ GetVPRegionIntersect() [1/2]
OCPNRegion ViewPort::GetVPRegionIntersect |
( |
const OCPNRegion & |
region, |
|
|
const LLRegion & |
llregion, |
|
|
int |
chart_native_scale |
|
) |
| |
◆ GetVPRegionIntersect() [2/2]
OCPNRegion ViewPort::GetVPRegionIntersect |
( |
const OCPNRegion & |
Region, |
|
|
int |
nPoints, |
|
|
float * |
llpoints, |
|
|
int |
chart_native_scale, |
|
|
wxPoint * |
ppoints |
|
) |
| |
◆ Invalidate()
void ViewPort::Invalidate |
( |
| ) |
|
|
inline |
◆ InvalidateTransformCache()
void ViewPort::InvalidateTransformCache |
( |
| ) |
|
|
inline |
◆ IsValid()
bool ViewPort::IsValid |
( |
| ) |
const |
|
inline |
◆ operator==()
bool ViewPort::operator== |
( |
const ViewPort & |
rhs | ) |
const |
|
inline |
◆ PixelScale()
void ViewPort::PixelScale |
( |
float |
factor | ) |
|
◆ SetBBoxDirect() [1/2]
void ViewPort::SetBBoxDirect |
( |
const LLBBox & |
bbox | ) |
|
|
inline |
◆ SetBBoxDirect() [2/2]
void ViewPort::SetBBoxDirect |
( |
double |
latmin, |
|
|
double |
lonmin, |
|
|
double |
latmax, |
|
|
double |
lonmax |
|
) |
| |
◆ SetBoxes()
void ViewPort::SetBoxes |
( |
void |
| ) |
|
◆ SetProjectionType()
void ViewPort::SetProjectionType |
( |
int |
type | ) |
|
|
inline |
◆ SetRotationAngle()
void ViewPort::SetRotationAngle |
( |
double |
angle_rad | ) |
|
|
inline |
◆ Validate()
void ViewPort::Validate |
( |
| ) |
|
|
inline |
◆ b_FullScreenQuilt
bool ViewPort::b_FullScreenQuilt |
◆ b_MercatorProjectionOverride
bool ViewPort::b_MercatorProjectionOverride |
◆ b_quilt
◆ chart_scale
double ViewPort::chart_scale |
◆ clat
◆ clon
◆ m_projection_type
int ViewPort::m_projection_type |
◆ norm_transform
float ViewPort::norm_transform[16] |
◆ pix_height
◆ pix_width
◆ ref_scale
double ViewPort::ref_scale |
◆ rotation
double ViewPort::rotation |
◆ rv_rect
◆ skew
◆ tilt
◆ view_scale_ppm
double ViewPort::view_scale_ppm |
◆ vp_matrix_transform
float ViewPort::vp_matrix_transform[16] |
The documentation for this class was generated from the following files: