Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 4855

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!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: dox/Infovis/vtkSQLGraphReader.h Source File</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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>dox/Infovis/vtkSQLGraphReader.h</h1><a href="a03063.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  Program:   Visualization Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: vtkSQLGraphReader.h,v $</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span>
<a name="l00007"></a>00007 <span class="comment">  All rights reserved.</span>
<a name="l00008"></a>00008 <span class="comment">  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even</span>
<a name="l00011"></a>00011 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span>
<a name="l00012"></a>00012 <span class="comment">     PURPOSE.  See the above copyright notice for more information.</span>
<a name="l00013"></a>00013 <span class="comment"></span>
<a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span>
<a name="l00015"></a>00015 <span class="comment">/*-------------------------------------------------------------------------</span>
<a name="l00016"></a>00016 <span class="comment">  Copyright 2008 Sandia Corporation.</span>
<a name="l00017"></a>00017 <span class="comment">  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,</span>
<a name="l00018"></a>00018 <span class="comment">  the U.S. Government retains certain rights in this software.</span>
<a name="l00019"></a>00019 <span class="comment">-------------------------------------------------------------------------*/</span>
<a name="l00058"></a>00058 <span class="preprocessor">#ifndef __vtkSQLGraphReader_h</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#define __vtkSQLGraphReader_h</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00061"></a>00061 <span class="preprocessor">#include "<a class="code" href="a02264.html">vtkGraphAlgorithm.h</a>"</span>
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 <span class="keyword">class </span><a class="code" href="a01600.html" title="executes an sql query and retrieves results">vtkSQLQuery</a>;
<a name="l00064"></a>00064 
<a name="l00065"></a><a class="code" href="a01597.html">00065</a> <span class="keyword">class </span><a class="code" href="a02170.html#73f1c245b8811be3c4b76b0a89784e70">VTK_INFOVIS_EXPORT</a> <a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a> : <span class="keyword">public</span> <a class="code" href="a00656.html" title="Superclass for algorithms that produce only graph as output.">vtkGraphAlgorithm</a>
<a name="l00066"></a>00066 {
<a name="l00067"></a>00067 <span class="keyword">public</span>:
<a name="l00068"></a>00068   <span class="keyword">static</span> <a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a>* <a class="code" href="a00656.html#1cff1f253656090acf628631b4e0b36e">New</a>();
<a name="l00069"></a><a class="code" href="a01597.html#a12cf90fdf4065289c3e3b525bf04ae3">00069</a>   vtkTypeRevisionMacro(<a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a>,<a class="code" href="a00656.html" title="Superclass for algorithms that produce only graph as output.">vtkGraphAlgorithm</a>);
<a name="l00070"></a>00070   <span class="keywordtype">void</span> <a class="code" href="a00656.html#f107f75f6b708a81fe0bf11114824a71">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00071"></a>00071 
<a name="l00073"></a>00073 
<a name="l00075"></a>00075   vtkSetMacro(Directed, <span class="keywordtype">bool</span>);
<a name="l00076"></a>00076   vtkGetMacro(Directed, <span class="keywordtype">bool</span>);
<a name="l00077"></a>00077   vtkBooleanMacro(Directed, <span class="keywordtype">bool</span>);
<a name="l00079"></a>00079 
<a name="l00081"></a>00081 
<a name="l00082"></a>00082   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetVertexQuery(<a class="code" href="a01600.html" title="executes an sql query and retrieves results">vtkSQLQuery</a>* q);
<a name="l00083"></a>00083   vtkGetObjectMacro(VertexQuery, <a class="code" href="a01600.html" title="executes an sql query and retrieves results">vtkSQLQuery</a>);
<a name="l00085"></a>00085 
<a name="l00087"></a>00087 
<a name="l00088"></a>00088   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetEdgeQuery(<a class="code" href="a01600.html" title="executes an sql query and retrieves results">vtkSQLQuery</a>* q);
<a name="l00089"></a>00089   vtkGetObjectMacro(EdgeQuery, <a class="code" href="a01600.html" title="executes an sql query and retrieves results">vtkSQLQuery</a>);
<a name="l00091"></a>00091 
<a name="l00093"></a>00093 
<a name="l00095"></a>00095   vtkSetStringMacro(SourceField);
<a name="l00096"></a>00096   vtkGetStringMacro(SourceField);
<a name="l00098"></a>00098 
<a name="l00100"></a>00100 
<a name="l00102"></a>00102   vtkSetStringMacro(TargetField);
<a name="l00103"></a>00103   vtkGetStringMacro(TargetField);
<a name="l00105"></a>00105 
<a name="l00107"></a>00107 
<a name="l00108"></a>00108   vtkSetStringMacro(VertexIdField);
<a name="l00109"></a>00109   vtkGetStringMacro(VertexIdField);
<a name="l00111"></a>00111 
<a name="l00113"></a>00113 
<a name="l00114"></a>00114   vtkSetStringMacro(XField);
<a name="l00115"></a>00115   vtkGetStringMacro(XField);
<a name="l00117"></a>00117 
<a name="l00119"></a>00119 
<a name="l00120"></a>00120   vtkSetStringMacro(YField);
<a name="l00121"></a>00121   vtkGetStringMacro(YField);
<a name="l00123"></a>00123 
<a name="l00125"></a>00125 
<a name="l00126"></a>00126   vtkSetStringMacro(ZField);
<a name="l00127"></a>00127   vtkGetStringMacro(ZField);
<a name="l00129"></a>00129 
<a name="l00131"></a>00131 
<a name="l00136"></a>00136   vtkSetMacro(CollapseEdges, <span class="keywordtype">bool</span>);
<a name="l00137"></a>00137   vtkGetMacro(CollapseEdges, <span class="keywordtype">bool</span>);
<a name="l00138"></a>00138   vtkBooleanMacro(CollapseEdges, <span class="keywordtype">bool</span>);
<a name="l00140"></a>00140 
<a name="l00141"></a>00141 <span class="keyword">protected</span>:
<a name="l00142"></a>00142   <a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a>();
<a name="l00143"></a>00143   ~<a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a>();
<a name="l00144"></a>00144 
<a name="l00145"></a><a class="code" href="a01597.html#b858bf684d95d6fc5da5053f07ccf08f">00145</a>   <span class="keywordtype">bool</span> Directed;
<a name="l00146"></a><a class="code" href="a01597.html#86c2a68eea5c940ee68005b4186d06cf">00146</a>   <span class="keywordtype">bool</span> CollapseEdges;
<a name="l00147"></a><a class="code" href="a01597.html#dfa20e32b25540af542ae286ff04bfd3">00147</a>   <a class="code" href="a01600.html" title="executes an sql query and retrieves results">vtkSQLQuery</a>* EdgeQuery;
<a name="l00148"></a><a class="code" href="a01597.html#8823c7071bb87320a88aada694f41936">00148</a>   <a class="code" href="a01600.html" title="executes an sql query and retrieves results">vtkSQLQuery</a>* VertexQuery;
<a name="l00149"></a><a class="code" href="a01597.html#fbd2319056650857d2f3dff0ede7f1ed">00149</a>   <span class="keywordtype">char</span>* SourceField;
<a name="l00150"></a><a class="code" href="a01597.html#bcaa035292646ceaced043db163b4fe3">00150</a>   <span class="keywordtype">char</span>* TargetField;
<a name="l00151"></a><a class="code" href="a01597.html#cb5056deff46431b82bb0e35cd4cdbb1">00151</a>   <span class="keywordtype">char</span>* VertexIdField;
<a name="l00152"></a><a class="code" href="a01597.html#a07698e4320cd1867b0e6942a0fbd7a0">00152</a>   <span class="keywordtype">char</span>* XField;
<a name="l00153"></a><a class="code" href="a01597.html#4dd81e331ce42ece0613ed6a9063bdbb">00153</a>   <span class="keywordtype">char</span>* YField;
<a name="l00154"></a><a class="code" href="a01597.html#b248c15c14f1386fb734f5dc01cdc109">00154</a>   <span class="keywordtype">char</span>* ZField;
<a name="l00155"></a>00155 
<a name="l00156"></a>00156   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00656.html#adc44af7541c6076e3953a94e9477abf">RequestData</a>(
<a name="l00157"></a>00157     <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>*, 
<a name="l00158"></a>00158     <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>**, 
<a name="l00159"></a>00159     <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>*);
<a name="l00160"></a>00160 
<a name="l00161"></a>00161   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00656.html#669976498781eec4316b751702f9aa08">RequestDataObject</a>(
<a name="l00162"></a>00162     <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>*, 
<a name="l00163"></a>00163     <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>**, 
<a name="l00164"></a>00164     <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>*);
<a name="l00165"></a>00165 
<a name="l00166"></a>00166 <span class="keyword">private</span>:
<a name="l00167"></a>00167   <a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a>(<span class="keyword">const</span> <a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a>&amp;); <span class="comment">// Not implemented</span>
<a name="l00168"></a>00168   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01597.html" title="read a vtkGraph from a database">vtkSQLGraphReader</a>&amp;);   <span class="comment">// Not implemented</span>
<a name="l00169"></a>00169 };
<a name="l00170"></a>00170 
<a name="l00171"></a>00171 <span class="preprocessor">#endif</span>
<a name="l00172"></a>00172 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:38 2009 for VTK by&nbsp;
<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>