source: sasview/sansguiframe/docs/sphinx/html/api/local_perspectives/plotting/Edge.html @ 96cbb53

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 96cbb53 was 96cbb53, checked in by Jessica Tumarkin <jtumarki@…>, 13 years ago

HTML folder generated by Sphinx

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