~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.0.2/doc/man/man3/QwtScaleTransformation.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "QwtScaleTransformation" 3 "11 Jun 2007" "Version 5.0.2" "Qwt User's Guide" \" -*- nroff -*-
 
2
.ad l
 
3
.nh
 
4
.SH NAME
 
5
QwtScaleTransformation \- 
 
6
.SH SYNOPSIS
 
7
.br
 
8
.PP
 
9
.SH "Detailed Description"
 
10
.PP 
 
11
Operations for linear or logarithmic (base 10) transformations. 
 
12
.PP
 
13
Definition at line 19 of file qwt_scale_map.h.
 
14
.SS "Public Types"
 
15
 
 
16
.in +1c
 
17
.ti -1c
 
18
.RI "enum \fBType\fP { \fBLinear\fP, \fBLog10\fP, \fBOther\fP }"
 
19
.br
 
20
.in -1c
 
21
.SS "Public Member Functions"
 
22
 
 
23
.in +1c
 
24
.ti -1c
 
25
.RI "\fBQwtScaleTransformation\fP (\fBType\fP type)"
 
26
.br
 
27
.ti -1c
 
28
.RI "virtual \fB~QwtScaleTransformation\fP ()"
 
29
.br
 
30
.ti -1c
 
31
.RI "virtual double \fBxForm\fP (double x, double s1, double s2, double p1, double p2) const "
 
32
.br
 
33
.ti -1c
 
34
.RI "virtual double \fBinvXForm\fP (double x, double s1, double s2, double p1, double p2) const "
 
35
.br
 
36
.ti -1c
 
37
.RI "\fBType\fP \fBtype\fP () const "
 
38
.br
 
39
.ti -1c
 
40
.RI "virtual \fBQwtScaleTransformation\fP * \fBcopy\fP () const "
 
41
.br
 
42
.in -1c
 
43
.SH "Constructor & Destructor Documentation"
 
44
.PP 
 
45
.SS "QwtScaleTransformation::QwtScaleTransformation (\fBType\fP type)"
 
46
.PP
 
47
Constructor for a linear transformation. 
 
48
.PP
 
49
Definition at line 16 of file qwt_scale_map.cpp.
 
50
.PP
 
51
References QwtScaleTransformation().
 
52
.PP
 
53
Referenced by QwtScaleTransformation().
 
54
.SH "Member Function Documentation"
 
55
.PP 
 
56
.SS "double QwtScaleTransformation::invXForm (double p, double p1, double p2, double s1, double s2) const\fC [virtual]\fP"
 
57
.PP
 
58
Transform a value from a linear to a logarithmic interval. 
 
59
.PP
 
60
\fBParameters:\fP
 
61
.RS 4
 
62
\fIx\fP value related to the linear interval [p1, p2] 
 
63
.br
 
64
\fIp1\fP first border of linear interval 
 
65
.br
 
66
\fIp2\fP first border of linear interval 
 
67
.br
 
68
\fIs1\fP first border of logarithmic interval 
 
69
.br
 
70
\fIs2\fP first border of logarithmic interval 
 
71
.RE
 
72
.PP
 
73
\fBReturns:\fP
 
74
.RS 4
 
75
.IP "\fBexp((x - p1) / (p2 - p1) * log(s2 / s1)) * s1; \fP" 1c
 
76
.PP
 
77
.RE
 
78
.PP
 
79
 
 
80
.PP
 
81
Definition at line 70 of file qwt_scale_map.cpp.
 
82
.PP
 
83
Referenced by QwtScaleMap::invTransform().
 
84
.SS "double QwtScaleTransformation::xForm (double s, double s1, double s2, double p1, double p2) const\fC [virtual]\fP"
 
85
.PP
 
86
Transform a value between 2 linear intervals. 
 
87
.PP
 
88
\fBParameters:\fP
 
89
.RS 4
 
90
\fIx\fP value related to the interval [x1, x2] 
 
91
.br
 
92
\fIx1\fP first border of source interval 
 
93
.br
 
94
\fIx2\fP first border of source interval 
 
95
.br
 
96
\fIy1\fP first border of target interval 
 
97
.br
 
98
\fIy2\fP first border of target interval 
 
99
.RE
 
100
.PP
 
101
\fBReturns:\fP
 
102
.RS 4
 
103
.IP "\fBlinear mapping:\fP" 1c
 
104
y1 + (y2 - y1) / (x2 - x1) * (x - x1) 
 
105
.PP
 
106
.IP "\fBlog10 mapping: \fP" 1c
 
107
p1 + (p2 - p1) / log(s2 / s1) * log(x / s1) 
 
108
.PP
 
109
.RE
 
110
.PP
 
111
 
 
112
.PP
 
113
Definition at line 47 of file qwt_scale_map.cpp.
 
114
.PP
 
115
Referenced by QwtScaleMap::xTransform().
 
116
 
 
117
.SH "Author"
 
118
.PP 
 
119
Generated automatically by Doxygen for Qwt User's Guide from the source code.