<!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: vtkLongArray 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 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 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 List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkLongArray Class Reference</h1><!-- doxytag: class="vtkLongArray" --><!-- doxytag: inherits="vtkDataArray" --><code>#include <<a class="el" href="a03865.html">vtkLongArray.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkLongArray:</div> <div class="dynsection"> <p><center><img src="a11885.png" border="0" usemap="#a11886" alt="Inheritance graph"></center> <map name="a11886"> <area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="16,229,117,256"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="5,155,128,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="27,80,107,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="12,5,121,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkLongArray:</div> <div class="dynsection"> <p><center><img src="a11887.png" border="0" usemap="#a11888" alt="Collaboration graph"></center> <map name="a11888"> <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-adjusting array of unsigned char" alt="" coords="40,541,200,568"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="215,376,338,403"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="398,173,478,200"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="219,264,328,291"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="396,315,538,341"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="203,5,312,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="6,173,168,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="192,83,323,109"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="460,83,570,109"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="375,632,492,659"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="192,173,374,200"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a11889.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> dynamic, self-adjusting array of long <p> <a class="el" href="a00978.html" title="dynamic, self-adjusting array of long">vtkLongArray</a> is an array of values of type long. 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_9.html#c2_vtk_t_vtkLongArray">vtkLongArray (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a03865.html#l00039">39</a> of file <a class="el" href="a03865.html">vtkLongArray.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> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#cf11bd9a22e93c88935baf8b1ce1cbc3">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 * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#6b0f0e251f318c0dff7beb5e7b3ebf5b">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#b22a699e24e0b5e0e6f47ff56e13a025">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#069be75723cf2c683653dae43ee55b62">PrintSelf</a> (ostream &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 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#ca2b6414ec37dc9c3b9d30c748667d43">GetDataType</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#598de0b772239b36edc05e5e7c1a6c53">GetTupleValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, long *tuple)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#a52ab8c4a077c8e78c8950fa118618c9">SetTupleValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, const long *tuple)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#bc4348ac0bd568ed67a97ba6d4b78531">InsertTupleValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, const long *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> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#3400cfd9f9f30186bdfc6c6a15bc4fa6">InsertNextTupleValue</a> (const long *tuple)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#37558b83fb7308e0805fbb4b2236d261">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 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#1817697ba74dfab950b319ea98f533ef">SetValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id, long value)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#bc4cda8751c105d14ffc46b4c5121480">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 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#afd87175061839d56bd11732f9e2ad24">InsertValue</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id, long 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> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#09c0ee6eac823ff46123ca921b25eeeb">InsertNextValue</a> (long f)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">long * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#21c27edf1b8db8737b0b1bf12fe68ff6">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">long * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#070e922dd5a8a60a2b7a1410c6b545b9">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 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#b46f083df54367240a421c2f2d6b3962">SetArray</a> (long *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 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#8962bf2ed3ad4f219574207911d585fc">SetArray</a> (long *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="a00978.html">vtkLongArray</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#3af14e1d4447091c5f89d923793c3bcb">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#4775ef03ca52f2b4704db96fff9a6009">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00978.html">vtkLongArray</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#f79685e7b9b4c6ab0afdcfefdbb5a43e">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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#b7b959e0136aec43ad5767514d27f898">vtkLongArray</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numComp=1)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00978.html#9a53aa7b6c0805f441d77d5b2ac8311a">~vtkLongArray</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="cf11bd9a22e93c88935baf8b1ce1cbc3"></a><!-- doxytag: member="vtkLongArray::Superclass" ref="cf11bd9a22e93c88935baf8b1ce1cbc3" 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">vtkLongArray::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="a03865.html#l00044">44</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="b7b959e0136aec43ad5767514d27f898"></a><!-- doxytag: member="vtkLongArray::vtkLongArray" ref="b7b959e0136aec43ad5767514d27f898" args="(vtkIdType numComp=1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkLongArray::vtkLongArray </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>numComp</em> = <code>1</code> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9a53aa7b6c0805f441d77d5b2ac8311a"></a><!-- doxytag: member="vtkLongArray::~vtkLongArray" ref="9a53aa7b6c0805f441d77d5b2ac8311a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkLongArray::~vtkLongArray </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="3af14e1d4447091c5f89d923793c3bcb"></a><!-- doxytag: member="vtkLongArray::New" ref="3af14e1d4447091c5f89d923793c3bcb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00978.html">vtkLongArray</a>* vtkLongArray::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="6b0f0e251f318c0dff7beb5e7b3ebf5b"></a><!-- doxytag: member="vtkLongArray::GetClassName" ref="6b0f0e251f318c0dff7beb5e7b3ebf5b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkLongArray::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="4775ef03ca52f2b4704db96fff9a6009"></a><!-- doxytag: member="vtkLongArray::IsTypeOf" ref="4775ef03ca52f2b4704db96fff9a6009" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkLongArray::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </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="b22a699e24e0b5e0e6f47ff56e13a025"></a><!-- doxytag: member="vtkLongArray::IsA" ref="b22a699e24e0b5e0e6f47ff56e13a025" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkLongArray::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </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="f79685e7b9b4c6ab0afdcfefdbb5a43e"></a><!-- doxytag: member="vtkLongArray::SafeDownCast" ref="f79685e7b9b4c6ab0afdcfefdbb5a43e" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00978.html">vtkLongArray</a>* vtkLongArray::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </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="069be75723cf2c683653dae43ee55b62"></a><!-- doxytag: member="vtkLongArray::PrintSelf" ref="069be75723cf2c683653dae43ee55b62" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </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> </td> <td class="paramname"> <em>indent</em></td><td> </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="ca2b6414ec37dc9c3b9d30c748667d43"></a><!-- doxytag: member="vtkLongArray::GetDataType" ref="ca2b6414ec37dc9c3b9d30c748667d43" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int vtkLongArray::GetDataType </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="a03865.html#l00049">49</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="598de0b772239b36edc05e5e7c1a6c53"></a><!-- doxytag: member="vtkLongArray::GetTupleValue" ref="598de0b772239b36edc05e5e7c1a6c53" args="(vtkIdType i, long *tuple)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::GetTupleValue </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long * </td> <td class="paramname"> <em>tuple</em></td><td> </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="a03865.html#l00055">55</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="a52ab8c4a077c8e78c8950fa118618c9"></a><!-- doxytag: member="vtkLongArray::SetTupleValue" ref="a52ab8c4a077c8e78c8950fa118618c9" args="(vtkIdType i, const long *tuple)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::SetTupleValue </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const long * </td> <td class="paramname"> <em>tuple</em></td><td> </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="a03865.html#l00061">61</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="bc4348ac0bd568ed67a97ba6d4b78531"></a><!-- doxytag: member="vtkLongArray::InsertTupleValue" ref="bc4348ac0bd568ed67a97ba6d4b78531" args="(vtkIdType i, const long *tuple)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::InsertTupleValue </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const long * </td> <td class="paramname"> <em>tuple</em></td><td> </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="a03865.html#l00068">68</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="3400cfd9f9f30186bdfc6c6a15bc4fa6"></a><!-- doxytag: member="vtkLongArray::InsertNextTupleValue" ref="3400cfd9f9f30186bdfc6c6a15bc4fa6" args="(const long *tuple)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> vtkLongArray::InsertNextTupleValue </td> <td>(</td> <td class="paramtype">const long * </td> <td class="paramname"> <em>tuple</em> </td> <td> ) </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="a03865.html#l00075">75</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="37558b83fb7308e0805fbb4b2236d261"></a><!-- doxytag: member="vtkLongArray::GetValue" ref="37558b83fb7308e0805fbb4b2236d261" args="(vtkIdType id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">long vtkLongArray::GetValue </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>id</em> </td> <td> ) </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="a03865.html#l00081">81</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="1817697ba74dfab950b319ea98f533ef"></a><!-- doxytag: member="vtkLongArray::SetValue" ref="1817697ba74dfab950b319ea98f533ef" args="(vtkIdType id, long value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::SetValue </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"> <em>value</em></td><td> </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="a00978.html#bc4cda8751c105d14ffc46b4c5121480">SetNumberOfValues()</a> before inserting data. <p>Definition at line <a class="el" href="a03865.html#l00088">88</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="bc4cda8751c105d14ffc46b4c5121480"></a><!-- doxytag: member="vtkLongArray::SetNumberOfValues" ref="bc4cda8751c105d14ffc46b4c5121480" args="(vtkIdType number)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::SetNumberOfValues </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>number</em> </td> <td> ) </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="a00978.html#1817697ba74dfab950b319ea98f533ef">SetValue()</a> method for fast insertion. <p>Definition at line <a class="el" href="a03865.html#l00096">96</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="afd87175061839d56bd11732f9e2ad24"></a><!-- doxytag: member="vtkLongArray::InsertValue" ref="afd87175061839d56bd11732f9e2ad24" args="(vtkIdType id, long f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::InsertValue </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"> <em>f</em></td><td> </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="a03865.html#l00102">102</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="09c0ee6eac823ff46123ca921b25eeeb"></a><!-- doxytag: member="vtkLongArray::InsertNextValue" ref="09c0ee6eac823ff46123ca921b25eeeb" args="(long f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> vtkLongArray::InsertNextValue </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"> <em>f</em> </td> <td> ) </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="a03865.html#l00109">109</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="21c27edf1b8db8737b0b1bf12fe68ff6"></a><!-- doxytag: member="vtkLongArray::WritePointer" ref="21c27edf1b8db8737b0b1bf12fe68ff6" args="(vtkIdType id, vtkIdType number)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">long* vtkLongArray::WritePointer </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </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> </td> <td class="paramname"> <em>number</em></td><td> </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="a03865.html#l00117">117</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="070e922dd5a8a60a2b7a1410c6b545b9"></a><!-- doxytag: member="vtkLongArray::GetPointer" ref="070e922dd5a8a60a2b7a1410c6b545b9" args="(vtkIdType id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">long* vtkLongArray::GetPointer </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>id</em> </td> <td> ) </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="a03865.html#l00124">124</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="b46f083df54367240a421c2f2d6b3962"></a><!-- doxytag: member="vtkLongArray::SetArray" ref="b46f083df54367240a421c2f2d6b3962" args="(long *array, vtkIdType size, int save)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::SetArray </td> <td>(</td> <td class="paramtype">long * </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> </td> <td class="paramname"> <em>size</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>save</em></td><td> </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="a03865.html#l00135">135</a> of file <a class="el" href="a03865.html">vtkLongArray.h</a>.</p> </div> </div><p> <a class="anchor" name="8962bf2ed3ad4f219574207911d585fc"></a><!-- doxytag: member="vtkLongArray::SetArray" ref="8962bf2ed3ad4f219574207911d585fc" args="(long *array, vtkIdType size, int save, int deleteMethod)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkLongArray::SetArray </td> <td>(</td> <td class="paramtype">long * </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> </td> <td class="paramname"> <em>size</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>save</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>deleteMethod</em></td><td> </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="a03865.html#l00137">137</a> of file <a class="el" href="a03865.html">vtkLongArray.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="a03865.html">vtkLongArray.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:16:09 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>