source: sasview/sansguiframe/docs/sphinx/html/api/local_perspectives/plotting/Edge.html @ 67cd7c0

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 67cd7c0 was bce8148, checked in by Gervaise Alina <gervyh@…>, 13 years ago

sphinx build

  • Property mode set to 100644
File size: 14.3 KB
Line 
1
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
6
7<html xmlns="http://www.w3.org/1999/xhtml">
8  <head>
9    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10   
11    <title>Edge &mdash; guiframe 0.1.0 documentation</title>
12   
13    <link rel="stylesheet" href="../../../_static/default.css" type="text/css" />
14    <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
15   
16    <script type="text/javascript">
17      var DOCUMENTATION_OPTIONS = {
18        URL_ROOT:    '../../../',
19        VERSION:     '0.1.0',
20        COLLAPSE_INDEX: false,
21        FILE_SUFFIX: '.html',
22        HAS_SOURCE:  true
23      };
24    </script>
25    <script type="text/javascript" src="../../../_static/jquery.js"></script>
26    <script type="text/javascript" src="../../../_static/underscore.js"></script>
27    <script type="text/javascript" src="../../../_static/doctools.js"></script>
28    <link rel="top" title="guiframe 0.1.0 documentation" href="../../../index.html" />
29    <link rel="up" title="Local Perspective: plotting" href="index.html" />
30    <link rel="next" title="help_panel" href="help_panel.html" />
31    <link rel="prev" title="detector_dialog" href="detector_dialog.html" /> 
32  </head>
33  <body>
34    <div class="related">
35      <h3>Navigation</h3>
36      <ul>
37        <li class="right" style="margin-right: 10px">
38          <a href="../../../genindex.html" title="General Index"
39             accesskey="I">index</a></li>
40        <li class="right" >
41          <a href="../../../py-modindex.html" title="Python Module Index"
42             >modules</a> |</li>
43        <li class="right" >
44          <a href="help_panel.html" title="help_panel"
45             accesskey="N">next</a> |</li>
46        <li class="right" >
47          <a href="detector_dialog.html" title="detector_dialog"
48             accesskey="P">previous</a> |</li>
49        <li><a href="../../../index.html">guiframe 0.1.0 documentation</a> &raquo;</li>
50          <li><a href="index.html" accesskey="U">Local Perspective: plotting</a> &raquo;</li> 
51      </ul>
52    </div> 
53
54    <div class="document">
55      <div class="documentwrapper">
56        <div class="bodywrapper">
57          <div class="body">
58           
59  <div class="section" id="edge">
60<h1>Edge<a class="headerlink" href="#edge" title="Permalink to this headline">¶</a></h1>
61<div class="section" id="sans-guiframe-local-perspectives-plotting-edge">
62<h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.Edge" title="sans.guiframe.local_perspectives.plotting.Edge"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.Edge</span></tt></a><a class="headerlink" href="#sans-guiframe-local-perspectives-plotting-edge" title="Permalink to this headline">¶</a></h2>
63<span class="target" id="module-sans.guiframe.local_perspectives.plotting.Edge"></span><dl class="class">
64<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor">
65<em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.Edge.</tt><tt class="descname">RadiusInteractor</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor" title="Permalink to this definition">¶</a></dt>
66<dd><p>Bases: <a class="reference internal" href="BaseInteractor.html#sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor" title="sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></a></p>
67<p>Select an annulus through a 2D plot</p>
68<dl class="method">
69<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.__init__">
70<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.__init__" title="Permalink to this definition">¶</a></dt>
71<dd></dd></dl>
72
73<dl class="attribute">
74<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.__module__">
75<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.local_perspectives.plotting.Edge'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.__module__" title="Permalink to this definition">¶</a></dt>
76<dd></dd></dl>
77
78<dl class="method">
79<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.clear">
80<tt class="descname">clear</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.clear" title="Permalink to this definition">¶</a></dt>
81<dd></dd></dl>
82
83<dl class="method">
84<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.clear_markers">
85<tt class="descname">clear_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.clear_markers" title="Permalink to this definition">¶</a></dt>
86<dd><p>Clear old markers and interfaces.</p>
87</dd></dl>
88
89<dl class="method">
90<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.connect_markers">
91<tt class="descname">connect_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.connect_markers" title="Permalink to this definition">¶</a></dt>
92<dd><p>Connect markers to callbacks</p>
93</dd></dl>
94
95<dl class="method">
96<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.dpixel">
97<tt class="descname">dpixel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.dpixel" title="Permalink to this definition">¶</a></dt>
98<dd><p>Return the step size in data coordinates for a small
99step in screen coordinates.  If nudge is False (default)
100the step size is one pixel.  If nudge is True, the step
101size is 0.2 pixels.</p>
102</dd></dl>
103
104<dl class="method">
105<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.get_angle">
106<tt class="descname">get_angle</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.get_angle" title="Permalink to this definition">¶</a></dt>
107<dd></dd></dl>
108
109<dl class="method">
110<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.get_params">
111<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.get_params" title="Permalink to this definition">¶</a></dt>
112<dd></dd></dl>
113
114<dl class="method">
115<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.move">
116<tt class="descname">move</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.move" title="Permalink to this definition">¶</a></dt>
117<dd><p>Process move to a new position, making sure that the move is allowed.</p>
118</dd></dl>
119
120<dl class="method">
121<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.moveend">
122<tt class="descname">moveend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.moveend" title="Permalink to this definition">¶</a></dt>
123<dd></dd></dl>
124
125<dl class="method">
126<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onClick">
127<tt class="descname">onClick</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onClick" title="Permalink to this definition">¶</a></dt>
128<dd><p>Prepare to move the artist.  Calls save() to preserve the state for
129later restore().</p>
130</dd></dl>
131
132<dl class="method">
133<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onDrag">
134<tt class="descname">onDrag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onDrag" title="Permalink to this definition">¶</a></dt>
135<dd><p>Move the artist.  Calls move() to update the state, or restore() if
136the mouse leaves the window.</p>
137</dd></dl>
138
139<dl class="method">
140<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onHilite">
141<tt class="descname">onHilite</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onHilite" title="Permalink to this definition">¶</a></dt>
142<dd><p>Hilite the artist reporting the event, indicating that it is
143ready to receive a click.</p>
144</dd></dl>
145
146<dl class="method">
147<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onKey">
148<tt class="descname">onKey</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onKey" title="Permalink to this definition">¶</a></dt>
149<dd><p>Respond to keyboard events.  Arrow keys move the widget.  Escape
150restores it to the position before the last click.</p>
151<p>Calls move() to update the state.  Calls restore() on escape.</p>
152</dd></dl>
153
154<dl class="method">
155<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onLeave">
156<tt class="descname">onLeave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onLeave" title="Permalink to this definition">¶</a></dt>
157<dd><p>Restore the artist to the original colour when the cursor leaves.</p>
158</dd></dl>
159
160<dl class="method">
161<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onRelease">
162<tt class="descname">onRelease</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.onRelease" title="Permalink to this definition">¶</a></dt>
163<dd></dd></dl>
164
165<dl class="method">
166<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.restore">
167<tt class="descname">restore</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.restore" title="Permalink to this definition">¶</a></dt>
168<dd><p>Restore the roughness for this layer.</p>
169</dd></dl>
170
171<dl class="method">
172<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.save">
173<tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.save" title="Permalink to this definition">¶</a></dt>
174<dd><p>Remember the roughness for this layer and the next so that we
175can restore on Esc.</p>
176</dd></dl>
177
178<dl class="method">
179<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_cursor">
180<tt class="descname">set_cursor</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_cursor" title="Permalink to this definition">¶</a></dt>
181<dd></dd></dl>
182
183<dl class="method">
184<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_layer">
185<tt class="descname">set_layer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_layer" title="Permalink to this definition">¶</a></dt>
186<dd></dd></dl>
187
188<dl class="method">
189<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_params">
190<tt class="descname">set_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_params" title="Permalink to this definition">¶</a></dt>
191<dd></dd></dl>
192
193<dl class="method">
194<dt id="sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.update">
195<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.update" title="Permalink to this definition">¶</a></dt>
196<dd><p>Draw the new roughness on the graph.</p>
197</dd></dl>
198
199</dd></dl>
200
201</div>
202</div>
203
204
205          </div>
206        </div>
207      </div>
208      <div class="sphinxsidebar">
209        <div class="sphinxsidebarwrapper">
210  <h3><a href="../../../index.html">Table Of Contents</a></h3>
211  <ul>
212<li><a class="reference internal" href="#">Edge</a><ul>
213<li><a class="reference internal" href="#sans-guiframe-local-perspectives-plotting-edge"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.Edge</span></tt></a></li>
214</ul>
215</li>
216</ul>
217
218  <h4>Previous topic</h4>
219  <p class="topless"><a href="detector_dialog.html"
220                        title="previous chapter">detector_dialog</a></p>
221  <h4>Next topic</h4>
222  <p class="topless"><a href="help_panel.html"
223                        title="next chapter">help_panel</a></p>
224  <h3>This Page</h3>
225  <ul class="this-page-menu">
226    <li><a href="../../../_sources/api/local_perspectives/plotting/Edge.txt"
227           rel="nofollow">Show Source</a></li>
228  </ul>
229<div id="searchbox" style="display: none">
230  <h3>Quick search</h3>
231    <form class="search" action="../../../search.html" method="get">
232      <input type="text" name="q" />
233      <input type="submit" value="Go" />
234      <input type="hidden" name="check_keywords" value="yes" />
235      <input type="hidden" name="area" value="default" />
236    </form>
237    <p class="searchtip" style="font-size: 90%">
238    Enter search terms or a module, class or function name.
239    </p>
240</div>
241<script type="text/javascript">$('#searchbox').show(0);</script>
242        </div>
243      </div>
244      <div class="clearer"></div>
245    </div>
246    <div class="related">
247      <h3>Navigation</h3>
248      <ul>
249        <li class="right" style="margin-right: 10px">
250          <a href="../../../genindex.html" title="General Index"
251             >index</a></li>
252        <li class="right" >
253          <a href="../../../py-modindex.html" title="Python Module Index"
254             >modules</a> |</li>
255        <li class="right" >
256          <a href="help_panel.html" title="help_panel"
257             >next</a> |</li>
258        <li class="right" >
259          <a href="detector_dialog.html" title="detector_dialog"
260             >previous</a> |</li>
261        <li><a href="../../../index.html">guiframe 0.1.0 documentation</a> &raquo;</li>
262          <li><a href="index.html" >Local Perspective: plotting</a> &raquo;</li> 
263      </ul>
264    </div>
265    <div class="footer">
266        &copy; Copyright 2010, sans group.
267      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
268    </div>
269  </body>
270</html>
Note: See TracBrowser for help on using the repository browser.