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">
7 <!-- Generated by Doxygen 1.5.1-p1 -->
10 <li><a href=
"index.html"><span>Main
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
Pages
</span></a></li>
19 <li><a href=
"annotated.html"><span>Class
List
</span></a></li>
20 <li><a href=
"hierarchy.html"><span>Class
Hierarchy
</span></a></li>
21 <li><a href=
"functions.html"><span>Class
Members
</span></a></li>
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>
28 <code>#include
<qanLayout.h
></code>
30 Inherits
<a class=
"el" href=
"classqan_1_1_layout.html">qan::Layout
</a>.
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=
"">
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=
"">
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">
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
</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
50 <tr><td class=
"mdescLeft"> </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> </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"> </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> &spacing,
<a class=
"el" href=
"classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation
</a> orientation)
</td></tr>
55 <tr><td class=
"mdescLeft"> </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"> </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> &origin, const
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> &spacing,
<a class=
"el" href=
"classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation
</a> orientation)
</td></tr>
58 <tr><td class=
"mdescLeft"> </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
</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"> </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> </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"> </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> </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"> </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> </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"> </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
</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> &graph,
<a class=
"el" href=
"classqan_1_1_grid_item.html">GridItem
</a> &gridItem, QRectF r, QProgressDialog *progress=
0, int step=-
1)
</td></tr>
75 <tr><td class=
"mdescLeft"> </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
</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> &node,
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> &bbox, int depth, QProgressDialog *progress=
0, int step=
0)
</td></tr>
78 <tr><td class=
"mdescLeft"> </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
</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> &graph)
</td></tr>
81 <tr><td class=
"mdescLeft"> </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
</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"> </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
</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"> </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
</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"> </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
</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"> </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
</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"> </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
</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"> </td><td class=
"mdescRight">Return the value of the stop recursion flag.
<a href=
"#433603305cafb473d5611cce84513503"></a><br></td></tr>
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">
110 <td class=
"memname">enum
<a class=
"el" href=
"classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">qan::DirectedTree::Orientation
</a> </td>
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> </td><td>
123 <tr><td valign=
"top"><em><a class=
"anchor" name=
"aa633626a6dc865a32e180075581029b1ef803fbbe0e222aeefaa4191784d57a"></a><!-- doxytag: member="HORIZONTAL" ref="aa633626a6dc865a32e180075581029b1ef803fbbe0e222aeefaa4191784d57a" args="" -->HORIZONTAL
</em> </td><td>
125 <tr><td valign=
"top"><em><a class=
"anchor" name=
"aa633626a6dc865a32e180075581029beec0e4d89beeaa2160046a071be1b7ef"></a><!-- doxytag: member="VERTICAL" ref="aa633626a6dc865a32e180075581029beec0e4d89beeaa2160046a071be1b7ef" args="" -->VERTICAL
</em> </td><td>
132 <hr><h2>Constructor
& Destructor Documentation
</h2>
133 <a class=
"anchor" name=
"19c5dedc68143901d0718a1772662f48"></a><!-- doxytag: member="qan::DirectedTree::DirectedTree" ref="19c5dedc68143901d0718a1772662f48" args="(const VectorF &spacing, Orientation orientation)" -->
134 <div class=
"memitem">
135 <div class=
"memproto">
136 <table class=
"memname">
138 <td class=
"memname">qan::DirectedTree::DirectedTree
</td>
140 <td class=
"paramtype">const
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> & </td>
141 <td class=
"paramname"> <em>spacing
</em>,
</td>
144 <td class=
"paramkey"></td>
146 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation
</a> </td>
147 <td class=
"paramname"> <em>orientation
</em></td><td> </td>
152 <td></td><td></td><td width=
"100%"><code> [inline]
</code></td>
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> </td><td>spacing between node on x and y (ex:
120,
70 with VERTICAL).
</td></tr>
169 <a class=
"anchor" name=
"966c67e44bbf682c4831a566e51947f4"></a><!-- doxytag: member="qan::DirectedTree::DirectedTree" ref="966c67e44bbf682c4831a566e51947f4" args="(const VectorF &origin, const VectorF &spacing, Orientation orientation)" -->
170 <div class=
"memitem">
171 <div class=
"memproto">
172 <table class=
"memname">
174 <td class=
"memname">qan::DirectedTree::DirectedTree
</td>
176 <td class=
"paramtype">const
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> & </td>
177 <td class=
"paramname"> <em>origin
</em>,
</td>
180 <td class=
"paramkey"></td>
182 <td class=
"paramtype">const
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> & </td>
183 <td class=
"paramname"> <em>spacing
</em>,
</td>
186 <td class=
"paramkey"></td>
188 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_directed_tree.html#aa633626a6dc865a32e180075581029b">Orientation
</a> </td>
189 <td class=
"paramname"> <em>orientation
</em></td><td> </td>
194 <td></td><td></td><td width=
"100%"><code> [inline]
</code></td>
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> </td><td>spacing between node on x and y (ex:
120,
70 with VERTICAL).
</td></tr>
211 <hr><h2>Member Function Documentation
</h2>
212 <a class=
"anchor" name=
"53b71d73980335f6c947c633c64f764f"></a><!-- doxytag: member="qan::DirectedTree::layout" ref="53b71d73980335f6c947c633c64f764f" args="(Graph &graph, GridItem &gridItem, QRectF r, QProgressDialog *progress=0, int step=-1)" -->
213 <div class=
"memitem">
214 <div class=
"memproto">
215 <table class=
"memname">
217 <td class=
"memname">void qan::DirectedTree::layout
</td>
219 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_graph_t.html">Graph
</a> & </td>
220 <td class=
"paramname"> <em>graph
</em>,
</td>
223 <td class=
"paramkey"></td>
225 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_grid_item.html">GridItem
</a> & </td>
226 <td class=
"paramname"> <em>gridItem
</em>,
</td>
229 <td class=
"paramkey"></td>
231 <td class=
"paramtype">QRectF
</td>
232 <td class=
"paramname"> <em>r
</em>,
</td>
235 <td class=
"paramkey"></td>
237 <td class=
"paramtype">QProgressDialog *
</td>
238 <td class=
"paramname"> <em>progress
</em> =
<code>0</code>,
</td>
241 <td class=
"paramkey"></td>
243 <td class=
"paramtype">int
</td>
244 <td class=
"paramname"> <em>step
</em> =
<code>-
1</code></td><td> </td>
249 <td></td><td></td><td width=
"100%"><code> [virtual]
</code></td>
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>.
263 <a class=
"anchor" name=
"110e4a3dfaddbcade97e7fe2da68d95f"></a><!-- doxytag: member="qan::DirectedTree::layout" ref="110e4a3dfaddbcade97e7fe2da68d95f" args="(Node &node, VectorF &bbox, int depth, QProgressDialog *progress=0, int step=0)" -->
264 <div class=
"memitem">
265 <div class=
"memproto">
266 <table class=
"memname">
268 <td class=
"memname">void qan::DirectedTree::layout
</td>
270 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node.html">Node
</a> & </td>
271 <td class=
"paramname"> <em>node
</em>,
</td>
274 <td class=
"paramkey"></td>
276 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> & </td>
277 <td class=
"paramname"> <em>bbox
</em>,
</td>
280 <td class=
"paramkey"></td>
282 <td class=
"paramtype">int
</td>
283 <td class=
"paramname"> <em>depth
</em>,
</td>
286 <td class=
"paramkey"></td>
288 <td class=
"paramtype">QProgressDialog *
</td>
289 <td class=
"paramname"> <em>progress
</em> =
<code>0</code>,
</td>
292 <td class=
"paramkey"></td>
294 <td class=
"paramtype">int
</td>
295 <td class=
"paramname"> <em>step
</em> =
<code>0</code></td><td> </td>
300 <td></td><td></td><td width=
"100%"><code> [protected]
</code></td>
307 <a class=
"el" href=
"classqan_1_1_layout.html">Layout
</a> a node hierarchy as a hierarchy tree.
312 <a class=
"anchor" name=
"f003f3bbcbdcefac4f43b4e1d98dd161"></a><!-- doxytag: member="qan::DirectedTree::transpose" ref="f003f3bbcbdcefac4f43b4e1d98dd161" args="(Graph &graph)" -->
313 <div class=
"memitem">
314 <div class=
"memproto">
315 <table class=
"memname">
317 <td class=
"memname">void qan::DirectedTree::transpose
</td>
319 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_graph_t.html">Graph
</a> & </td>
320 <td class=
"paramname"> <em>graph
</em> </td>
321 <td> )
</td>
322 <td width=
"100%"><code> [static, protected]
</code></td>
329 Invert the x/y coordinates to set the desired orientation.
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">
339 <td class=
"memname">float qan::DirectedTree::getXSpacing
</td>
341 <td class=
"paramname"> </td>
342 <td> )
</td>
343 <td width=
"100%"> const
<code> [inline, private]
</code></td>
350 Get the 'x' horizontal spacing according to the current orientation.
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">
360 <td class=
"memname">float qan::DirectedTree::getYSpacing
</td>
362 <td class=
"paramname"> </td>
363 <td> )
</td>
364 <td width=
"100%"> const
<code> [inline, private]
</code></td>
371 Get the 'y' vertical spacing according to the current orientation.
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">
381 <td class=
"memname">float qan::DirectedTree::getXOrigin
</td>
383 <td class=
"paramname"> </td>
384 <td> )
</td>
385 <td width=
"100%"> const
<code> [inline, private]
</code></td>
392 Get the 'x' horizontal origin according to the current orientation.
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">
402 <td class=
"memname">float qan::DirectedTree::getYOrigin
</td>
404 <td class=
"paramname"> </td>
405 <td> )
</td>
406 <td width=
"100%"> const
<code> [inline, private]
</code></td>
413 Get the 'y' vertical origin according to the current orientation.
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">
423 <td class=
"memname">void qan::DirectedTree::stopRecursion
</td>
425 <td class=
"paramname"> </td>
426 <td> )
</td>
427 <td width=
"100%"><code> [inline, private]
</code></td>
434 Force the tree layout algorithm to stop recursion.
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">
444 <td class=
"memname">bool qan::DirectedTree::getStopRecusrion
</td>
446 <td class=
"paramname"> </td>
447 <td> )
</td>
448 <td width=
"100%"> const
<code> [inline, private]
</code></td>
455 Return the value of the stop recursion flag.
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">
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>
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">
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>
488 Spacing on x and y between tree nodes.
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">
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>
505 Generated tree orientation.
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">
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>
522 Container for already laid out nodes.
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">
532 <td class=
"memname">bool
<a class=
"el" href=
"classqan_1_1_directed_tree.html#cf9394cfb86bb9c16c18b94f5a0a42e5">qan::DirectedTree::_stopRecursion
</a><code> [private]
</code> </td>
539 Indicate that the algorithm execution is canceled and that the layout algorithm recusrion must stop.
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;">
552 <td height=
"48" style=
"font-family: Helvetica,Arial,sans-serif;">
554 <dt><a href=
"http://www.libqanava.org"><font size=
"2">www.libqanava.org
</font></a><font size=
"2">
555 Qanava - QCanvas Avanc
é</font></dt>
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>