5
5
<title>The Packet Tree</title>
8
A single Regina data file can store a range of objects, from
8
A single Regina data file can store a rich variety of objects, from
9
9
3-manifold triangulations and normal surfaces to &python; scripts,
10
10
&pdf; documents and text notes.
11
11
All of these objects are called <firstterm>packets</firstterm>,
31
31
</inlinemediaobject>
34
<sect1 id="packet-view">
35
<title>Viewing and Editing Packets</title>
37
Each time you open a packet, you will see three buttons at the bottom
38
of the window: <guibutton>Commit</guibutton>,
39
<guibutton>Refresh</guibutton> and <guibutton>Close</guibutton>
40
(all illustrated below).
41
Pressing <guibutton>Close</guibutton> will simply close the packet
42
again. Pressing <guibutton>Refresh</guibutton> will reload the
43
contents of the packet from ®ina;'s mathematical engine (this
44
should rarely be necessary, but the button is provided just in case).
45
<guibutton>Commit</guibutton> should be disabled until you start
51
<imagedata fileref="textview.png"/>
56
Once you begin to edit the packet, the buttons will change to
57
<guibutton>Commit</guibutton>, <guibutton>Discard</guibutton> and
58
<guibutton>Close</guibutton> (again illustrated below).
59
Your changes will not <emphasis>not take effect</emphasis>
60
until you press <guibutton>Commit</guibutton> (after which you
61
will not be able to undo them).
62
Alternatively, you can undo your changes and revert to the original
63
state of the packet by pressing <guibutton>Discard</guibutton>.
68
<imagedata fileref="textedit.png"/>
72
33
<sect2 id="packet-uneditable">
73
34
<title>Uneditable Packets</title>
76
Sometimes you will find that you cannot make changes to a packet
77
at all. This often happens when a packet is constrained by its
78
children. For instance, if a triangulation is parent to a
79
normal surface list or an angle structure list
80
then ®ina; will insist that the triangulation does not change
81
(so that normal coordinates and angle structure coordinates
82
cannot be invalidated).
83
Uneditable packets like this
84
will be marked with a small padlock in the tree: see the
85
Figure 8 Knot Complement in the illustration below.
37
Sometimes you will find that ®ina; does not let you make changes
38
to a packet. This typically means that the packet is constrained by its
42
For example, if a triangulation has normal surfaces or angle structures
43
beneath it, then ®ina; will not let you change the triangulation
44
because this would invalidate the normal coordinates or angle structure
48
Uneditable packets such as this will be marked with a small padlock
49
in the tree: see the Figure 8 Knot Complement in the
88
53
<inlinemediaobject>
166
<sect2 id="packet-snappea">
167
<title>&snappea; Triangulations</title>
169
A <firstterm>&snappea; triangulation</firstterm> packet stores a
170
3-manifold using &snappea;'s internal data structures
171
(in contrast, the usual <link linkend="packet-triangulation">triangulation
172
packet</link> uses ®ina;'s own structures, which are independent
174
You can learn more about using &snappea; triangulations in the
175
<link linkend="snappea">chapter on &snappea; triangulations</link>
176
later in this handbook.
179
The advantages of using a &snappea; triangulation is that it stores
180
additional information that ®ina; does not (such as fillings and
181
peripheral curves), and it offers more direct access to the &snappea;
182
kernel. The main disadvantage is that you do not have the
183
fine-grained control over the triangulation that ®ina; offers you
184
(in particular, you cannot manipulate the triangulation as freely).
185
Of course ®ina; offers you facilities to convert one into the other.
188
&snappea; triangulations are marked by the following icon:
191
<imagedata fileref="icon-snappea.png"/>
198
<imagedata fileref="snappea.png"/>
201
204
<sect2 id="packet-surfacelist">
202
205
<title>Normal Surface Lists</title>
643
645
<sect2 id="packet-refresh">
644
<title>Refreshing Subtrees</title>
646
<title>Refreshing the Tree</title>
649
651
<guimenu>Packet Tree</guimenu>
650
<guimenuitem>Refresh Subtree</guimenuitem>
652
<guimenuitem>Refresh Tree</guimenuitem>
652
menu item will reload a section of the packet tree from ®ina;'s
654
menu item will reload the entire packet tree from ®ina;'s
653
655
mathematical engine. This should never be necessary, but the
654
656
operation is provided in case the user interface gets out of sync.
655
657
If this does happen, please <link linkend="services">let us know</link>