IsoLine.h.
More...
#include "wx/wxprec.h"
#include "wx/wx.h"
#include <wx/graphics.h>
#include "IsoLine.h"
#include "GribSettingsDialog.h"
#include "GribOverlayFactory.h"
#include <wx/listimpl.cpp>
Go to the source code of this file.
|
| WX_DEFINE_LIST (MySegList) |
|
| WX_DEFINE_LIST (MySegListList) |
|
void | CompOutCode (double x, double y, outcode *code, struct LOC_cohen_sutherland_line_clip *LINK) |
|
ClipResult | cohen_sutherland_line_clip_d (double *x0, double *y0, double *x1, double *y1, double xmin_, double xmax_, double ymin_, double ymax_) |
|
ClipResult | cohen_sutherland_line_clip_i (int *x0_, int *y0_, int *x1_, int *y1_, int xmin_, int xmax_, int ymin_, int ymax_) |
|
double | round_msvc (double x) |
|
void | ocpn_wx_quadratic_spline (double a1, double b1, double a2, double b2, double a3, double b3, double a4, double b4) |
|
void | ocpn_wx_clear_stack () |
|
int | ocpn_wx_spline_pop (double *x1, double *y1, double *x2, double *y2, double *x3, double *y3, double *x4, double *y4) |
|
void | ocpn_wx_spline_push (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) |
|
void | GenSpline (wxList *points) |
|
IsoLine.h.
Definition in file IsoLine.cpp.
◆ CFALSE
◆ CTRUE
◆ half
#define half |
( |
|
z1, |
|
|
|
z2 |
|
) |
| ((z1 + z2) / 2.0) |
◆ PI
◆ SPLINE_STACK_DEPTH
#define SPLINE_STACK_DEPTH 20 |
◆ THRESHOLD
◆ cohen_sutherland_line_clip_d()
ClipResult cohen_sutherland_line_clip_d |
( |
double * |
x0, |
|
|
double * |
y0, |
|
|
double * |
x1, |
|
|
double * |
y1, |
|
|
double |
xmin_, |
|
|
double |
xmax_, |
|
|
double |
ymin_, |
|
|
double |
ymax_ |
|
) |
| |
◆ cohen_sutherland_line_clip_i()
ClipResult cohen_sutherland_line_clip_i |
( |
int * |
x0_, |
|
|
int * |
y0_, |
|
|
int * |
x1_, |
|
|
int * |
y1_, |
|
|
int |
xmin_, |
|
|
int |
xmax_, |
|
|
int |
ymin_, |
|
|
int |
ymax_ |
|
) |
| |
◆ CompOutCode()
◆ GenSpline()
void GenSpline |
( |
wxList * |
points | ) |
|
◆ ocpn_wx_clear_stack()
void ocpn_wx_clear_stack |
( |
| ) |
|
◆ ocpn_wx_quadratic_spline()
void ocpn_wx_quadratic_spline |
( |
double |
a1, |
|
|
double |
b1, |
|
|
double |
a2, |
|
|
double |
b2, |
|
|
double |
a3, |
|
|
double |
b3, |
|
|
double |
a4, |
|
|
double |
b4 |
|
) |
| |
◆ ocpn_wx_spline_pop()
int ocpn_wx_spline_pop |
( |
double * |
x1, |
|
|
double * |
y1, |
|
|
double * |
x2, |
|
|
double * |
y2, |
|
|
double * |
x3, |
|
|
double * |
y3, |
|
|
double * |
x4, |
|
|
double * |
y4 |
|
) |
| |
◆ ocpn_wx_spline_push()
void ocpn_wx_spline_push |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2, |
|
|
double |
x3, |
|
|
double |
y3, |
|
|
double |
x4, |
|
|
double |
y4 |
|
) |
| |
◆ round_msvc()
double round_msvc |
( |
double |
x | ) |
|
◆ ocpn_wx_spline_point_list
wxList ocpn_wx_spline_point_list |