\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \)
BTP: Manual and Source Code Documentation
Home
Information
PNG climbmaps
BTP 4
Manual
Downloads
Tutorials
Features & Technical
Documentation
Bug & Contribution
Physik
Leistung bei Wind
Leistung im Gebirge
Träge Masse
Radsport
Trainingstipps
Sinnfrage
STRONG
Salesman
Schwierigkeit der Berge
Bergliste
About
Author
World summits
Bike parts to avoid
Skike
Power Uphill
bike mass [kg]
body mass [kg]
altitude gain [m]
climb length [km]
gradient [%]
time [s]
speed [km/h]
power [W]
power/mass [W/kg]
climbrate [m/min]
average power on climb stage
Climb Index Europe
"But you don't fly up a hill. You struggle slowly and painfully up a hill..."
BTP
3.0
Routing/ClimbAnalysis/PowerCalculation
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Pages
C:
Users
User
c++
BTP3
webdata.h
1
#ifndef WEBDATA_H
2
#define WEBDATA_H
3
#include "osm.h"
4
#include "HeightData.h"
5
#include "MAP.h"
6
#include "strongcalc.h"
7
#include "Routing.h"
8
#include <QThread>
9
#include <QFileInfo>
10
#include <QProcess>
11
#include <QDir>
12
13
enum
RunModeWebData{CreateTilesBTP,CreateTiles,SplitEurope,ReadOSM,CreateHTML,CreateSTRONGLayers};
14
16
typedef
struct
webdatacmd
{
17
RunModeWebData
mode
;
18
double
minlat
,
maxlat
,
minlon
,
maxlon
;
22
int
width
;
23
int
height
;
24
config
*
c
;
25
QString
dest
;
26
OSM
*
osm
;
27
int
z
,
x
,
y
,
dx
,
dy
;
31
QString
src
;
32
}
webdatacmd
;
33
Q_DECLARE_METATYPE(
webdatacmd
)
34
35
42
class
WebData
:public QThread{
43
Q_OBJECT
44
public
:
46
WebData
(
webdatacmd
w);
47
void
run();
48
void
exit();
49
webdatacmd
w;
50
public
slots:
51
void
split_europe();
52
signals:
53
void
add(
webdatacmd
* w);
54
void
split(
WebData
* wd);
55
private
:
56
QString
dest
;
57
void
generate_map();
58
void
generate_map_BTP();
59
void
generate_STRONG();
60
void
read_osm();
63
void
analyse_climbs();
64
65
double
xztolon(
int
x,
int
z);
66
double
yztolat(
int
y,
int
z);
67
68
};
69
70
#endif // WEBDATA_H
webdatacmd::y
int y
Definition:
webdata.h:29
WebData::dest
QString dest
Definition:
webdata.h:56
webdatacmd::mode
RunModeWebData mode
Definition:
webdata.h:17
webdatacmd::width
int width
rendering image size
Definition:
webdata.h:22
webdatacmd::x
int x
Definition:
webdata.h:29
webdatacmd::z
int z
Definition:
webdata.h:29
WebData
creates data for web site
Definition:
webdata.h:42
webdatacmd::c
config * c
BTP configuration to be used.
Definition:
webdata.h:24
webdatacmd::minlon
double minlon
Definition:
webdata.h:20
webdatacmd::src
QString src
source file name
Definition:
webdata.h:31
webdatacmd::dy
int dy
Definition:
webdata.h:29
webdatacmd::dest
QString dest
destination file name
Definition:
webdata.h:25
webdatacmd::osm
OSM * osm
Definition:
webdata.h:26
webdatacmd::height
int height
rendering image size
Definition:
webdata.h:23
webdatacmd
multithreading working command, defines the task to be executed
Definition:
webdata.h:16
webdatacmd::minlat
double minlat
Definition:
webdata.h:20
webdatacmd::dx
int dx
Definition:
webdata.h:29
webdatacmd::maxlon
double maxlon
Definition:
webdata.h:20
OSM
BTP3 database, created from OpenStreetMap data.
Definition:
osm.h:34
webdatacmd::maxlat
double maxlat
Definition:
webdata.h:20
config
main user setting container
Definition:
DataTyps.h:324
Generated on Sun Mar 2 2014 12:09:53 for BTP by
1.8.5