1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
|
/**************************************************************************
* *
* Regina - A Normal Surface Theory Calculator *
* Computational Engine *
* *
* Copyright (c) 1999-2011, Ben Burton *
* For further details contact Ben Burton (bab@debian.org). *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* General Public License for more details. *
* *
* You should have received a copy of the GNU General Public *
* License along with this program; if not, write to the Free *
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
* MA 02110-1301, USA. *
* *
**************************************************************************/
/* end stub */
/*! \file subcomplex/npluggedtorusbundle.h
* \brief Supports self-identified Seifert fibred spaces that are
* triangulated using a combination of thin I-bundles and saturated blocks.
*/
#ifndef __NPLUGGEDTORUSBUNDLE_H
#ifndef __DOXYGEN
#define __NPLUGGEDTORUSBUNDLE_H
#endif
#include "regina-core.h"
#include "maths/nmatrix2.h"
#include "subcomplex/nstandardtri.h"
namespace regina {
class NIsomorphism;
class NSatRegion;
class NTxICore;
/**
* \weakgroup subcomplex
* @{
*/
/**
* Describes a triangulation of a graph manifold formed by joining a
* bounded saturated region with a thin I-bundle over the torus,
* possibly with layerings in between.
*
* The thin I-bundle must be untwisted, so that it forms the product
* <tt>T x I</tt> with two boundary tori. Moreover, it must be isomorphic
* to some existing instance of the class NTxICore.
*
* The saturated region is described by an object of the class NSatRegion.
* This region must have precisely two boundary annuli. These may be
* two separate torus boundaries (each formed from its own saturated annulus).
* Alternatively, the saturated region may have a single boundary formed
* from both saturated annuli, where this boundary is pinched together
* so that each annulus becomes its own two-sided torus.
*
* Either way, the saturated region effectively has two torus boundaries,
* each formed from two faces of the triangulation. These boundaries
* are then joined to the two torus boundaries of the thin I-bundle,
* possibly with layerings in between (for more detail on layerings, see
* the NLayering class). This is illustrated in the following diagram,
* where the small tunnels show where the torus boundaries are joined
* (possibly via layerings).
*
* <pre>
* /--------------------\ /-----------------\
* | ----- |
* | ----- |
* | Saturated region | | Thin I-bundle |
* | ----- |
* | ----- |
* \--------------------/ \-----------------/
* </pre>
*
* The effect of the thin I-bundle and the two layerings is essentially
* to join the two boundaries of the saturated region according to some
* non-trivial homeomorphism of the torus. This homeomorphism is
* specified by a 2-by-2 matrix \a M as follows.
*
* Suppose that \a f0 and \a o0 are directed curves on the first
* boundary torus and \a f1 and \a o1 are directed curves on the second
* boundary torus, where \a f0 and \a f1 represent the fibres of the
* saturated region and \a o0 and \a o1 represent the base orbifold (see
* the page on \ref sfsnotation for terminology).
* Then the torus boundaries of the saturated region are identified by
* the thin I-bundle and layerings according to the following relation:
*
* <pre>
* [f1] [f0]
* [ ] = M * [ ]
* [o1] [o0]
* </pre>
*
* Note that the routines writeName() and writeTeXName() do \e not offer
* enough information to uniquely identify the triangulation, since this
* essentially requires 2-dimensional assemblings of saturated blocks.
* For more detail, writeTextLong() may be used instead.
*
* The optional NStandardTriangulation routine getManifold() is
* implemented for this class, but getHomologyH1() is not.
*/
class REGINA_API NPluggedTorusBundle : public NStandardTriangulation {
private:
const NTxICore& bundle_;
/**< The thin I-bundle that appears within this triangulation.
This thin I-bundle is referenced from elsewhere (i.e., it
is not owned by this object), and its tetrahedra do not
belong to this triangulation (instead see the data member
\a bundleIso_). */
NIsomorphism* bundleIso_;
/**< A mapping from the thin I-bundle \a bundle_ to this
triangulation. This is required since the thin I-bundle
\a bundle_ is external, and does not refer directly to this
triangulation. */
NSatRegion* region_;
/**< The saturated region that appears within this
triangulation. This region is owned by this object, and
refers to tetrahedra within this triangulation. */
NMatrix2 matchingReln_;
/**< Describes how the two torus boundaries of the saturated
region are joined, as discussed in the class notes above. */
public:
/**
* Destroys this structure and its constituent components.
*
* As an exception, the thin I-bundle is not destroyed, since
* it is assumed that this is referenced from elsewhere.
*/
~NPluggedTorusBundle();
/**
* Returns an isomorphic copy of the thin I-bundle that forms part
* of this triangulation. Like all objects of class NTxICore, the
* thin I-bundle that is returned is an external object with its own
* separate triangulation of the product <tt>T x I</tt>. For
* information on how the thin I-bundle is embedded within this
* triangulation, see the routine bundleIso().
*
* @return the an isomorphic copy of the thin I-bundle within
* this triangulation.
*/
const NTxICore& bundle() const;
/**
* Returns an isomorphism describing how the thin I-bundle forms
* a subcomplex of this triangulation.
*
* The thin I-bundle returned by bundle() does not directly
* refer to tetrahedra within this triangulation. Instead it
* contains its own isomorphic copy of the thin I-bundle
* triangulation (as is usual for objects of class NTxICore).
*
* The isomorphism returned by this routine is a mapping from
* the triangulation bundle().core() to this triangulation,
* showing how the thin I-bundle appears as a subcomplex of this
* structure.
*
* @return an isomorphism from the thin I-bundle described
* by bundle() to the tetrahedra of this triangulation.
*/
const NIsomorphism& bundleIso() const;
/**
* Returns the saturated region that forms part of this triangulation.
* The region refers directly to tetrahedra within this triangulation
* (as opposed to the thin I-bundle, which refers to a separate
* external triangulation).
*
* @return the saturated region.
*/
const NSatRegion& region() const;
/**
* Returns the matrix describing how the two torus boundaries of
* the saturated region are joined by the thin I-bundle and
* layerings. See the class notes above for details.
*
* @return the matching relation between the two region boundaries.
*/
const NMatrix2& matchingReln() const;
NManifold* getManifold() const;
std::ostream& writeName(std::ostream& out) const;
std::ostream& writeTeXName(std::ostream& out) const;
void writeTextLong(std::ostream& out) const;
/**
* Determines if the given triangulation is a saturated region
* joined to a thin I-bundle via optional layerings, as described
* in the class notes above.
*
* @param tri the triangulation to examine.
* @return a newly created object containing details of the
* structure that was found, or \c null if the given
* triangulation is not of the form described by this class.
*/
static NPluggedTorusBundle* isPluggedTorusBundle
(NTriangulation* tri);
private:
/**
* Creates a new structure of the form described in the class notes
* above, based on the given constituent components. The new object
* will take ownership of the given saturated region and isomorphism.
* It will not take ownership of the given thin I-bundle.
*
* Note that the new object must refer to an existing triangulation.
*
* \warning The thin I-bundle \a bundle must have a lifetime at
* least as long as the new object being created, since it will
* be referenced directly by this new object.
*
* @param bundle the thin I-bundle whose isomorphic copy is used
* within the triangulation described by the new object.
* @param bundleIso the corresponding isomorphism from the given
* thin I-bundle to the triangulation described by the new object.
* @param region the saturated region used within the new object.
* @param matchingReln the matching relation describing how the
* two saturated region boundaries are joined by the thin
* I-bundle and layerings, as described in the class notes above.
*/
NPluggedTorusBundle(const NTxICore& bundle, NIsomorphism* bundleIso,
NSatRegion* region, const NMatrix2& matchingReln);
/**
* Determines whether the given triangulation is of the form
* described by this class, with the constraint that the
* thin I-bundle used within the triangulation must be isomorphic
* to the given thin I-bundle.
*
* This routine is internal to isPluggedTorusBundle().
*
* \pre The given triangulation is closed and connected.
*
* \warning If this routine is successful and a new object is
* returned, this new object must not outlive the given thin
* I-bundle (since the new object will in fact contain a direct
* reference to this thin I-bundle).
*
* @param tri the triangulation to examine.
* @param bundle the thin I-bundle whose isomorphic copy must be
* used in the given triangulation.
* @return a newly created object containing details of the
* structure that was found, or \c null if the given triangulation
* is not of the form described by this class using an isomorphic
* copy of the given thin I-bundle.
*/
static NPluggedTorusBundle* hunt(NTriangulation* tri,
const NTxICore& bundle);
};
/*@}*/
// Inline functions for NPluggedTorusBundle
inline NPluggedTorusBundle::NPluggedTorusBundle(const NTxICore& bundle,
NIsomorphism* bundleIso, NSatRegion* region,
const NMatrix2& matchingReln) :
bundle_(bundle), bundleIso_(bundleIso), region_(region),
matchingReln_(matchingReln) {
}
inline const NTxICore& NPluggedTorusBundle::bundle() const {
return bundle_;
}
inline const NIsomorphism& NPluggedTorusBundle::bundleIso() const {
return *bundleIso_;
}
inline const NSatRegion& NPluggedTorusBundle::region() const {
return *region_;
}
inline const NMatrix2& NPluggedTorusBundle::matchingReln() const {
return matchingReln_;
}
} // namespace regina
#endif
|