<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: vtkQtTreeView Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkQtTreeView Class Reference</h1><!-- doxytag: class="vtkQtTreeView" --><!-- doxytag: inherits="vtkQtItemView" --><code>#include <<a class="el" href="a04595.html">vtkQtTreeView.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkQtTreeView:</div> <div class="dynsection"> <p><center><img src="a13877.png" border="0" usemap="#a13878" alt="Inheritance graph"></center> <map name="a13878"> <area shape="rect" href="a01399.html" title="Superclass for Qt widget-based views." alt="" coords="7,229,116,256"><area shape="rect" href="a01830.html" title="The superclass for all views." alt="" coords="27,155,96,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="22,80,102,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,5,116,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkQtTreeView:</div> <div class="dynsection"> <p><center><img src="a13879.png" border="0" usemap="#a13880" alt="Collaboration graph"></center> <map name="a13880"> <area shape="rect" href="a01399.html" title="Superclass for Qt widget-based views." alt="" coords="3256,844,3366,871"><area shape="rect" href="a01408.html" title="vtkQtSignalHandler" alt="" coords="3536,860,3678,887"><area shape="rect" href="a01830.html" title="The superclass for all views." alt="" coords="1834,1216,1903,1243"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,704,524,731"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1052,856,1175,883"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="695,336,804,363"><area shape="rect" href="a00097.html" title="Iterates through adjacent vertices in a graph." alt="" coords="2356,683,2532,709"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1815,324,1922,351"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1064,480,1163,507"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1464,557,1563,584"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="675,573,824,600"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1464,397,1563,424"><area shape="rect" href="a01250.html" title="represent and manipulate 3D points" alt="" coords="1830,843,1907,869"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="850,1068,991,1095"><area shape="rect" href="a00433.html" title="helper for the vtkGraph class that allows the graph to be distributed across multiple..." alt="" coords="2352,847,2536,873"><area shape="rect" href="a00664.html" title="Internal representation of vtkGraph." alt="" coords="1251,748,1382,775"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,71,116,97"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,44,566,71"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="170,71,300,97"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,895,290,921"><area shape="rect" href="a00654.html" title="Base class for graph data types." alt="" coords="2094,772,2171,799"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2403,292,2486,319"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="2074,1035,2191,1061"><area shape="rect" href="a01619.html" title="Subclass of vtkAbstractArray that holds vtkStdStrings." alt="" coords="1459,1216,1568,1243"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1463,856,1564,883"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="394,97,575,124"><area shape="rect" href="a01607.html" title="Wrapper around vtkstd::string to keep symbols short." alt="" coords="1066,1221,1162,1248"><area shape="rect" href="a01330.html" title="Superclass for Qt model adapters." alt="" coords="2886,829,3075,856"><area shape="rect" href="a01425.html" title="Adapts a tree to a Qt item model." alt="" coords="3227,764,3395,791"><area shape="rect" href="a01138.html" title="vtkOutEdgeType" alt="" coords="2071,640,2194,667"><area shape="rect" href="a00445.html" title="vtkEdgeBase" alt="" coords="1818,640,1919,667"><area shape="rect" href="a00421.html" title="A directed graph." alt="" coords="2380,764,2508,791"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="2068,385,2196,412"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="1795,691,1942,717"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1016,425,1211,452"><area shape="rect" href="a01784.html" title="dynamic, self-adjusting array of unsigned char" alt="" coords="1788,1008,1948,1035"><area shape="rect" href="a00722.html" title="dynamic, self-adjusting array of vtkIdType" alt="" coords="1811,792,1926,819"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="1422,691,1606,717"><area shape="rect" href="a01741.html" title="A rooted tree data structure." alt="" coords="2947,764,3014,791"><area shape="rect" href="a00420.html" title="A rooted tree data structure." alt="" coords="2588,764,2759,791"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a13881.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A VTK view based on a Qt tree view. <p> <a class="el" href="a01426.html" title="A VTK view based on a Qt tree view.">vtkQtTreeView</a> is a VTK view using an underlying QTreeView.<p> <dl class="user" compact><dt><b>Thanks:</b></dt><dd>Thanks to Brian Wylie from Sandia National Laboratories for implementing this class </dd></dl> <p>Definition at line <a class="el" href="a04595.html#l00040">40</a> of file <a class="el" href="a04595.html">vtkQtTreeView.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01399.html">vtkQtItemView</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#7b4f09a85d7408a9229042709363419d">Superclass</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#9a051f0487a350dbabae72aef3558114">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#bc3771bb0f8c25c40a7b31e425b7940c">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#c6137413c6b2a364f2588dcdb12cd880">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#c8153fb947eb3e90e6ed085bdc0c98e5">SetItemView</a> (QAbstractItemView *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#de284e7788dab5084f451cc65675e791">SetItemModelAdapter</a> (<a class="el" href="a01330.html">vtkQtAbstractModelAdapter</a> *qma)</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01426.html">vtkQtTreeView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#8de7e2bf9a4885fcd33865b998af485d">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#e9851796ce6b7b480b3c954a50ee13a4">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01426.html">vtkQtTreeView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#fb00c815f6877eae62eab222033f6504">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#9b77e01d3c3bd3e830934a7fcd88c848">vtkQtTreeView</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01426.html#b8ff564b6aaad43f5f8527ec3ae85a22">~vtkQtTreeView</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="7b4f09a85d7408a9229042709363419d"></a><!-- doxytag: member="vtkQtTreeView::Superclass" ref="7b4f09a85d7408a9229042709363419d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01399.html">vtkQtItemView</a> <a class="el" href="a01399.html">vtkQtTreeView::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01399.html#69cfb597e97affece1f1e2c4a715398a">vtkQtItemView</a>.</p> <p>Definition at line <a class="el" href="a04595.html#l00044">44</a> of file <a class="el" href="a04595.html">vtkQtTreeView.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="9b77e01d3c3bd3e830934a7fcd88c848"></a><!-- doxytag: member="vtkQtTreeView::vtkQtTreeView" ref="9b77e01d3c3bd3e830934a7fcd88c848" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtTreeView::vtkQtTreeView </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b8ff564b6aaad43f5f8527ec3ae85a22"></a><!-- doxytag: member="vtkQtTreeView::~vtkQtTreeView" ref="b8ff564b6aaad43f5f8527ec3ae85a22" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtTreeView::~vtkQtTreeView </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="8de7e2bf9a4885fcd33865b998af485d"></a><!-- doxytag: member="vtkQtTreeView::New" ref="8de7e2bf9a4885fcd33865b998af485d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01426.html">vtkQtTreeView</a>* vtkQtTreeView::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create an object with Debug turned off, modified time initialized to zero, and reference counting on. <p>Reimplemented from <a class="el" href="a01399.html#f00fb81122abff6abb3932782fe8e7e2">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="9a051f0487a350dbabae72aef3558114"></a><!-- doxytag: member="vtkQtTreeView::GetClassName" ref="9a051f0487a350dbabae72aef3558114" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkQtTreeView::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01399.html#8d2c0bf2ad30cd74aba1519b2b6afb80">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="e9851796ce6b7b480b3c954a50ee13a4"></a><!-- doxytag: member="vtkQtTreeView::IsTypeOf" ref="e9851796ce6b7b480b3c954a50ee13a4" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkQtTreeView::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a01399.html#8fa6f18e9955d52b1d7f3874cd2e69c1">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="bc3771bb0f8c25c40a7b31e425b7940c"></a><!-- doxytag: member="vtkQtTreeView::IsA" ref="bc3771bb0f8c25c40a7b31e425b7940c" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkQtTreeView::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a01399.html#cfe92798a0b9bfabc124120af49abebd">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="fb00c815f6877eae62eab222033f6504"></a><!-- doxytag: member="vtkQtTreeView::SafeDownCast" ref="fb00c815f6877eae62eab222033f6504" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01426.html">vtkQtTreeView</a>* vtkQtTreeView::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01399.html#e75b71b5c244587d77d516299baad69d">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="c6137413c6b2a364f2588dcdb12cd880"></a><!-- doxytag: member="vtkQtTreeView::PrintSelf" ref="c6137413c6b2a364f2588dcdb12cd880" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkQtTreeView::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a> </td> <td class="paramname"> <em>indent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. <p>Reimplemented from <a class="el" href="a01399.html#753824ca4794bf24cdf535aba288dc47">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="c8153fb947eb3e90e6ed085bdc0c98e5"></a><!-- doxytag: member="vtkQtTreeView::SetItemView" ref="c8153fb947eb3e90e6ed085bdc0c98e5" args="(QAbstractItemView *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkQtTreeView::SetItemView </td> <td>(</td> <td class="paramtype">QAbstractItemView * </td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the underlying Qt view. <p>Reimplemented from <a class="el" href="a01399.html#5e18c0f9ca55a50af0dacc55029ed4c1">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="de284e7788dab5084f451cc65675e791"></a><!-- doxytag: member="vtkQtTreeView::SetItemModelAdapter" ref="de284e7788dab5084f451cc65675e791" args="(vtkQtAbstractModelAdapter *qma)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkQtTreeView::SetItemModelAdapter </td> <td>(</td> <td class="paramtype"><a class="el" href="a01330.html">vtkQtAbstractModelAdapter</a> * </td> <td class="paramname"> <em>qma</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the underlying Qt model adapter. <p>Reimplemented from <a class="el" href="a01399.html#6e9680a70b2dbc6a8f3d59a2a96a806e">vtkQtItemView</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/GUISupport/Qt/<a class="el" href="a04595.html">vtkQtTreeView.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:29:23 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>