6 * $Date: 2012-07-07 00:03:48 +0200 (Sa, 07. Jul 2012) $
7 ***************************************************************/
10 * \brief Declaration of the class EmbedKey.
12 * Implements the Key of the direction Indicator. Used by class EmbedPQTree.
14 * \author Sebastian Leipert
17 * This file is part of the Open Graph Drawing Framework (OGDF).
21 * See README.txt in the root directory of the OGDF installation for details.
24 * This program is free software; you can redistribute it and/or
25 * modify it under the terms of the GNU General Public License
26 * Version 2 or 3 as published by the Free Software Foundation;
27 * see the file LICENSE.txt included in the packaging of this file
31 * This program is distributed in the hope that it will be useful,
32 * but WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 * GNU General Public License for more details.
37 * You should have received a copy of the GNU General Public
38 * License along with this program; if not, write to the Free
39 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
40 * Boston, MA 02110-1301, USA.
42 * \see http://www.gnu.org/copyleft/gpl.html
43 ***************************************************************/
51 #ifndef OGDF_EMBED_KEY_H
52 #define OGDF_EMBED_KEY_H
54 #include <ogdf/internal/planarity/PQNodeKey.h>
61 friend class EmbedPQTree
;
64 IndInfo(node w
) { v
= w
; changeDir
= false; }
67 void resetAssociatedNode(node w
) { v
= w
; }
68 node
getAssociatedNode() { return v
; }