Fix manual.tex qmake configuration settings (thanks to Thomas K.!)
[qanava.git] / doc / reference / html / classqan_1_1_directed_tree.html
blob9e89b54694f4d39d9ce060226bc53b6c9fc0c35b
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>Qanava: qan::DirectedTree Class Reference</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 <link href="tabs.css" rel="stylesheet" type="text/css">
6 </head><body>
7 <!-- Generated by Doxygen 1.5.1-p1 -->
8 <div class="tabs">
9 <ul>
10 <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
12 <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13 <li><a href="files.html"><span>Files</span></a></li>
14 <li><a href="dirs.html"><span>Directories</span></a></li>
15 <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16 </ul></div>
17 <div class="tabs">
18 <ul>
19 <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20 <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21 <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22 </ul></div>
23 <div class="nav">
24 <a class="el" href="namespaceqan.html">qan</a>::<a class="el" href="classqan_1_1_directed_tree.html">DirectedTree</a></div>
25 <h1>qan::DirectedTree Class Reference</h1><!-- doxytag: class="qan::DirectedTree" --><!-- doxytag: inherits="qan::Layout" --><a class="el" href="classqan_1_1_layout.html">Layout</a> an undirected graph as a directed top-down tree.
26 <a href="#_details">More...</a>
27 <p>
28 <code>#include &lt;qanLayout.h&gt;</code>
29 <p>
30 Inherits <a class="el" href="classqan_1_1_layout.html">qan::Layout</a>.
31 <p>
32 Inheritance diagram for qan::DirectedTree:<p><center><img src="classqan_1_1_directed_tree__inherit__graph.png" border="0" usemap="#qan_1_1_directed_tree__inherit__map" alt="Inheritance graph"></center>
33 <map name="qan_1_1_directed_tree__inherit__map">
34 <area href="classqan_1_1_layout.html" shape="rect" coords="25,7,116,34" alt="">
35 </map>
36 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for qan::DirectedTree:<p><center><img src="classqan_1_1_directed_tree__coll__graph.png" border="0" usemap="#qan_1_1_directed_tree__coll__map" alt="Collaboration graph"></center>
37 <map name="qan_1_1_directed_tree__coll__map">
38 <area href="classqan_1_1_layout.html" shape="rect" coords="7,7,97,34" alt="">
39 <area href="classqan_1_1_vector_f.html" shape="rect" coords="121,7,220,34" alt="">
40 </map>
41 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classqan_1_1_directed_tree-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
42 <tr><td></td></tr>
43 <tr><td colspan="2"><br><h2>DirectedTree Constructor/Destructor</h2></td></tr>
44 <tr><td colspan="2"><br><br></td></tr>
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation</a> { <a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b3c37dc5ae728398d93f40adf644804bb">NONE</a> = 0,
46 <a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b1ef803fbbe0e222aeefaa4191784d57a">HORIZONTAL</a> = 1,
47 <a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029beec0e4d89beeaa2160046a071be1b7ef">VERTICAL</a> = 2
48 }</td></tr>
50 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Define layout orientation. <a href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">More...</a><br></td></tr>
51 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#52c077e9f3a645ebcb30a9507c02b104">_origin</a></td></tr>
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#19c5dedc68143901d0718a1772662f48">DirectedTree</a> (const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;spacing, <a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation</a> orientation)</td></tr>
55 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classqan_1_1_directed_tree.html">DirectedTree</a> constructor with orientation initialization. <a href="#19c5dedc68143901d0718a1772662f48"></a><br></td></tr>
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#966c67e44bbf682c4831a566e51947f4">DirectedTree</a> (const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;origin, const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;spacing, <a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation</a> orientation)</td></tr>
58 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classqan_1_1_directed_tree.html">DirectedTree</a> constructor with origin and orientation initialization. <a href="#966c67e44bbf682c4831a566e51947f4"></a><br></td></tr>
59 <tr><td colspan="2"><br><h2>Hierarchy Layout Generation Management</h2></td></tr>
60 <tr><td colspan="2"><br><br></td></tr>
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#cf9394cfb86bb9c16c18b94f5a0a42e5">_stopRecursion</a></td></tr>
63 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicate that the algorithm execution is canceled and that the layout algorithm recusrion must stop. <a href="#cf9394cfb86bb9c16c18b94f5a0a42e5"></a><br></td></tr>
64 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#d550f2cf9cb25024b60572169760a233">_spacing</a></td></tr>
66 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Spacing on x and y between tree nodes. <a href="#d550f2cf9cb25024b60572169760a233"></a><br></td></tr>
67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#5c5cfbbbd0d7ba6b45cb8f43d191fb7b">_orientation</a></td></tr>
69 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generated tree orientation. <a href="#5c5cfbbbd0d7ba6b45cb8f43d191fb7b"></a><br></td></tr>
70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#e9c4ee5cc15abd689001b6e89d7fe4cd">_marked</a></td></tr>
72 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Container for already laid out nodes. <a href="#e9c4ee5cc15abd689001b6e89d7fe4cd"></a><br></td></tr>
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#53b71d73980335f6c947c633c64f764f">layout</a> (<a class="el" href="classqan_1_1_graph_t.html">Graph</a> &amp;graph, <a class="el" href="classqan_1_1_grid_item.html">GridItem</a> &amp;gridItem, QRectF r, QProgressDialog *progress=0, int step=-1)</td></tr>
75 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classqan_1_1_layout.html">Layout</a> a graph as a hierarchy tree. <a href="#53b71d73980335f6c947c633c64f764f"></a><br></td></tr>
76 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#110e4a3dfaddbcade97e7fe2da68d95f">layout</a> (<a class="el" href="classqan_1_1_node.html">Node</a> &amp;node, <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;bbox, int depth, QProgressDialog *progress=0, int step=0)</td></tr>
78 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classqan_1_1_layout.html">Layout</a> a node hierarchy as a hierarchy tree. <a href="#110e4a3dfaddbcade97e7fe2da68d95f"></a><br></td></tr>
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#f003f3bbcbdcefac4f43b4e1d98dd161">transpose</a> (<a class="el" href="classqan_1_1_graph_t.html">Graph</a> &amp;graph)</td></tr>
81 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Invert the x/y coordinates to set the desired orientation. <a href="#f003f3bbcbdcefac4f43b4e1d98dd161"></a><br></td></tr>
82 <tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#08b761a8a982932c1964ea2396a2770a">getXSpacing</a> () const</td></tr>
84 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 'x' horizontal spacing according to the current orientation. <a href="#08b761a8a982932c1964ea2396a2770a"></a><br></td></tr>
85 <tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#73cb0e78fd1fa7bcadb331ab994d065b">getYSpacing</a> () const</td></tr>
87 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 'y' vertical spacing according to the current orientation. <a href="#73cb0e78fd1fa7bcadb331ab994d065b"></a><br></td></tr>
88 <tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#79b7ae878de60262d42d0d2300260c7d">getXOrigin</a> () const</td></tr>
90 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 'x' horizontal origin according to the current orientation. <a href="#79b7ae878de60262d42d0d2300260c7d"></a><br></td></tr>
91 <tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#523c3bdc8abcd7386e968ce904466f42">getYOrigin</a> () const</td></tr>
93 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 'y' vertical origin according to the current orientation. <a href="#523c3bdc8abcd7386e968ce904466f42"></a><br></td></tr>
94 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#72419ad61c9902b5a9a49d52992d2790">stopRecursion</a> ()</td></tr>
96 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Force the tree layout algorithm to stop recursion. <a href="#72419ad61c9902b5a9a49d52992d2790"></a><br></td></tr>
97 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_directed_tree.html#433603305cafb473d5611cce84513503">getStopRecusrion</a> () const</td></tr>
99 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the value of the stop recursion flag. <a href="#433603305cafb473d5611cce84513503"></a><br></td></tr>
100 </table>
101 <hr><a name="_details"></a><h2>Detailed Description</h2>
102 <a class="el" href="classqan_1_1_layout.html">Layout</a> an undirected graph as a directed top-down tree.
104 <hr><h2>Member Enumeration Documentation</h2>
105 <a class="anchor" name="aa633626a6dc865a32e180075581029b"></a><!-- doxytag: member="qan::DirectedTree::Orientation" ref="aa633626a6dc865a32e180075581029b" args="" -->
106 <div class="memitem">
107 <div class="memproto">
108 <table class="memname">
109 <tr>
110 <td class="memname">enum <a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">qan::DirectedTree::Orientation</a> </td>
111 </tr>
112 </table>
113 </div>
114 <div class="memdoc">
117 Define layout orientation.
119 <dl compact><dt><b>Enumerator: </b></dt><dd>
120 <table border="0" cellspacing="2" cellpadding="0">
121 <tr><td valign="top"><em><a class="anchor" name="aa633626a6dc865a32e180075581029b3c37dc5ae728398d93f40adf644804bb"></a><!-- doxytag: member="NONE" ref="aa633626a6dc865a32e180075581029b3c37dc5ae728398d93f40adf644804bb" args="" -->NONE</em>&nbsp;</td><td>
122 </td></tr>
123 <tr><td valign="top"><em><a class="anchor" name="aa633626a6dc865a32e180075581029b1ef803fbbe0e222aeefaa4191784d57a"></a><!-- doxytag: member="HORIZONTAL" ref="aa633626a6dc865a32e180075581029b1ef803fbbe0e222aeefaa4191784d57a" args="" -->HORIZONTAL</em>&nbsp;</td><td>
124 </td></tr>
125 <tr><td valign="top"><em><a class="anchor" name="aa633626a6dc865a32e180075581029beec0e4d89beeaa2160046a071be1b7ef"></a><!-- doxytag: member="VERTICAL" ref="aa633626a6dc865a32e180075581029beec0e4d89beeaa2160046a071be1b7ef" args="" -->VERTICAL</em>&nbsp;</td><td>
126 </td></tr>
127 </table>
128 </dl>
130 </div>
131 </div><p>
132 <hr><h2>Constructor &amp; Destructor Documentation</h2>
133 <a class="anchor" name="19c5dedc68143901d0718a1772662f48"></a><!-- doxytag: member="qan::DirectedTree::DirectedTree" ref="19c5dedc68143901d0718a1772662f48" args="(const VectorF &amp;spacing, Orientation orientation)" -->
134 <div class="memitem">
135 <div class="memproto">
136 <table class="memname">
137 <tr>
138 <td class="memname">qan::DirectedTree::DirectedTree </td>
139 <td>(</td>
140 <td class="paramtype">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td>
141 <td class="paramname"> <em>spacing</em>, </td>
142 </tr>
143 <tr>
144 <td class="paramkey"></td>
145 <td></td>
146 <td class="paramtype"><a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation</a>&nbsp;</td>
147 <td class="paramname"> <em>orientation</em></td><td>&nbsp;</td>
148 </tr>
149 <tr>
150 <td></td>
151 <td>)</td>
152 <td></td><td></td><td width="100%"><code> [inline]</code></td>
153 </tr>
154 </table>
155 </div>
156 <div class="memdoc">
159 <a class="el" href="classqan_1_1_directed_tree.html">DirectedTree</a> constructor with orientation initialization.
161 <dl compact><dt><b>Parameters:</b></dt><dd>
162 <table border="0" cellspacing="2" cellpadding="0">
163 <tr><td valign="top"></td><td valign="top"><em>spacing</em>&nbsp;</td><td>spacing between node on x and y (ex: 120, 70 with VERTICAL). </td></tr>
164 </table>
165 </dl>
167 </div>
168 </div><p>
169 <a class="anchor" name="966c67e44bbf682c4831a566e51947f4"></a><!-- doxytag: member="qan::DirectedTree::DirectedTree" ref="966c67e44bbf682c4831a566e51947f4" args="(const VectorF &amp;origin, const VectorF &amp;spacing, Orientation orientation)" -->
170 <div class="memitem">
171 <div class="memproto">
172 <table class="memname">
173 <tr>
174 <td class="memname">qan::DirectedTree::DirectedTree </td>
175 <td>(</td>
176 <td class="paramtype">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td>
177 <td class="paramname"> <em>origin</em>, </td>
178 </tr>
179 <tr>
180 <td class="paramkey"></td>
181 <td></td>
182 <td class="paramtype">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td>
183 <td class="paramname"> <em>spacing</em>, </td>
184 </tr>
185 <tr>
186 <td class="paramkey"></td>
187 <td></td>
188 <td class="paramtype"><a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation</a>&nbsp;</td>
189 <td class="paramname"> <em>orientation</em></td><td>&nbsp;</td>
190 </tr>
191 <tr>
192 <td></td>
193 <td>)</td>
194 <td></td><td></td><td width="100%"><code> [inline]</code></td>
195 </tr>
196 </table>
197 </div>
198 <div class="memdoc">
201 <a class="el" href="classqan_1_1_directed_tree.html">DirectedTree</a> constructor with origin and orientation initialization.
203 <dl compact><dt><b>Parameters:</b></dt><dd>
204 <table border="0" cellspacing="2" cellpadding="0">
205 <tr><td valign="top"></td><td valign="top"><em>spacing</em>&nbsp;</td><td>spacing between node on x and y (ex: 120, 70 with VERTICAL). </td></tr>
206 </table>
207 </dl>
209 </div>
210 </div><p>
211 <hr><h2>Member Function Documentation</h2>
212 <a class="anchor" name="53b71d73980335f6c947c633c64f764f"></a><!-- doxytag: member="qan::DirectedTree::layout" ref="53b71d73980335f6c947c633c64f764f" args="(Graph &amp;graph, GridItem &amp;gridItem, QRectF r, QProgressDialog *progress=0, int step=-1)" -->
213 <div class="memitem">
214 <div class="memproto">
215 <table class="memname">
216 <tr>
217 <td class="memname">void qan::DirectedTree::layout </td>
218 <td>(</td>
219 <td class="paramtype"><a class="el" href="classqan_1_1_graph_t.html">Graph</a> &amp;&nbsp;</td>
220 <td class="paramname"> <em>graph</em>, </td>
221 </tr>
222 <tr>
223 <td class="paramkey"></td>
224 <td></td>
225 <td class="paramtype"><a class="el" href="classqan_1_1_grid_item.html">GridItem</a> &amp;&nbsp;</td>
226 <td class="paramname"> <em>gridItem</em>, </td>
227 </tr>
228 <tr>
229 <td class="paramkey"></td>
230 <td></td>
231 <td class="paramtype">QRectF&nbsp;</td>
232 <td class="paramname"> <em>r</em>, </td>
233 </tr>
234 <tr>
235 <td class="paramkey"></td>
236 <td></td>
237 <td class="paramtype">QProgressDialog *&nbsp;</td>
238 <td class="paramname"> <em>progress</em> = <code>0</code>, </td>
239 </tr>
240 <tr>
241 <td class="paramkey"></td>
242 <td></td>
243 <td class="paramtype">int&nbsp;</td>
244 <td class="paramname"> <em>step</em> = <code>-1</code></td><td>&nbsp;</td>
245 </tr>
246 <tr>
247 <td></td>
248 <td>)</td>
249 <td></td><td></td><td width="100%"><code> [virtual]</code></td>
250 </tr>
251 </table>
252 </div>
253 <div class="memdoc">
256 <a class="el" href="classqan_1_1_layout.html">Layout</a> a graph as a hierarchy tree.
260 Implements <a class="el" href="classqan_1_1_layout.html#5e008c1d239f08ec9d37299f99ca88ab">qan::Layout</a>.
261 </div>
262 </div><p>
263 <a class="anchor" name="110e4a3dfaddbcade97e7fe2da68d95f"></a><!-- doxytag: member="qan::DirectedTree::layout" ref="110e4a3dfaddbcade97e7fe2da68d95f" args="(Node &amp;node, VectorF &amp;bbox, int depth, QProgressDialog *progress=0, int step=0)" -->
264 <div class="memitem">
265 <div class="memproto">
266 <table class="memname">
267 <tr>
268 <td class="memname">void qan::DirectedTree::layout </td>
269 <td>(</td>
270 <td class="paramtype"><a class="el" href="classqan_1_1_node.html">Node</a> &amp;&nbsp;</td>
271 <td class="paramname"> <em>node</em>, </td>
272 </tr>
273 <tr>
274 <td class="paramkey"></td>
275 <td></td>
276 <td class="paramtype"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td>
277 <td class="paramname"> <em>bbox</em>, </td>
278 </tr>
279 <tr>
280 <td class="paramkey"></td>
281 <td></td>
282 <td class="paramtype">int&nbsp;</td>
283 <td class="paramname"> <em>depth</em>, </td>
284 </tr>
285 <tr>
286 <td class="paramkey"></td>
287 <td></td>
288 <td class="paramtype">QProgressDialog *&nbsp;</td>
289 <td class="paramname"> <em>progress</em> = <code>0</code>, </td>
290 </tr>
291 <tr>
292 <td class="paramkey"></td>
293 <td></td>
294 <td class="paramtype">int&nbsp;</td>
295 <td class="paramname"> <em>step</em> = <code>0</code></td><td>&nbsp;</td>
296 </tr>
297 <tr>
298 <td></td>
299 <td>)</td>
300 <td></td><td></td><td width="100%"><code> [protected]</code></td>
301 </tr>
302 </table>
303 </div>
304 <div class="memdoc">
307 <a class="el" href="classqan_1_1_layout.html">Layout</a> a node hierarchy as a hierarchy tree.
310 </div>
311 </div><p>
312 <a class="anchor" name="f003f3bbcbdcefac4f43b4e1d98dd161"></a><!-- doxytag: member="qan::DirectedTree::transpose" ref="f003f3bbcbdcefac4f43b4e1d98dd161" args="(Graph &amp;graph)" -->
313 <div class="memitem">
314 <div class="memproto">
315 <table class="memname">
316 <tr>
317 <td class="memname">void qan::DirectedTree::transpose </td>
318 <td>(</td>
319 <td class="paramtype"><a class="el" href="classqan_1_1_graph_t.html">Graph</a> &amp;&nbsp;</td>
320 <td class="paramname"> <em>graph</em> </td>
321 <td>&nbsp;)&nbsp;</td>
322 <td width="100%"><code> [static, protected]</code></td>
323 </tr>
324 </table>
325 </div>
326 <div class="memdoc">
329 Invert the x/y coordinates to set the desired orientation.
332 </div>
333 </div><p>
334 <a class="anchor" name="08b761a8a982932c1964ea2396a2770a"></a><!-- doxytag: member="qan::DirectedTree::getXSpacing" ref="08b761a8a982932c1964ea2396a2770a" args="() const" -->
335 <div class="memitem">
336 <div class="memproto">
337 <table class="memname">
338 <tr>
339 <td class="memname">float qan::DirectedTree::getXSpacing </td>
340 <td>(</td>
341 <td class="paramname"> </td>
342 <td>&nbsp;)&nbsp;</td>
343 <td width="100%"> const<code> [inline, private]</code></td>
344 </tr>
345 </table>
346 </div>
347 <div class="memdoc">
350 Get the 'x' horizontal spacing according to the current orientation.
353 </div>
354 </div><p>
355 <a class="anchor" name="73cb0e78fd1fa7bcadb331ab994d065b"></a><!-- doxytag: member="qan::DirectedTree::getYSpacing" ref="73cb0e78fd1fa7bcadb331ab994d065b" args="() const" -->
356 <div class="memitem">
357 <div class="memproto">
358 <table class="memname">
359 <tr>
360 <td class="memname">float qan::DirectedTree::getYSpacing </td>
361 <td>(</td>
362 <td class="paramname"> </td>
363 <td>&nbsp;)&nbsp;</td>
364 <td width="100%"> const<code> [inline, private]</code></td>
365 </tr>
366 </table>
367 </div>
368 <div class="memdoc">
371 Get the 'y' vertical spacing according to the current orientation.
374 </div>
375 </div><p>
376 <a class="anchor" name="79b7ae878de60262d42d0d2300260c7d"></a><!-- doxytag: member="qan::DirectedTree::getXOrigin" ref="79b7ae878de60262d42d0d2300260c7d" args="() const" -->
377 <div class="memitem">
378 <div class="memproto">
379 <table class="memname">
380 <tr>
381 <td class="memname">float qan::DirectedTree::getXOrigin </td>
382 <td>(</td>
383 <td class="paramname"> </td>
384 <td>&nbsp;)&nbsp;</td>
385 <td width="100%"> const<code> [inline, private]</code></td>
386 </tr>
387 </table>
388 </div>
389 <div class="memdoc">
392 Get the 'x' horizontal origin according to the current orientation.
395 </div>
396 </div><p>
397 <a class="anchor" name="523c3bdc8abcd7386e968ce904466f42"></a><!-- doxytag: member="qan::DirectedTree::getYOrigin" ref="523c3bdc8abcd7386e968ce904466f42" args="() const" -->
398 <div class="memitem">
399 <div class="memproto">
400 <table class="memname">
401 <tr>
402 <td class="memname">float qan::DirectedTree::getYOrigin </td>
403 <td>(</td>
404 <td class="paramname"> </td>
405 <td>&nbsp;)&nbsp;</td>
406 <td width="100%"> const<code> [inline, private]</code></td>
407 </tr>
408 </table>
409 </div>
410 <div class="memdoc">
413 Get the 'y' vertical origin according to the current orientation.
416 </div>
417 </div><p>
418 <a class="anchor" name="72419ad61c9902b5a9a49d52992d2790"></a><!-- doxytag: member="qan::DirectedTree::stopRecursion" ref="72419ad61c9902b5a9a49d52992d2790" args="()" -->
419 <div class="memitem">
420 <div class="memproto">
421 <table class="memname">
422 <tr>
423 <td class="memname">void qan::DirectedTree::stopRecursion </td>
424 <td>(</td>
425 <td class="paramname"> </td>
426 <td>&nbsp;)&nbsp;</td>
427 <td width="100%"><code> [inline, private]</code></td>
428 </tr>
429 </table>
430 </div>
431 <div class="memdoc">
434 Force the tree layout algorithm to stop recursion.
437 </div>
438 </div><p>
439 <a class="anchor" name="433603305cafb473d5611cce84513503"></a><!-- doxytag: member="qan::DirectedTree::getStopRecusrion" ref="433603305cafb473d5611cce84513503" args="() const" -->
440 <div class="memitem">
441 <div class="memproto">
442 <table class="memname">
443 <tr>
444 <td class="memname">bool qan::DirectedTree::getStopRecusrion </td>
445 <td>(</td>
446 <td class="paramname"> </td>
447 <td>&nbsp;)&nbsp;</td>
448 <td width="100%"> const<code> [inline, private]</code></td>
449 </tr>
450 </table>
451 </div>
452 <div class="memdoc">
455 Return the value of the stop recursion flag.
458 </div>
459 </div><p>
460 <hr><h2>Member Data Documentation</h2>
461 <a class="anchor" name="52c077e9f3a645ebcb30a9507c02b104"></a><!-- doxytag: member="qan::DirectedTree::_origin" ref="52c077e9f3a645ebcb30a9507c02b104" args="" -->
462 <div class="memitem">
463 <div class="memproto">
464 <table class="memname">
465 <tr>
466 <td class="memname"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a> <a class="el" href="classqan_1_1_directed_tree.html#52c077e9f3a645ebcb30a9507c02b104">qan::DirectedTree::_origin</a><code> [private]</code> </td>
467 </tr>
468 </table>
469 </div>
470 <div class="memdoc">
474 </div>
475 </div><p>
476 <a class="anchor" name="d550f2cf9cb25024b60572169760a233"></a><!-- doxytag: member="qan::DirectedTree::_spacing" ref="d550f2cf9cb25024b60572169760a233" args="" -->
477 <div class="memitem">
478 <div class="memproto">
479 <table class="memname">
480 <tr>
481 <td class="memname"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a> <a class="el" href="classqan_1_1_directed_tree.html#d550f2cf9cb25024b60572169760a233">qan::DirectedTree::_spacing</a><code> [protected]</code> </td>
482 </tr>
483 </table>
484 </div>
485 <div class="memdoc">
488 Spacing on x and y between tree nodes.
491 </div>
492 </div><p>
493 <a class="anchor" name="5c5cfbbbd0d7ba6b45cb8f43d191fb7b"></a><!-- doxytag: member="qan::DirectedTree::_orientation" ref="5c5cfbbbd0d7ba6b45cb8f43d191fb7b" args="" -->
494 <div class="memitem">
495 <div class="memproto">
496 <table class="memname">
497 <tr>
498 <td class="memname"><a class="el" href="classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation</a> <a class="el" href="classqan_1_1_directed_tree.html#5c5cfbbbd0d7ba6b45cb8f43d191fb7b">qan::DirectedTree::_orientation</a><code> [protected]</code> </td>
499 </tr>
500 </table>
501 </div>
502 <div class="memdoc">
505 Generated tree orientation.
508 </div>
509 </div><p>
510 <a class="anchor" name="e9c4ee5cc15abd689001b6e89d7fe4cd"></a><!-- doxytag: member="qan::DirectedTree::_marked" ref="e9c4ee5cc15abd689001b6e89d7fe4cd" args="" -->
511 <div class="memitem">
512 <div class="memproto">
513 <table class="memname">
514 <tr>
515 <td class="memname"><a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> <a class="el" href="classqan_1_1_directed_tree.html#e9c4ee5cc15abd689001b6e89d7fe4cd">qan::DirectedTree::_marked</a><code> [protected]</code> </td>
516 </tr>
517 </table>
518 </div>
519 <div class="memdoc">
522 Container for already laid out nodes.
525 </div>
526 </div><p>
527 <a class="anchor" name="cf9394cfb86bb9c16c18b94f5a0a42e5"></a><!-- doxytag: member="qan::DirectedTree::_stopRecursion" ref="cf9394cfb86bb9c16c18b94f5a0a42e5" args="" -->
528 <div class="memitem">
529 <div class="memproto">
530 <table class="memname">
531 <tr>
532 <td class="memname">bool <a class="el" href="classqan_1_1_directed_tree.html#cf9394cfb86bb9c16c18b94f5a0a42e5">qan::DirectedTree::_stopRecursion</a><code> [private]</code> </td>
533 </tr>
534 </table>
535 </div>
536 <div class="memdoc">
539 Indicate that the algorithm execution is canceled and that the layout algorithm recusrion must stop.
542 </div>
543 </div><p>
544 <hr>The documentation for this class was generated from the following files:<ul>
545 <li>C:/projects/qanava-0.1.0/src/<a class="el" href="qan_layout_8h.html">qanLayout.h</a><li>C:/projects/qanava-0.1.0/src/<a class="el" href="qan_layout_8cpp.html">qanLayout.cpp</a></ul>
547 <hr style="width: 100%; height: 2px;">
548 <table width="95%" height="48" border="0"
549 cellpadding="0" cellspacing="0" style="text-align: left; width: 95%; height: 31px;">
550 <tbody>
551 <tr>
552 <td height="48" style="font-family: Helvetica,Arial,sans-serif;">
553 <dl>
554 <dt><a href="http://www.libqanava.org"><font size="2">www.libqanava.org</font></a><font size="2">
555 Qanava - QCanvas Avanc&eacute;</font></dt>
556 </dl>
557 </td>
558 <td style="vertical-align: middle; text-align: right;"><span
559 style="font-family: Helvetica,Arial,sans-serif;"><font size="2">Generated by</font></span>
561 href="http://www.doxygen.org"><img alt="Doxygen logo"
562 src="../images/doxygen.png"
563 style="border: 0px solid ; width: 100px; height: 45px;" align="middle"></a></td>
564 </tr>
565 </tbody>
566 </table>