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

« back to all changes in this revision

Viewing changes to qwt-5.1.2/doc/html/class_qwt_plot_magnifier.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-07-01 16:08:21 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090701160821-gog44m4w7x2f4u6o
Tags: 5.2.0-1
* New upstream release.
* Add branch pull patch from svn r544.
* Bump Standards-Version to 3.8.2. No changes needed.
* Update installed manpages.
* Use qwt as base name for directory (drop version).
* Add missing warnings patch.
* Rewrite debian/rules: use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>Qwt User&apos;s Guide: QwtPlotMagnifier Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.0 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
 
    <li><a href="files.html"><span>Files</span></a></li>
13
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
18
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21
 
  </ul></div>
22
 
<h1>QwtPlotMagnifier Class Reference</h1><!-- doxytag: class="QwtPlotMagnifier" --><!-- doxytag: inherits="QwtMagnifier" -->Inheritance diagram for QwtPlotMagnifier:<p><center><img src="class_qwt_plot_magnifier__inherit__graph.png" border="0" usemap="#_qwt_plot_magnifier__inherit__map" alt="Inheritance graph"></center>
23
 
<map name="_qwt_plot_magnifier__inherit__map">
24
 
<area href="class_qwt_magnifier.html" shape="rect" coords="19,8,120,32" alt="">
25
 
</map>
26
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtPlotMagnifier:<p><center><img src="class_qwt_plot_magnifier__coll__graph.png" border="0" usemap="#_qwt_plot_magnifier__coll__map" alt="Collaboration graph"></center>
27
 
<map name="_qwt_plot_magnifier__coll__map">
28
 
<area href="class_qwt_magnifier.html" shape="rect" coords="19,8,120,32" alt="">
29
 
</map>
30
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_plot_magnifier-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
31
 
<a class="el" href="class_qwt_plot_magnifier.html">QwtPlotMagnifier</a> provides zooming, by magnifying in steps. 
32
 
<p>
33
 
Using <a class="el" href="class_qwt_plot_magnifier.html">QwtPlotMagnifier</a> a plot can be zoomed in/out in steps using keys, the mouse wheel or moving a mouse button in vertical direction.<p>
34
 
Together with <a class="el" href="class_qwt_plot_zoomer.html">QwtPlotZoomer</a> and <a class="el" href="class_qwt_plot_panner.html">QwtPlotPanner</a> it is possible to implement individual and powerful navigation of the plot canvas.<p>
35
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html">QwtPlotZoomer</a>, <a class="el" href="class_qwt_plot_panner.html">QwtPlotPanner</a>, <a class="el" href="class_qwt_plot.html">QwtPlot</a> </dd></dl>
36
 
 
37
 
<p>
38
 
 
39
 
<p>
40
 
Definition at line <a class="el" href="qwt__plot__magnifier_8h-source.html#l00030">30</a> of file <a class="el" href="qwt__plot__magnifier_8h-source.html">qwt_plot_magnifier.h</a>.<table border="0" cellpadding="0" cellspacing="0">
41
 
<tr><td></td></tr>
42
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
43
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#b60fc56ac5a3f2e9ab879f0a9be0fdb9">QwtPlotMagnifier</a> (<a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *)</td></tr>
44
 
 
45
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#38c0508241885ea49542cc0f11c740df">~QwtPlotMagnifier</a> ()</td></tr>
46
 
 
47
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#c8806df408b5ed9eac79cd38e5fc1508">setAxisEnabled</a> (int axis, bool on)</td></tr>
48
 
 
49
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#25c94f642d6787bdf08465a471350cb2">isAxisEnabled</a> (int axis) const</td></tr>
50
 
 
51
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#947d94f9517bb096851738b5c2bf4b7d">canvas</a> ()</td></tr>
52
 
 
53
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#b67dd70e43c246934b7b4c352febd467">canvas</a> () const</td></tr>
54
 
 
55
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#e0197fb4f393e149585ff62f8e29cea6">plot</a> ()</td></tr>
56
 
 
57
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#1ec990fe14c37b005f68a75122908b52">plot</a> () const</td></tr>
58
 
 
59
 
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
60
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#271ae5ad42c3dd12812246d2dee687ea">rescale</a> (double factor)</td></tr>
61
 
 
62
 
</table>
63
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
64
 
<a class="anchor" name="b60fc56ac5a3f2e9ab879f0a9be0fdb9"></a><!-- doxytag: member="QwtPlotMagnifier::QwtPlotMagnifier" ref="b60fc56ac5a3f2e9ab879f0a9be0fdb9" args="(QwtPlotCanvas *)" -->
65
 
<div class="memitem">
66
 
<div class="memproto">
67
 
      <table class="memname">
68
 
        <tr>
69
 
          <td class="memname">QwtPlotMagnifier::QwtPlotMagnifier           </td>
70
 
          <td>(</td>
71
 
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *&nbsp;</td>
72
 
          <td class="paramname"> <em>canvas</em>          </td>
73
 
          <td>&nbsp;)&nbsp;</td>
74
 
          <td width="100%"><code> [explicit]</code></td>
75
 
        </tr>
76
 
      </table>
77
 
</div>
78
 
<div class="memdoc">
79
 
 
80
 
<p>
81
 
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
82
 
  <table border="0" cellspacing="2" cellpadding="0">
83
 
    <tr><td valign="top"></td><td valign="top"><em>canvas</em>&nbsp;</td><td>Plot canvas to be magnified </td></tr>
84
 
  </table>
85
 
</dl>
86
 
 
87
 
<p>
88
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00035">35</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
89
 
</div>
90
 
</div><p>
91
 
<a class="anchor" name="38c0508241885ea49542cc0f11c740df"></a><!-- doxytag: member="QwtPlotMagnifier::~QwtPlotMagnifier" ref="38c0508241885ea49542cc0f11c740df" args="()" -->
92
 
<div class="memitem">
93
 
<div class="memproto">
94
 
      <table class="memname">
95
 
        <tr>
96
 
          <td class="memname">QwtPlotMagnifier::~QwtPlotMagnifier           </td>
97
 
          <td>(</td>
98
 
          <td class="paramname">          </td>
99
 
          <td>&nbsp;)&nbsp;</td>
100
 
          <td width="100%"><code> [virtual]</code></td>
101
 
        </tr>
102
 
      </table>
103
 
</div>
104
 
<div class="memdoc">
105
 
 
106
 
<p>
107
 
Destructor. 
108
 
<p>
109
 
 
110
 
<p>
111
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00042">42</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
112
 
</div>
113
 
</div><p>
114
 
<hr><h2>Member Function Documentation</h2>
115
 
<a class="anchor" name="c8806df408b5ed9eac79cd38e5fc1508"></a><!-- doxytag: member="QwtPlotMagnifier::setAxisEnabled" ref="c8806df408b5ed9eac79cd38e5fc1508" args="(int axis, bool on)" -->
116
 
<div class="memitem">
117
 
<div class="memproto">
118
 
      <table class="memname">
119
 
        <tr>
120
 
          <td class="memname">void QwtPlotMagnifier::setAxisEnabled           </td>
121
 
          <td>(</td>
122
 
          <td class="paramtype">int&nbsp;</td>
123
 
          <td class="paramname"> <em>axis</em>, </td>
124
 
        </tr>
125
 
        <tr>
126
 
          <td class="paramkey"></td>
127
 
          <td></td>
128
 
          <td class="paramtype">bool&nbsp;</td>
129
 
          <td class="paramname"> <em>on</em></td><td>&nbsp;</td>
130
 
        </tr>
131
 
        <tr>
132
 
          <td></td>
133
 
          <td>)</td>
134
 
          <td></td><td></td><td width="100%"></td>
135
 
        </tr>
136
 
      </table>
137
 
</div>
138
 
<div class="memdoc">
139
 
 
140
 
<p>
141
 
En/Disable an axis. 
142
 
<p>
143
 
Axes that are enabled will be synchronized to the result of panning. All other axes will remain unchanged.<p>
144
 
<dl compact><dt><b>Parameters:</b></dt><dd>
145
 
  <table border="0" cellspacing="2" cellpadding="0">
146
 
    <tr><td valign="top"></td><td valign="top"><em>axis</em>&nbsp;</td><td>Axis, see <a class="el" href="class_qwt_plot.html#81df699dcf9dde0752c0726b5f31e271">QwtPlot::Axis</a> </td></tr>
147
 
    <tr><td valign="top"></td><td valign="top"><em>on</em>&nbsp;</td><td>On/Off</td></tr>
148
 
  </table>
149
 
</dl>
150
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_magnifier.html#25c94f642d6787bdf08465a471350cb2">isAxisEnabled</a> </dd></dl>
151
 
 
152
 
<p>
153
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00058">58</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
154
 
</div>
155
 
</div><p>
156
 
<a class="anchor" name="25c94f642d6787bdf08465a471350cb2"></a><!-- doxytag: member="QwtPlotMagnifier::isAxisEnabled" ref="25c94f642d6787bdf08465a471350cb2" args="(int axis) const" -->
157
 
<div class="memitem">
158
 
<div class="memproto">
159
 
      <table class="memname">
160
 
        <tr>
161
 
          <td class="memname">bool QwtPlotMagnifier::isAxisEnabled           </td>
162
 
          <td>(</td>
163
 
          <td class="paramtype">int&nbsp;</td>
164
 
          <td class="paramname"> <em>axis</em>          </td>
165
 
          <td>&nbsp;)&nbsp;</td>
166
 
          <td width="100%"> const</td>
167
 
        </tr>
168
 
      </table>
169
 
</div>
170
 
<div class="memdoc">
171
 
 
172
 
<p>
173
 
Test if an axis is enabled<p>
174
 
<dl compact><dt><b>Parameters:</b></dt><dd>
175
 
  <table border="0" cellspacing="2" cellpadding="0">
176
 
    <tr><td valign="top"></td><td valign="top"><em>axis</em>&nbsp;</td><td>Axis, see <a class="el" href="class_qwt_plot.html#81df699dcf9dde0752c0726b5f31e271">QwtPlot::Axis</a> </td></tr>
177
 
  </table>
178
 
</dl>
179
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True, if the axis is enabled</dd></dl>
180
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_magnifier.html#c8806df408b5ed9eac79cd38e5fc1508">setAxisEnabled</a> </dd></dl>
181
 
 
182
 
<p>
183
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00072">72</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
184
 
<p>
185
 
Referenced by <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">rescale()</a>.
186
 
</div>
187
 
</div><p>
188
 
<a class="anchor" name="947d94f9517bb096851738b5c2bf4b7d"></a><!-- doxytag: member="QwtPlotMagnifier::canvas" ref="947d94f9517bb096851738b5c2bf4b7d" args="()" -->
189
 
<div class="memitem">
190
 
<div class="memproto">
191
 
      <table class="memname">
192
 
        <tr>
193
 
          <td class="memname"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * QwtPlotMagnifier::canvas           </td>
194
 
          <td>(</td>
195
 
          <td class="paramname">          </td>
196
 
          <td>&nbsp;)&nbsp;</td>
197
 
          <td width="100%"></td>
198
 
        </tr>
199
 
      </table>
200
 
</div>
201
 
<div class="memdoc">
202
 
 
203
 
<p>
204
 
Return observed plot canvas. 
205
 
<p>
206
 
 
207
 
<p>
208
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00081">81</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
209
 
<p>
210
 
Referenced by <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00097">plot()</a>.
211
 
</div>
212
 
</div><p>
213
 
<a class="anchor" name="b67dd70e43c246934b7b4c352febd467"></a><!-- doxytag: member="QwtPlotMagnifier::canvas" ref="b67dd70e43c246934b7b4c352febd467" args="() const" -->
214
 
<div class="memitem">
215
 
<div class="memproto">
216
 
      <table class="memname">
217
 
        <tr>
218
 
          <td class="memname">const <a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * QwtPlotMagnifier::canvas           </td>
219
 
          <td>(</td>
220
 
          <td class="paramname">          </td>
221
 
          <td>&nbsp;)&nbsp;</td>
222
 
          <td width="100%"> const</td>
223
 
        </tr>
224
 
      </table>
225
 
</div>
226
 
<div class="memdoc">
227
 
 
228
 
<p>
229
 
Return Observed plot canvas. 
230
 
<p>
231
 
 
232
 
<p>
233
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00091">91</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
234
 
</div>
235
 
</div><p>
236
 
<a class="anchor" name="e0197fb4f393e149585ff62f8e29cea6"></a><!-- doxytag: member="QwtPlotMagnifier::plot" ref="e0197fb4f393e149585ff62f8e29cea6" args="()" -->
237
 
<div class="memitem">
238
 
<div class="memproto">
239
 
      <table class="memname">
240
 
        <tr>
241
 
          <td class="memname"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotMagnifier::plot           </td>
242
 
          <td>(</td>
243
 
          <td class="paramname">          </td>
244
 
          <td>&nbsp;)&nbsp;</td>
245
 
          <td width="100%"></td>
246
 
        </tr>
247
 
      </table>
248
 
</div>
249
 
<div class="memdoc">
250
 
 
251
 
<p>
252
 
Return plot widget, containing the observed plot canvas. 
253
 
<p>
254
 
 
255
 
<p>
256
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00097">97</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
257
 
<p>
258
 
References <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00081">canvas()</a>.
259
 
<p>
260
 
Referenced by <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">rescale()</a>.
261
 
</div>
262
 
</div><p>
263
 
<a class="anchor" name="1ec990fe14c37b005f68a75122908b52"></a><!-- doxytag: member="QwtPlotMagnifier::plot" ref="1ec990fe14c37b005f68a75122908b52" args="() const" -->
264
 
<div class="memitem">
265
 
<div class="memproto">
266
 
      <table class="memname">
267
 
        <tr>
268
 
          <td class="memname">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotMagnifier::plot           </td>
269
 
          <td>(</td>
270
 
          <td class="paramname">          </td>
271
 
          <td>&nbsp;)&nbsp;</td>
272
 
          <td width="100%"> const</td>
273
 
        </tr>
274
 
      </table>
275
 
</div>
276
 
<div class="memdoc">
277
 
 
278
 
<p>
279
 
Return plot widget, containing the observed plot canvas. 
280
 
<p>
281
 
 
282
 
<p>
283
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00111">111</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
284
 
</div>
285
 
</div><p>
286
 
<a class="anchor" name="271ae5ad42c3dd12812246d2dee687ea"></a><!-- doxytag: member="QwtPlotMagnifier::rescale" ref="271ae5ad42c3dd12812246d2dee687ea" args="(double factor)" -->
287
 
<div class="memitem">
288
 
<div class="memproto">
289
 
      <table class="memname">
290
 
        <tr>
291
 
          <td class="memname">void QwtPlotMagnifier::rescale           </td>
292
 
          <td>(</td>
293
 
          <td class="paramtype">double&nbsp;</td>
294
 
          <td class="paramname"> <em>factor</em>          </td>
295
 
          <td>&nbsp;)&nbsp;</td>
296
 
          <td width="100%"><code> [protected, virtual]</code></td>
297
 
        </tr>
298
 
      </table>
299
 
</div>
300
 
<div class="memdoc">
301
 
 
302
 
<p>
303
 
Zoom in/out the axes scales <dl compact><dt><b>Parameters:</b></dt><dd>
304
 
  <table border="0" cellspacing="2" cellpadding="0">
305
 
    <tr><td valign="top"></td><td valign="top"><em>factor</em>&nbsp;</td><td>A value &lt; 1.0 zooms in, a value &gt; 1.0 zooms out. </td></tr>
306
 
  </table>
307
 
</dl>
308
 
 
309
 
<p>
310
 
Implements <a class="el" href="class_qwt_magnifier.html">QwtMagnifier</a>.
311
 
<p>
312
 
Definition at line <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">120</a> of file <a class="el" href="qwt__plot__magnifier_8cpp-source.html">qwt_plot_magnifier.cpp</a>.
313
 
<p>
314
 
References <a class="el" href="qwt__plot_8cpp-source.html#l00190">QwtPlot::autoReplot()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00235">QwtPlot::axisScaleDiv()</a>, <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00072">isAxisEnabled()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00102">QwtScaleDiv::lBound()</a>, <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00097">plot()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00363">QwtPlot::replot()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00184">QwtPlot::setAutoReplot()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00414">QwtPlot::setAxisScale()</a>.
315
 
</div>
316
 
</div><p>
317
 
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:55:01 2009 for Qwt User's Guide by&nbsp;
318
 
<a href="http://www.doxygen.org/index.html">
319
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
320
 
</body>
321
 
</html>