Sophie

Sophie

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

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: vtkUnsignedShortArray 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&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 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&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkUnsignedShortArray Class Reference</h1><!-- doxytag: class="vtkUnsignedShortArray" --><!-- doxytag: inherits="vtkDataArray" --><code>#include &lt;<a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkUnsignedShortArray:</div>
<div class="dynsection">
<p><center><img src="a15560.png" border="0" usemap="#a15561" alt="Inheritance graph"></center>
<map name="a15561">
<area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="36,229,137,256"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="25,155,148,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="47,80,127,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="32,5,141,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkUnsignedShortArray:</div>
<div class="dynsection">
<p><center><img src="a15562.png" border="0" usemap="#a15563" alt="Collaboration graph"></center>
<map name="a15563">
<area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="226,464,327,491"><area shape="rect" href="a01784.html" title="dynamic, self&#45;adjusting array of unsigned char" alt="" coords="6,541,166,568"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="231,376,354,403"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="418,173,498,200"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="238,264,347,291"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="416,315,558,341"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="223,5,332,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="26,173,188,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="212,83,343,109"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="480,83,590,109"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="399,632,516,659"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="212,173,394,200"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a15564.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
dynamic, self-adjusting array of unsigned short 
<p>
<a class="el" href="a01788.html" title="dynamic, self-adjusting array of unsigned short">vtkUnsignedShortArray</a> is an array of values of type unsigned short. It provides methods for insertion and retrieval of values and will automatically resize itself to hold new data.<p>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_17.html#c2_vtk_t_vtkUnsignedShortArray">vtkUnsignedShortArray (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a03954.html#l00039">39</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.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="a00356.html">vtkDataArray</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#1c98de9aff2fc83f318926e0a9e36db5">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 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#ff501bed261e4a20604e726bc8bfce79">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#5d172032a9d4ca10356e90a8d59f5da5">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#25b21c429ce89859c642506af053df96">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#1322f4753d4c5092d43d6051dd28d42c">GetDataType</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#4a56b88c63cbc27cfc6db21c9b96b5d6">GetTupleValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, unsigned short *tuple)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#8aac397d42e01aac5e46136a08ea467e">SetTupleValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, const unsigned short *tuple)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#757c09196837ef5ad2e527d46370f120">InsertTupleValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, const unsigned short *tuple)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#35d4ce48a630d543e8753be425821282">InsertNextTupleValue</a> (const unsigned short *tuple)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#f94881d537d0da407000851ce4f632db">GetValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#bfde4db8552a7516daf6dc16307d3be1">SetValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id, unsigned short value)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#971e161882ebbe937ff59857c7b6e1fe">SetNumberOfValues</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> number)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#830103aa0550d42a725cc6fa483407e6">InsertValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id, unsigned short f)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#684061ae045ffaa91ad0842e2e36fae3">InsertNextValue</a> (unsigned short f)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#fc81d7d0f68f6dd1bcb1e0e846511185">WritePointer</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> number)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#a79a11c2417330c037961259064fd441">GetPointer</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#d63e9ef7045769212b194f18b816c22a">SetArray</a> (unsigned short *array, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> size, int save)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#c4c571b8aff91871c9ae93f61f5b4f0f">SetArray</a> (unsigned short *array, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> size, int save, int deleteMethod)</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="a01788.html">vtkUnsignedShortArray</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#75c91790c13bd54873865ad0f997db64">New</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#390b44bdcceb1aa552cdf410d50f0820">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01788.html">vtkUnsignedShortArray</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#bd0ba4265dab1b16ef38624de26c6cb4">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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#5014e89a9b26d1aa13e544ba3b25cb9a">vtkUnsignedShortArray</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numComp=1)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01788.html#908d316d16048dac9fca78d765238ff1">~vtkUnsignedShortArray</a> ()</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="1c98de9aff2fc83f318926e0a9e36db5"></a><!-- doxytag: member="vtkUnsignedShortArray::Superclass" ref="1c98de9aff2fc83f318926e0a9e36db5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00356.html">vtkDataArray</a> <a class="el" href="a00356.html">vtkUnsignedShortArray::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00356.html#05d1811b909af2a809c54c14478f7c2b">vtkDataArray</a>.</p>

<p>Definition at line <a class="el" href="a03954.html#l00044">44</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="5014e89a9b26d1aa13e544ba3b25cb9a"></a><!-- doxytag: member="vtkUnsignedShortArray::vtkUnsignedShortArray" ref="5014e89a9b26d1aa13e544ba3b25cb9a" args="(vtkIdType numComp=1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkUnsignedShortArray::vtkUnsignedShortArray           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>numComp</em> = <code>1</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="908d316d16048dac9fca78d765238ff1"></a><!-- doxytag: member="vtkUnsignedShortArray::~vtkUnsignedShortArray" ref="908d316d16048dac9fca78d765238ff1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkUnsignedShortArray::~vtkUnsignedShortArray           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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="75c91790c13bd54873865ad0f997db64"></a><!-- doxytag: member="vtkUnsignedShortArray::New" ref="75c91790c13bd54873865ad0f997db64" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01788.html">vtkUnsignedShortArray</a>* vtkUnsignedShortArray::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="ff501bed261e4a20604e726bc8bfce79"></a><!-- doxytag: member="vtkUnsignedShortArray::GetClassName" ref="ff501bed261e4a20604e726bc8bfce79" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkUnsignedShortArray::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00356.html#64d3fd75f71d4df9ce76a858ef229290">vtkDataArray</a>.</p>

</div>
</div><p>
<a class="anchor" name="390b44bdcceb1aa552cdf410d50f0820"></a><!-- doxytag: member="vtkUnsignedShortArray::IsTypeOf" ref="390b44bdcceb1aa552cdf410d50f0820" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkUnsignedShortArray::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</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="a00356.html#5dfbdb02f33df8870b4ffc2d110f1fe6">vtkDataArray</a>.</p>

</div>
</div><p>
<a class="anchor" name="5d172032a9d4ca10356e90a8d59f5da5"></a><!-- doxytag: member="vtkUnsignedShortArray::IsA" ref="5d172032a9d4ca10356e90a8d59f5da5" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkUnsignedShortArray::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</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="a00356.html#61e9e6fc189fd4f54c54291727ef985f">vtkDataArray</a>.</p>

</div>
</div><p>
<a class="anchor" name="bd0ba4265dab1b16ef38624de26c6cb4"></a><!-- doxytag: member="vtkUnsignedShortArray::SafeDownCast" ref="bd0ba4265dab1b16ef38624de26c6cb4" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01788.html">vtkUnsignedShortArray</a>* vtkUnsignedShortArray::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00356.html#f736ddb82ddd81bdd77caa81af1486f1">vtkDataArray</a>.</p>

</div>
</div><p>
<a class="anchor" name="25b21c429ce89859c642506af053df96"></a><!-- doxytag: member="vtkUnsignedShortArray::PrintSelf" ref="25b21c429ce89859c642506af053df96" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</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>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</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="a00356.html#ad0e8ab37eacfb957845c1ee962edc6b">vtkDataArray</a>.</p>

</div>
</div><p>
<a class="anchor" name="1322f4753d4c5092d43d6051dd28d42c"></a><!-- doxytag: member="vtkUnsignedShortArray::GetDataType" ref="1322f4753d4c5092d43d6051dd28d42c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkUnsignedShortArray::GetDataType           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the data type. 
<p>Implements <a class="el" href="a00081.html#d34364f5fcbbe55c3c70434376b4f081">vtkAbstractArray</a>.</p>

<p>Definition at line <a class="el" href="a03954.html#l00049">49</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4a56b88c63cbc27cfc6db21c9b96b5d6"></a><!-- doxytag: member="vtkUnsignedShortArray::GetTupleValue" ref="4a56b88c63cbc27cfc6db21c9b96b5d6" args="(vtkIdType i, unsigned short *tuple)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::GetTupleValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned short *&nbsp;</td>
          <td class="paramname"> <em>tuple</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy the tuple value into a user-provided array. 
<p>Definition at line <a class="el" href="a03954.html#l00055">55</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8aac397d42e01aac5e46136a08ea467e"></a><!-- doxytag: member="vtkUnsignedShortArray::SetTupleValue" ref="8aac397d42e01aac5e46136a08ea467e" args="(vtkIdType i, const unsigned short *tuple)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::SetTupleValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned short *&nbsp;</td>
          <td class="paramname"> <em>tuple</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the tuple value at the ith location in the array. 
<p>Definition at line <a class="el" href="a03954.html#l00061">61</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="757c09196837ef5ad2e527d46370f120"></a><!-- doxytag: member="vtkUnsignedShortArray::InsertTupleValue" ref="757c09196837ef5ad2e527d46370f120" args="(vtkIdType i, const unsigned short *tuple)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::InsertTupleValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned short *&nbsp;</td>
          <td class="paramname"> <em>tuple</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insert (memory allocation performed) the tuple into the ith location in the array. 
<p>Definition at line <a class="el" href="a03954.html#l00068">68</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="35d4ce48a630d543e8753be425821282"></a><!-- doxytag: member="vtkUnsignedShortArray::InsertNextTupleValue" ref="35d4ce48a630d543e8753be425821282" args="(const unsigned short *tuple)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> vtkUnsignedShortArray::InsertNextTupleValue           </td>
          <td>(</td>
          <td class="paramtype">const unsigned short *&nbsp;</td>
          <td class="paramname"> <em>tuple</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insert (memory allocation performed) the tuple onto the end of the array. 
<p>Definition at line <a class="el" href="a03954.html#l00075">75</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f94881d537d0da407000851ce4f632db"></a><!-- doxytag: member="vtkUnsignedShortArray::GetValue" ref="f94881d537d0da407000851ce4f632db" args="(vtkIdType id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short vtkUnsignedShortArray::GetValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the data at a particular index. 
<p>Definition at line <a class="el" href="a03954.html#l00081">81</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="bfde4db8552a7516daf6dc16307d3be1"></a><!-- doxytag: member="vtkUnsignedShortArray::SetValue" ref="bfde4db8552a7516daf6dc16307d3be1" args="(vtkIdType id, unsigned short value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::SetValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned short&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the data at a particular index. Does not do range checking. Make sure you use the method <a class="el" href="a01788.html#971e161882ebbe937ff59857c7b6e1fe">SetNumberOfValues()</a> before inserting data. 
<p>Definition at line <a class="el" href="a03954.html#l00088">88</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="971e161882ebbe937ff59857c7b6e1fe"></a><!-- doxytag: member="vtkUnsignedShortArray::SetNumberOfValues" ref="971e161882ebbe937ff59857c7b6e1fe" args="(vtkIdType number)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::SetNumberOfValues           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>number</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify the number of values for this object to hold. Does an allocation as well as setting the MaxId ivar. Used in conjunction with <a class="el" href="a01788.html#bfde4db8552a7516daf6dc16307d3be1">SetValue()</a> method for fast insertion. 
<p>Definition at line <a class="el" href="a03954.html#l00096">96</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="830103aa0550d42a725cc6fa483407e6"></a><!-- doxytag: member="vtkUnsignedShortArray::InsertValue" ref="830103aa0550d42a725cc6fa483407e6" args="(vtkIdType id, unsigned short f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::InsertValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned short&nbsp;</td>
          <td class="paramname"> <em>f</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insert data at a specified position in the array. 
<p>Definition at line <a class="el" href="a03954.html#l00102">102</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="684061ae045ffaa91ad0842e2e36fae3"></a><!-- doxytag: member="vtkUnsignedShortArray::InsertNextValue" ref="684061ae045ffaa91ad0842e2e36fae3" args="(unsigned short f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> vtkUnsignedShortArray::InsertNextValue           </td>
          <td>(</td>
          <td class="paramtype">unsigned short&nbsp;</td>
          <td class="paramname"> <em>f</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insert data at the end of the array. Return its location in the array. 
<p>Definition at line <a class="el" href="a03954.html#l00109">109</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="fc81d7d0f68f6dd1bcb1e0e846511185"></a><!-- doxytag: member="vtkUnsignedShortArray::WritePointer" ref="fc81d7d0f68f6dd1bcb1e0e846511185" args="(vtkIdType id, vtkIdType number)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short* vtkUnsignedShortArray::WritePointer           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>number</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the address of a particular data index. Make sure data is allocated for the number of items requested. Set MaxId according to the number of data values requested. 
<p>Definition at line <a class="el" href="a03954.html#l00117">117</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="a79a11c2417330c037961259064fd441"></a><!-- doxytag: member="vtkUnsignedShortArray::GetPointer" ref="a79a11c2417330c037961259064fd441" args="(vtkIdType id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short* vtkUnsignedShortArray::GetPointer           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the address of a particular data index. Performs no checks to verify that the memory has been allocated etc. 
<p>Definition at line <a class="el" href="a03954.html#l00124">124</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d63e9ef7045769212b194f18b816c22a"></a><!-- doxytag: member="vtkUnsignedShortArray::SetArray" ref="d63e9ef7045769212b194f18b816c22a" args="(unsigned short *array, vtkIdType size, int save)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::SetArray           </td>
          <td>(</td>
          <td class="paramtype">unsigned short *&nbsp;</td>
          <td class="paramname"> <em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>save</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method lets the user specify data to be held by the array. The array argument is a pointer to the data. size is the size of the array supplied by the user. Set save to 1 to keep the class from deleting the array when it cleans up or reallocates memory. The class uses the actual array provided; it does not copy the data from the suppled array. 
<p>Definition at line <a class="el" href="a03954.html#l00135">135</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="c4c571b8aff91871c9ae93f61f5b4f0f"></a><!-- doxytag: member="vtkUnsignedShortArray::SetArray" ref="c4c571b8aff91871c9ae93f61f5b4f0f" args="(unsigned short *array, vtkIdType size, int save, int deleteMethod)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkUnsignedShortArray::SetArray           </td>
          <td>(</td>
          <td class="paramtype">unsigned short *&nbsp;</td>
          <td class="paramname"> <em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>save</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>deleteMethod</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method lets the user specify data to be held by the array. The array argument is a pointer to the data. size is the size of the array supplied by the user. Set save to 1 to keep the class from deleting the array when it cleans up or reallocates memory. The class uses the actual array provided; it does not copy the data from the suppled array. 
<p>Definition at line <a class="el" href="a03954.html#l00137">137</a> of file <a class="el" href="a03954.html">vtkUnsignedShortArray.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Common/<a class="el" href="a03954.html">vtkUnsignedShortArray.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:42:34 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>