Sophie

Sophie

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

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/GenericFiltering/Testing/Cxx/vtkBridgeAttribute.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/GenericFiltering/Testing/Cxx/vtkBridgeAttribute.h</h1><a href="a02406.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: vtkBridgeAttribute.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="l00027"></a>00027 <span class="preprocessor">#ifndef __vtkBridgeAttribute_h</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define __vtkBridgeAttribute_h</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="a02415.html">vtkBridgeExport.h</a>"</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="a02251.html">vtkGenericAttribute.h</a>"</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a>;
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="a00376.html" title="represent and manipulate attribute data in a dataset">vtkDataSetAttributes</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a><a class="code" href="a00202.html">00037</a> <span class="keyword">class </span><a class="code" href="a02415.html#49035516cc76746c4301dd5407dd6c77">VTK_BRIDGE_EXPORT</a> <a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a> : <span class="keyword">public</span> <a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a>
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039  <span class="keyword">public</span>:
<a name="l00040"></a>00040   <span class="keyword">static</span> <a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>();
<a name="l00041"></a><a class="code" href="a00202.html#9d02a48559b40f44909afbc355b8ff8e">00041</a>   vtkTypeRevisionMacro(<a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a>,<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a>);
<a name="l00042"></a>00042   <span class="keywordtype">void</span> <a class="code" href="a00580.html#c5156133aa5892c55eb581586ff77176">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00043"></a>00043 
<a name="l00046"></a>00046   <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00580.html#0f680802b25673c70ad773dd92211135">GetName</a>();
<a name="l00047"></a>00047 
<a name="l00050"></a>00050   <span class="keywordtype">int</span> <a class="code" href="a00580.html#424ede059c0799fb8914e23f095b8324">GetNumberOfComponents</a>();
<a name="l00051"></a>00051 
<a name="l00055"></a>00055   <span class="keywordtype">int</span> <a class="code" href="a00580.html#88a594c4cdcb41210ec178f035ee9c0f">GetCentering</a>();
<a name="l00056"></a>00056   
<a name="l00063"></a>00063   <span class="keywordtype">int</span> <a class="code" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType</a>();
<a name="l00064"></a>00064 
<a name="l00072"></a>00072   <span class="keywordtype">int</span> <a class="code" href="a00580.html#b08c23d5478ad4a32b44ce67e4f30d66">GetComponentType</a>();
<a name="l00073"></a>00073   
<a name="l00075"></a>00075   <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <a class="code" href="a00580.html#eb96bde77626b859221a0373ce3a1fca">GetSize</a>();
<a name="l00076"></a>00076 
<a name="l00078"></a>00078   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00580.html#93520f8d7690f4687ccd92e0327901e2">GetActualMemorySize</a>();
<a name="l00079"></a>00079 
<a name="l00084"></a>00084   <span class="keywordtype">double</span> *<a class="code" href="a00580.html#7f54ad799694806ec7a0b0d664be9865">GetRange</a>(<span class="keywordtype">int</span> <a class="code" href="a03761.html#88ade42854f67d6297898362e17a515f78fb09245c9bd345bf96d579664f9736">component</a>);
<a name="l00085"></a>00085   
<a name="l00087"></a>00087 
<a name="l00089"></a>00089   <span class="keywordtype">void</span> <a class="code" href="a00580.html#7f54ad799694806ec7a0b0d664be9865">GetRange</a>(<span class="keywordtype">int</span> <a class="code" href="a03761.html#88ade42854f67d6297898362e17a515f78fb09245c9bd345bf96d579664f9736">component</a>,
<a name="l00090"></a>00090                 <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21076786d084c43d32f242990f932679539">range</a>[2]);
<a name="l00092"></a>00092   
<a name="l00095"></a>00095   <span class="keywordtype">double</span> <a class="code" href="a00580.html#9df578bdba6adeb53a256c48f85e04bf">GetMaxNorm</a>();
<a name="l00096"></a>00096   
<a name="l00102"></a>00102   <span class="keyword">virtual</span> <span class="keywordtype">double</span> *<a class="code" href="a00580.html#cb09ec149208bb225e0ca812f6701f6f">GetTuple</a>(<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a> *c);
<a name="l00103"></a>00103   
<a name="l00109"></a>00109   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00580.html#cb09ec149208bb225e0ca812f6701f6f">GetTuple</a>(<a class="code" href="a00579.html" title="defines cell interface">vtkGenericAdaptorCell</a> *c, <span class="keywordtype">double</span> *tuple);
<a name="l00110"></a>00110   
<a name="l00116"></a>00116   <span class="keywordtype">double</span> *<a class="code" href="a00580.html#cb09ec149208bb225e0ca812f6701f6f">GetTuple</a>(<a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *c);
<a name="l00117"></a>00117 
<a name="l00123"></a>00123   <span class="keywordtype">void</span> <a class="code" href="a00580.html#cb09ec149208bb225e0ca812f6701f6f">GetTuple</a>(<a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *c, <span class="keywordtype">double</span> *tuple);
<a name="l00124"></a>00124 
<a name="l00128"></a>00128   <span class="keywordtype">double</span> *<a class="code" href="a00580.html#cb09ec149208bb225e0ca812f6701f6f">GetTuple</a>(<a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a> *p);
<a name="l00129"></a>00129   
<a name="l00134"></a>00134   <span class="keywordtype">void</span> <a class="code" href="a00580.html#cb09ec149208bb225e0ca812f6701f6f">GetTuple</a>(<a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a> *p, <span class="keywordtype">double</span> *tuple);
<a name="l00135"></a>00135   
<a name="l00141"></a>00141   <span class="keywordtype">void</span> <a class="code" href="a00580.html#b0649a92361b75100b094cd5d660e33b">GetComponent</a>(<span class="keywordtype">int</span> i,<a class="code" href="a00583.html" title="iterator used to traverse cells">vtkGenericCellIterator</a> *c, <span class="keywordtype">double</span> *values);
<a name="l00142"></a>00142 
<a name="l00146"></a>00146   <span class="keywordtype">double</span> <a class="code" href="a00580.html#b0649a92361b75100b094cd5d660e33b">GetComponent</a>(<span class="keywordtype">int</span> i,<a class="code" href="a00602.html" title="iterator used to traverse points">vtkGenericPointIterator</a> *p);
<a name="l00147"></a>00147   
<a name="l00150"></a>00150   <span class="keywordtype">void</span> <a class="code" href="a00580.html#b2f76e52eb30a7fb5c286d4b2d27c9b1">DeepCopy</a>(<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *other);
<a name="l00151"></a>00151   
<a name="l00154"></a>00154   <span class="keywordtype">void</span> <a class="code" href="a00580.html#d5f18c4c4df14ccb71bdfaee099e8668">ShallowCopy</a>(<a class="code" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> *other);
<a name="l00155"></a>00155   
<a name="l00157"></a>00157 
<a name="l00160"></a>00160   <span class="keywordtype">void</span> InitWithPointData(<a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *d,
<a name="l00161"></a>00161                          <span class="keywordtype">int</span> i);
<a name="l00163"></a>00163   
<a name="l00165"></a>00165 
<a name="l00168"></a>00168   <span class="keywordtype">void</span> InitWithCellData(<a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *d,
<a name="l00169"></a>00169                         <span class="keywordtype">int</span> i);
<a name="l00171"></a>00171   
<a name="l00172"></a>00172 <span class="keyword">protected</span>:
<a name="l00174"></a>00174 
<a name="l00175"></a>00175   <a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a>();
<a name="l00176"></a>00176   <span class="comment">// Description:</span>
<a name="l00177"></a>00177   <span class="comment">// Destructor.</span>
<a name="l00178"></a>00178   <span class="keyword">virtual</span> ~<a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a>();
<a name="l00180"></a>00180   
<a name="l00183"></a>00183   <span class="keywordtype">void</span> AllocateInternalTuple(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>);
<a name="l00184"></a>00184   
<a name="l00185"></a><a class="code" href="a00202.html#c6c205436ddfe6e89bd15234f6eace28">00185</a>   <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00203.html" title="Implementation of vtkGenericAdaptorCell.">vtkBridgeCell</a>;
<a name="l00186"></a>00186   
<a name="l00187"></a>00187   <span class="comment">// only one of them is non-null at a time.</span>
<a name="l00188"></a><a class="code" href="a00202.html#fccdf5201fcd673f8b5283c7c39a898b">00188</a>   <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *Pd;
<a name="l00189"></a><a class="code" href="a00202.html#8f938d7b1d1b260146e3f1cb2b7d81a4">00189</a>   <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a> *Cd;
<a name="l00190"></a><a class="code" href="a00202.html#5ccfe97fe6ad686a238f7449d460ae98">00190</a>   <a class="code" href="a00376.html" title="represent and manipulate attribute data in a dataset">vtkDataSetAttributes</a> *Data; <span class="comment">// always not-null, equal to either on Pd or Cd</span>
<a name="l00191"></a><a class="code" href="a00202.html#aa65f06c48eb1cb5b570293028bd96ce">00191</a>   <span class="keywordtype">int</span> AttributeNumber;
<a name="l00192"></a>00192   
<a name="l00193"></a><a class="code" href="a00202.html#cb67ee621188422e5b5f4f04f5781f6a">00193</a>   <span class="keywordtype">double</span> *InternalTuple; <span class="comment">// used by vtkBridgeCell</span>
<a name="l00194"></a><a class="code" href="a00202.html#ab84d1082beeeddfa037e5c4d1880da5">00194</a>   <span class="keywordtype">int</span> InternalTupleCapacity;
<a name="l00195"></a>00195   
<a name="l00196"></a>00196 <span class="keyword">private</span>:
<a name="l00197"></a>00197   <a class="code" href="a00203.html#c7a8c5d32faf740ea278a76e23a7e553">vtkBridgeAttribute</a>(<span class="keyword">const</span> <a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a>&amp;); <span class="comment">// Not implemented</span>
<a name="l00198"></a>00198   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00202.html" title="Implementation of vtkGenericAttribute.">vtkBridgeAttribute</a>&amp;); <span class="comment">// Not implemented</span>
<a name="l00199"></a>00199 };
<a name="l00200"></a>00200 
<a name="l00201"></a>00201 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:18 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>