Debian Codegraph @

doc/geomview.html/ui_002dmotion.html

raw
1 <html lang="en">
2 <head>
3 <title>ui-motion - Geomview Manual</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Geomview Manual">
6 <meta name="generator" content="makeinfo 4.13">
7 <link title="Top" rel="start" href="index.html#Top">
8 <link rel="up" href="GCL-Reference.html#GCL-Reference" title="GCL Reference">
9 <link rel="prev" href="ui_002dhtml_002dbrowser.html#ui_002dhtml_002dbrowser" title="ui-html-browser">
10 <link rel="next" href="ui_002dpanel.html#ui_002dpanel" title="ui-panel">
11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12 <meta http-equiv="Content-Style-Type" content="text/css">
13 <style type="text/css"><!--
14 pre.display { font-family:inherit }
15 pre.format { font-family:inherit }
16 pre.smalldisplay { font-family:inherit; font-size:smaller }
17 pre.smallformat { font-family:inherit; font-size:smaller }
18 pre.smallexample { font-size:smaller }
19 pre.smalllisp { font-size:smaller }
20 span.sc { font-variant:small-caps }
21 span.roman { font-family:serif; font-weight:normal; }
22 span.sansserif { font-family:sans-serif; font-weight:normal; }
23 --></style>
24 </head>
25 <body>
26 <div class="node">
27 <a name="ui-motion"></a>
28 <a name="ui_002dmotion"></a>
29 <p>
30 Next:&nbsp;<a rel="next" accesskey="n" href="ui_002dpanel.html#ui_002dpanel">ui-panel</a>,
31 Previous:&nbsp;<a rel="previous" accesskey="p" href="ui_002dhtml_002dbrowser.html#ui_002dhtml_002dbrowser">ui-html-browser</a>,
32 Up:&nbsp;<a rel="up" accesskey="u" href="GCL-Reference.html#GCL-Reference">GCL Reference</a>
33 <hr>
34 </div>
35
36 <h4 class="subsection">7.2.148 ui-motion</h4>
37
38 <p><a name="index-ui_002dmotion-156"></a>
39 <dl>
40 <dt><code>(ui-motion {inertia|constrain|own-coordinates} {on|off})</code><dd>Enable or disable certain properties of mouse-controlled motion. The
41 purpose of this command is to give access to the respective toggles of
42 the <em>Main</em> panel's <em>Motion</em> menu through GCL
43 commands. See <a href="Mouse-Motions.html#Mouse-Motions">Mouse Motions</a>.
44
45 <dl>
46 <dt><code>inertia</code><dd>Normally, moving objects have inertia: if the mouse is still moving when
47 the button is released, the selected object continues to move. When
48 <code>inertia</code> is off, objects cease to move as soon as you release the
49 mouse.
50
51 <br><dt><code>constrain</code><dd>It's sometimes handy to move an object in a direction aligned with a
52 coordinate axis: exactly horizontally or vertically. Calling
53 <code>(ui-motion constrain on)</code> changes the interpretation of mouse
54 motions to allow this; approximately-horizontal or
55 approximately-vertical mouse dragging becomes exactly horizontal or
56 vertical motion. Note that the motion is still along the X or Y axes of
57 the camera in which you move the mouse, not necessarily the object's own
58 coordinate system.
59
60 <br><dt><code>own-coordinates</code><dd>It's sometimes handy to move objects with respect to the coordinate
61 system where they were defined, rather than with respect to some
62 camera's view. When <code>(ui-motion own-coordinates on)</code> has been
63 called, all motions are interpreted that way: dragging the mouse
64 rightward in translate mode moves the object in its own <var>+X</var>
65 direction, and so on. May be especially useful in conjunction with the
66 <code>(ui-motion constrain on)</code> command.
67 </dl>
68
69 </dl>
70
71 </body></html>
72