Sophie

Sophie

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

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/Filtering/vtkGenericDataSet.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/Filtering/vtkGenericDataSet.h</h1><a href="a02256.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: vtkGenericDataSet.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="l00056"></a>00056 <span class="preprocessor">#ifndef __vtkGenericDataSet_h</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGenericDataSet_h</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span>
<a name="l00059"></a>00059 <span class="preprocessor">#include "<a class="code" href="a02221.html">vtkDataObject.h</a>"</span>
<a name="l00060"></a>00060 
<a name="l00061"></a>00061 <span class="keyword">class </span><a class="code" href="a00253.html" title="object provides direct access to cells in vtkCellArray and type information">vtkCellTypes</a>;
<a name="l00062"></a>00062 <span class="keyword">class </span><a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a>;
<a name="l00063"></a>00063 <span class="keyword">class </span><a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a>;
<a name="l00064"></a>00064 <span class="keyword">class </span><a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a>;
<a name="l00065"></a>00065 <span class="keyword">class </span><a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a>;
<a name="l00066"></a>00066 
<a name="l00067"></a><a class="code" href="a00590.html">00067</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a> : <span class="keyword">public</span> <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>
<a name="l00068"></a>00068 {
<a name="l00069"></a>00069 <span class="keyword">public</span>:
<a name="l00071"></a>00071 
<a name="l00072"></a><a class="code" href="a00590.html#873c606f401c356c88fc6053771892be">00072</a>   vtkTypeRevisionMacro(<a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>,<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>);
<a name="l00073"></a>00073   <span class="keywordtype">void</span> <a class="code" href="a00362.html#41fc1279a91124320705e5fc98f623c7">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00075"></a>00075 
<a name="l00078"></a>00078   <span class="keyword">virtual</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> GetNumberOfPoints() = 0;
<a name="l00079"></a>00079 
<a name="l00083"></a>00083   <span class="keyword">virtual</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> GetNumberOfCells(<span class="keywordtype">int</span> dim=-1) = 0;
<a name="l00084"></a>00084 
<a name="l00089"></a>00089   <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetCellDimension() = 0;
<a name="l00090"></a>00090 
<a name="l00098"></a>00098   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetCellTypes(<a class="code" href="a00253.html" title="object provides direct access to cells in vtkCellArray and type information">vtkCellTypes</a> *types);
<a name="l00099"></a>00099 
<a name="l00108"></a>00108   <span class="keyword">virtual</span> <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *NewCellIterator(<span class="keywordtype">int</span> dim=-1) = 0;
<a name="l00109"></a>00109 
<a name="l00111"></a>00111 
<a name="l00117"></a>00117   <span class="keyword">virtual</span> <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *NewBoundaryIterator(<span class="keywordtype">int</span> dim=-1,
<a name="l00118"></a>00118                                                       <span class="keywordtype">int</span> exteriorOnly=0) = 0;
<a name="l00120"></a>00120 
<a name="l00125"></a>00125   <span class="keyword">virtual</span> <a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a> *NewPointIterator()=0;
<a name="l00126"></a>00126 
<a name="l00128"></a>00128 
<a name="l00137"></a>00137   <span class="keyword">virtual</span> <span class="keywordtype">int</span> FindCell(<span class="keywordtype">double</span> x[3],
<a name="l00138"></a>00138                        <a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a>* &amp;cell,
<a name="l00139"></a>00139                        <span class="keywordtype">double</span> tol2,
<a name="l00140"></a>00140                        <span class="keywordtype">int</span> &amp;subId,
<a name="l00141"></a>00141                        <span class="keywordtype">double</span> pcoords[3]) = 0;
<a name="l00143"></a>00143 
<a name="l00145"></a>00145 
<a name="l00147"></a>00147   <span class="keyword">virtual</span> <span class="keywordtype">void</span> FindPoint(<span class="keywordtype">double</span> x[3],
<a name="l00148"></a>00148                          <a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a> *p)=0;
<a name="l00150"></a>00150 
<a name="l00153"></a>00153   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="a00362.html#6d307627fcb1696551ff404ac92a6dfc">GetMTime</a>();
<a name="l00154"></a>00154 
<a name="l00156"></a>00156   <span class="keyword">virtual</span> <span class="keywordtype">void</span> ComputeBounds()=0;
<a name="l00157"></a>00157 
<a name="l00161"></a>00161   <span class="keyword">virtual</span> <span class="keywordtype">double</span> *GetBounds();
<a name="l00162"></a>00162 
<a name="l00165"></a>00165   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetBounds(<span class="keywordtype">double</span> bounds[6]);
<a name="l00166"></a>00166 
<a name="l00169"></a>00169   <span class="keyword">virtual</span> <span class="keywordtype">double</span> *GetCenter();
<a name="l00170"></a>00170 
<a name="l00172"></a>00172   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetCenter(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2107cf190fdac7e1fa1890c67ec92d414d6">center</a>[3]);
<a name="l00173"></a>00173 
<a name="l00176"></a>00176   <span class="keyword">virtual</span> <span class="keywordtype">double</span> GetLength();
<a name="l00177"></a>00177 
<a name="l00179"></a>00179 
<a name="l00180"></a>00180   vtkGetObjectMacro(Attributes, <a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a>);
<a name="l00182"></a>00182 
<a name="l00184"></a>00184 
<a name="l00186"></a>00186   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTessellator(<a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *tessellator);
<a name="l00187"></a>00187   vtkGetObjectMacro(Tessellator,<a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a>);
<a name="l00189"></a>00189 
<a name="l00193"></a>00193   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00362.html#224aa0e7fafd101e9d1a316e126dbf87">GetActualMemorySize</a>();
<a name="l00194"></a>00194 
<a name="l00196"></a>00196   <span class="keywordtype">int</span> <a class="code" href="a00362.html#a29b32b4beac6a90d31d4751f427add7">GetDataObjectType</a>();
<a name="l00197"></a>00197 
<a name="l00199"></a>00199   <span class="keyword">virtual</span> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> GetEstimatedSize() = 0;
<a name="l00200"></a>00200 
<a name="l00201"></a>00201   <span class="comment">//BTX</span>
<a name="l00203"></a>00203 <span class="comment"></span>
<a name="l00204"></a>00204   <span class="keyword">static</span> <a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>* <a class="code" href="a00362.html#d7ebc4f6ec32a1db7e6cfc0ff6974559">GetData</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21023da246d4a744e861548382bb79fad81">info</a>);
<a name="l00205"></a>00205   <span class="keyword">static</span> <a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>* <a class="code" href="a00362.html#d7ebc4f6ec32a1db7e6cfc0ff6974559">GetData</a>(<a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* v, <span class="keywordtype">int</span> i=0);
<a name="l00206"></a>00206   <span class="comment">//ETX</span>
<a name="l00208"></a>00208 <span class="comment"></span>
<a name="l00209"></a>00209 <span class="keyword">protected</span>:
<a name="l00212"></a>00212   <a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>();
<a name="l00213"></a>00213 
<a name="l00214"></a>00214   <span class="keyword">virtual</span> ~<a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>();
<a name="l00215"></a>00215 
<a name="l00216"></a><a class="code" href="a00590.html#e0f602e56e29bef8f528119f96bdfeb6">00216</a>   <a class="code" href="a00581.html" title="a collection of attributes">vtkGenericAttributeCollection</a> *Attributes;
<a name="l00217"></a>00217 
<a name="l00218"></a>00218   <span class="comment">//Main helper class to tesselate a higher order cell into linear ones.</span>
<a name="l00219"></a><a class="code" href="a00590.html#db877d581e43e8a4464e3d38d06fea48">00219</a>   <a class="code" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> *Tessellator;
<a name="l00220"></a>00220 
<a name="l00221"></a><a class="code" href="a00590.html#8bbc3edd220e0e34e6f6b2dfdb4c425a">00221</a>   <span class="keywordtype">double</span> Bounds[6];  <span class="comment">// (xmin,xmax, ymin,ymax, zmin,zmax) geometric bounds</span>
<a name="l00222"></a><a class="code" href="a00590.html#dc27ef7daa20ed01cef12558a241044c">00222</a>   <span class="keywordtype">double</span> Center[3]; <span class="comment">// Center of the geometric bounding box</span>
<a name="l00223"></a><a class="code" href="a00590.html#5da0ccabfeb73891671ec8a93c3ad9bd">00223</a>   <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> ComputeTime; <span class="comment">// Time at which bounds, center, etc. computed</span>
<a name="l00224"></a>00224 
<a name="l00225"></a>00225 <span class="keyword">private</span>:
<a name="l00226"></a>00226   <a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>(<span class="keyword">const</span> <a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00227"></a>00227   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00590.html" title="defines dataset interface">vtkGenericDataSet</a>&amp;);    <span class="comment">// Not implemented.</span>
<a name="l00228"></a>00228 };
<a name="l00229"></a>00229 
<a name="l00230"></a>00230 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:15 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>