source: ntrip/trunk/BNC/qwtpolar/qwt_polar.h@ 8942

Last change on this file since 8942 was 4272, checked in by mervart, 12 years ago
File size: 1.4 KB
Line 
1/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2 * QwtPolar Widget Library
3 * Copyright (C) 2008 Uwe Rathmann
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the Qwt License, Version 1.0
7 *****************************************************************************/
8
9#ifndef QWT_POLAR_H
10#define QWT_POLAR_H 1
11
12#include "qwt_polar_global.h"
13
14namespace QwtPolar
15{
16 //! Unit of an angle
17 enum AngleUnit
18 {
19 //! 0.0 -> 2_M_PI
20 Radians,
21
22 //! 0.0 -> 360.0
23 Degrees,
24
25 //! 0.0 - 400.0
26 Gradians,
27
28 //! 0.0 - 1.0
29 Turns
30 };
31
32 //! An enum, that identifies the type of a coordinate
33 enum Coordinate
34 {
35 //! Azimuth
36 Azimuth,
37
38 //! Radius
39 Radius
40 };
41
42 /*!
43 Indices used to identify an axis.
44 \sa Scale
45 */
46 enum Axis
47 {
48 //! Azimuth axis
49 AxisAzimuth,
50
51 //! Left axis
52 AxisLeft,
53
54 //! Right axis
55 AxisRight,
56
57 //! Top axis
58 AxisTop,
59
60 //! Bottom axis
61 AxisBottom,
62
63 //! Number of available axis
64 AxesCount
65 };
66
67 /*!
68 Indices used to identify a scale.
69 \sa Axis
70 */
71 enum Scale
72 {
73 //! Azimuth scale
74 ScaleAzimuth = Azimuth,
75
76 //! Radial scale
77 ScaleRadius = Radius,
78
79 //! Number of scales
80 ScaleCount
81 };
82}
83
84#endif
Note: See TracBrowser for help on using the repository browser.