<!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/Common/vtkUnsigned__Int64Array.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 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><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/Common/vtkUnsigned__Int64Array.h</h1><a href="a02153.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: vtkUnsigned__Int64Array.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="l00023"></a>00023 <span class="preprocessor">#ifndef __vtkUnsigned__Int64Array_h</span> <a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __vtkUnsigned__Int64Array_h</span> <a name="l00025"></a>00025 <span class="preprocessor"></span> <a name="l00026"></a>00026 <span class="comment">// Tell the template header how to give our superclass a DLL interface.</span> <a name="l00027"></a>00027 <span class="preprocessor">#if !defined(__vtkUnsigned__Int64Array_cxx)</span> <a name="l00028"></a><a class="code" href="a02153.html#a276a7d042ddd61dda514b71cb5c0b80">00028</a> <span class="preprocessor"></span><span class="preprocessor"># define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned __int64</span> <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00030"></a>00030 <span class="preprocessor"></span> <a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="a02005.html">vtkDataArray.h</a>"</span> <a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="a02009.html">vtkDataArrayTemplate.h</a>"</span> <span class="comment">// Real Superclass</span> <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="comment">// Fake the superclass for the wrappers.</span> <a name="l00035"></a><a class="code" href="a02153.html#a36fc55274dde79398d335bc11db90c3">00035</a> <span class="preprocessor">#define vtkDataArray vtkDataArrayTemplate<unsigned __int64></span> <a name="l00036"></a><a class="code" href="a01783.html">00036</a> <span class="preprocessor"></span><span class="keyword">class </span><a class="code" href="a02170.html#873ca0b83d0838a1df577536068a1730">VTK_COMMON_EXPORT</a> <a class="code" href="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a> : <span class="keyword">public</span> <a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a> <a name="l00037"></a>00037 #undef <a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</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="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a>* <a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>(); <a name="l00041"></a><a class="code" href="a01783.html#67d3dcd80110598d0a0d61e7332dcd04">00041</a> vtkTypeRevisionMacro(<a class="code" href="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a>,<a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>); <a name="l00042"></a>00042 <span class="keywordtype">void</span> <a class="code" href="a00356.html#ad0e8ab37eacfb957845c1ee962edc6b">PrintSelf</a>(ostream& 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="l00045"></a>00045 <a name="l00046"></a><a class="code" href="a01783.html#c9116165f789a2ff1b89d2e2d0961014">00046</a> <span class="keywordtype">int</span> <a class="code" href="a00081.html#d34364f5fcbbe55c3c70434376b4f081">GetDataType</a>() <a name="l00047"></a>00047 { <span class="keywordflow">return</span> <a class="code" href="a02149.html#73b66d51411de650eec268661229c644">VTK_UNSIGNED___INT64</a>; } <a name="l00049"></a>00049 <a name="l00051"></a>00051 <a name="l00052"></a><a class="code" href="a01783.html#cf159c3946a1fd0f0715b2fd84c095ef">00052</a> <span class="keywordtype">void</span> GetTupleValue(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, <span class="keywordtype">unsigned</span> __int64* tuple) <a name="l00053"></a>00053 { this->RealSuperclass::GetTupleValue(i, tuple); } <a name="l00055"></a>00055 <a name="l00057"></a>00057 <a name="l00058"></a><a class="code" href="a01783.html#87070567f7491c1ce3b382c815a0943a">00058</a> <span class="keywordtype">void</span> SetTupleValue(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> __int64* tuple) <a name="l00059"></a>00059 { this->RealSuperclass::SetTupleValue(i, tuple); } <a name="l00061"></a>00061 <a name="l00063"></a>00063 <a name="l00065"></a><a class="code" href="a01783.html#54063dc8ae490e85ed8c868c5afaf31e">00065</a> <span class="keywordtype">void</span> InsertTupleValue(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> __int64* tuple) <a name="l00066"></a>00066 { this->RealSuperclass::InsertTupleValue(i, tuple); } <a name="l00068"></a>00068 <a name="l00070"></a>00070 <a name="l00072"></a><a class="code" href="a01783.html#140ae2669295c6790b9aec3b2e230199">00072</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> InsertNextTupleValue(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> __int64* tuple) <a name="l00073"></a>00073 { <span class="keywordflow">return</span> this->RealSuperclass::InsertNextTupleValue(tuple); } <a name="l00075"></a>00075 <a name="l00077"></a>00077 <a name="l00078"></a><a class="code" href="a01783.html#adc8af61ac8630207e894e77550e146e">00078</a> <span class="keywordtype">unsigned</span> __int64 GetValue(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <span class="keywordtype">id</span>) <a name="l00079"></a>00079 { <span class="keywordflow">return</span> this->RealSuperclass::GetValue(<span class="keywordtype">id</span>); } <a name="l00081"></a>00081 <a name="l00083"></a>00083 <a name="l00085"></a><a class="code" href="a01783.html#d8b69c8b2179861c2be83338aa99abb9">00085</a> <span class="keywordtype">void</span> SetValue(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <span class="keywordtype">id</span>, <span class="keywordtype">unsigned</span> __int64 <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2106bf5e5151797630e91167caab3f22b9a">value</a>) <a name="l00086"></a>00086 { this->RealSuperclass::SetValue(<span class="keywordtype">id</span>, value); } <a name="l00088"></a>00088 <a name="l00090"></a>00090 <a name="l00093"></a><a class="code" href="a01783.html#d059ae0140f5cc4371be401d79625534">00093</a> <span class="keywordtype">void</span> SetNumberOfValues(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> number) <a name="l00094"></a>00094 { this->RealSuperclass::SetNumberOfValues(number); } <a name="l00096"></a>00096 <a name="l00098"></a>00098 <a name="l00099"></a><a class="code" href="a01783.html#8fda185aeb5fc3cfa234c5b1fa0888ce">00099</a> <span class="keywordtype">void</span> InsertValue(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <span class="keywordtype">id</span>, <span class="keywordtype">unsigned</span> __int64 f) <a name="l00100"></a>00100 { this->RealSuperclass::InsertValue(<span class="keywordtype">id</span>, f); } <a name="l00102"></a>00102 <a name="l00104"></a>00104 <a name="l00106"></a><a class="code" href="a01783.html#15992f52e18ca38e98d93204754963f8">00106</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> InsertNextValue(<span class="keywordtype">unsigned</span> __int64 f) <a name="l00107"></a>00107 { <span class="keywordflow">return</span> this->RealSuperclass::InsertNextValue(f); } <a name="l00109"></a>00109 <a name="l00111"></a>00111 <a name="l00114"></a><a class="code" href="a01783.html#188ccc1a4e2961ea31d8d9dd2bc4eed9">00114</a> <span class="keywordtype">unsigned</span> __int64* WritePointer(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <span class="keywordtype">id</span>, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> number) <a name="l00115"></a>00115 { <span class="keywordflow">return</span> this->RealSuperclass::WritePointer(<span class="keywordtype">id</span>, number); } <a name="l00117"></a>00117 <a name="l00119"></a>00119 <a name="l00121"></a><a class="code" href="a01783.html#e8087f3889293c9d026ba1976ef903d4">00121</a> <span class="keywordtype">unsigned</span> __int64* GetPointer(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <span class="keywordtype">id</span>) <a name="l00122"></a>00122 { <span class="keywordflow">return</span> this->RealSuperclass::GetPointer(<span class="keywordtype">id</span>); } <a name="l00124"></a>00124 <a name="l00126"></a>00126 <a name="l00132"></a><a class="code" href="a01783.html#a67ab748b9d6d1d08190ebe7badaf0a9">00132</a> <span class="keywordtype">void</span> SetArray(<span class="keywordtype">unsigned</span> __int64* array, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>, <span class="keywordtype">int</span> <a class="code" href="a02161.html#d6bef997add92b8246718df030c029c8">save</a>) <a name="l00133"></a>00133 { this->RealSuperclass::SetArray(array, size, save); } <a name="l00134"></a><a class="code" href="a01783.html#538c7aa77a9392b45ebc28d09bbbe6b8">00134</a> <span class="keywordtype">void</span> SetArray(<span class="keywordtype">unsigned</span> __int64* array, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>, <span class="keywordtype">int</span> <a class="code" href="a02161.html#d6bef997add92b8246718df030c029c8">save</a>, <span class="keywordtype">int</span> deleteMethod) <a name="l00135"></a>00135 { this->RealSuperclass::SetArray(array, size, save, deleteMethod); } <a name="l00137"></a>00137 <a name="l00138"></a>00138 <span class="keyword">protected</span>: <a name="l00139"></a>00139 <a class="code" href="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a>(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numComp=1); <a name="l00140"></a>00140 ~<a class="code" href="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a>(); <a name="l00141"></a>00141 <a name="l00142"></a>00142 <span class="keyword">private</span>: <a name="l00143"></a>00143 <span class="comment">//BTX</span> <a name="l00144"></a>00144 <span class="keyword">typedef</span> <a class="code" href="a00360.html" title="Implementation template for vtkDataArray.">vtkDataArrayTemplate<unsigned __int64></a> RealSuperclass; <a name="l00145"></a>00145 <span class="comment">//ETX</span> <a name="l00146"></a>00146 <a class="code" href="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a>(<span class="keyword">const</span> <a class="code" href="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a>&); <span class="comment">// Not implemented.</span> <a name="l00147"></a>00147 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01783.html" title="dynamic, self-adjusting array of unsigned __int64">vtkUnsigned__Int64Array</a>&); <span class="comment">// Not implemented.</span> <a name="l00148"></a>00148 }; <a name="l00149"></a>00149 <a name="l00150"></a>00150 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:13 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>