Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 10541

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ITK: itk::VariableLengthVector&lt; TValueType &gt; Class Template Reference</title>
<link href="DoxygenStyle.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">


<!--  Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 -->
<center>
<a href="index.html" class="qindex">Main Page</a>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<a href="pages.html" class="qindex">Concepts</a></center>


<!-- Generated by Doxygen 1.5.9 -->
  <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>
  </div>
<div class="contents">
<h1>itk::VariableLengthVector&lt; TValueType &gt; Class Template Reference<br>
<small>
[<a class="el" href="group__DataRepresentation.html">Data Representation Objects</a>]</small>
</h1><!-- doxytag: class="itk::VariableLengthVector" --><a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> is intended to represent an array whose length can be defined at run-time.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>&gt;</code>
<p>

<p>
<a href="classitk_1_1VariableLengthVector-members.html">List of all members.</a><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 TValueType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#a9f5b4f7a1671c5b458711a4fba04187">ComponentType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#a675a44e326f844e9c753813e19c00b5">ElementIdentifier</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef NumericTraits<br class="typebreak">
&lt; <a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a> &gt;::RealType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#6f50241316d19b6319e53cc4729f24fc">RealValueType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#d293b865fd7b78e9504ae6332c3b0594">Self</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef TValueType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TValueType *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#86ef20cc849aab410d133850057b522e">AllocateElements</a> (<a class="el" href="classitk_1_1VariableLengthVector.html#a675a44e326f844e9c753813e19c00b5">ElementIdentifier</a> size) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#4ba9a4bf8f57cda9569750a574911eec">Fill</a> (TValueType const &amp;v)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const TValueType *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#398acada8571ac0141d61dccb289e3ec">GetDataPointer</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const TValueType &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#658acd6c5fd843d5e371d585ce1c5bf7">GetElement</a> (unsigned int i) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html#6f50241316d19b6319e53cc4729f24fc">RealValueType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#778f0684fee0713ca1bce6ba4be144ae">GetNorm</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html#6f50241316d19b6319e53cc4729f24fc">RealValueType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#740c74f6fb483ad0a8b7fdf66956de9e">GetSquaredNorm</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#ad780cbccdcde847b8aea5150a6a39b6">operator=</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;v)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">TValueType const &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#c1904fbcb397cc065e5a83ce5bcae4f1">operator[]</a> (unsigned int i) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">TValueType &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#75033acb60bd2ae6556f1f80969e53c3">operator[]</a> (unsigned int i)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#cc7fb7a7fa1c78dae6528aa076ba8269">Reserve</a> (<a class="el" href="classitk_1_1VariableLengthVector.html#a675a44e326f844e9c753813e19c00b5">ElementIdentifier</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#5db4a6c4cd95560ff2272169669b05e8">SetData</a> (TValueType *data, unsigned int sz, bool LetArrayManageMemory=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#033dd256aea741b18898b4e5006d6031">SetData</a> (TValueType *data, bool LetArrayManageMemory=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#1179e2b3e9f79afbde179d091022ef62">SetElement</a> (unsigned int i, const TValueType &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#92f41c05d700973c9217a50b622ca440">VariableLengthVector</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; TValueType &gt; &amp;v)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#0ca4410f99ba7fc99a2c883cbd5981bf">VariableLengthVector</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a> *data, unsigned int sz, bool LetArrayManageMemory=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#5759ef9c89502ca523f578bfa42bf044">VariableLengthVector</a> (<a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a> *data, unsigned int sz, bool LetArrayManageMemory=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#7d257ef2ffdaaaaa461bfae100d5501b">VariableLengthVector</a> (unsigned int dimension)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#5a12a09438578a7e098feb175ab22921">VariableLengthVector</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#8ca9c1b560b7d5bc473c34293a93fa75">~VariableLengthVector</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#ec189161a001543e81470558c1925636">GetNumberOfElements</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#5ea050915e0f0463a610e51db839c450">Size</a> (void) const </td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#7f6523c6a263f23c8c9e82d855e5c9ba">GetSize</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#c8447247ce5c68e1c979a3e1811f859a">SetSize</a> (unsigned int sz, bool destroyExistingData=true)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#e426216173cf53dec709b96234252dd1">operator!=</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;v) const </td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#15d7769eca338e54865881c6d03f8bef">operator*</a> (T s) const </td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#d393f2987e19e370286f6f1ba65d4993">operator*=</a> (T s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#ede5480029cca06d31c10c5061bdc927">operator+</a> (TValueType s) const </td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#742b9a7d79381547439679eb41a6b2d1">operator+</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;v) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#40c48453088fb4fff80ec3764f74ccc0">operator++</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#e1af06ecccde788815251a9ca1e7ebaf">operator++</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#3a96062157e07298f2d71cc805e3b2fe">operator+=</a> (TValueType s)</td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#32b3b493a0dcd0aa324e72bba7f78aa6">operator+=</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;v)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#18ffaaed4ddc2240f2d803d35ae5015b">operator-</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#6a68cb75780771c54372c628ade2296e">operator-</a> (TValueType s) const </td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#dff95d903a9d6dbb3ecff6f5382ba974">operator-</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;v) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#6a68fc4e47ca43cfdcf9eaee75d29d6f">operator--</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#daf44b726bf4d29630119ad82ba98a71">operator--</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#7e080daaf2bd07ed43a0a03789ad9001">operator-=</a> (TValueType s)</td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#5cf50db173a2548762b5382877e5b70c">operator-=</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;v)</td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#488e3ead27293818ceb2c55c21db6bfc">operator/</a> (T s) const </td></tr>

<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#77d75f5f16c96e97db06694725bccd20">operator/=</a> (T s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#c6a3b77de884236635f2336ba1b6e192">operator==</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;v) const </td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a><br class="typebreak">
&lt; TValueType &gt; &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#ef9f1909f63c41da27449af1c676ccf7">operator=</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;v)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitk_1_1VariableLengthVector.html#6d2a3847bb90116abc70e8d03f9929e8">VariableLengthVector</a> (const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;v)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename TValueType&gt;<br>
 class itk::VariableLengthVector&lt; TValueType &gt;</h3>

<a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> is intended to represent an array whose length can be defined at run-time. 
<p>
This class is templated over the data type. This data-type is meant to a scalar, such as float, double etc...<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>ITK itself provides several classes that can serve as <code>Arrays</code>. 1. <a class="el" href="classitk_1_1FixedArray.html" title="Simulate a standard C array with copy semnatics.">FixedArray</a> - Compile time fixed length arrays that's intended to represent an enumerated collection of <code>n</code> entities. 2. <a class="el" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">Array</a> - Run time resizeable array that is intended to hold a collection of <code>n</code> entities 3. <a class="el" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">Vector</a> - Compile time fixed length array that is intended to hold a collection of <code>n</code> data types. <a class="el" href="classA.html">A</a> vector usually has a mathematical meaning. It should only be used when mathematical operations such as addition, multiplication by a scalar, product etc make sense. 4. <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> - Run time array that is intended to hold a collection of scalar data types. Again, it should be used only when mathematical operations on it are relevant. If not, use an <a class="el" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">Array</a>. 5. <a class="el" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">Point</a> - Represents the spatial coordinates of a spatial location. Operators on <a class="el" href="classitk_1_1Point.html" title="A templated class holding a geometric point in n-Dimensional space.">Point</a> reflect geometrical concepts.</dd></dl>
<dl class="user" compact><dt><b>For the reasons listed above, you cannot instantiate </b></dt><dd><div class="fragment"><pre class="fragment"> VariableLengthVector&lt; bool &gt; 
</pre></div>.</dd></dl>
<dl class="user" compact><dt><b></b></dt><dd>Design Considerations: We do not derive from <code><a class="el" href="classvnl__vector.html">vnl_vector</a></code> to avoid being limited by the explicit template instantiations of <a class="el" href="classvnl__vector.html">vnl_vector</a> and other hacks that vnl folks have been forced to use.</dd></dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This work is part of the National Alliance for Medical <a class="el" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a> Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVector</a> <p>
<a class="el" href="classitk_1_1SymmetricSecondRankTensor.html" title="Represent a symmetric tensor of second rank.">SymmetricSecondRankTensor</a> <p>
<a class="el" href="classitk_1_1RGBPixel.html" title="Represent Red, Green and Blue component for color images.">RGBPixel</a> <p>
<a class="el" href="classitk_1_1DiffusionTensor3D.html" title="Represent a diffusion tensor as used in DTI images.">DiffusionTensor3D</a> </dd></dl>
<dl compact><dt><b>Examples: </b></dt><dd>

<p>
<a class="el" href="Testing_2Code_2Common_2itkVectorImageTest_8cxx-example.html#_a2">Testing/Code/Common/itkVectorImageTest.cxx</a>.</dl>
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00068">68</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="a9f5b4f7a1671c5b458711a4fba04187"></a><!-- doxytag: member="itk::VariableLengthVector::ComponentType" ref="a9f5b4f7a1671c5b458711a4fba04187" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef TValueType <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html#a9f5b4f7a1671c5b458711a4fba04187">ComponentType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00074">74</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="a675a44e326f844e9c753813e19c00b5"></a><!-- doxytag: member="itk::VariableLengthVector::ElementIdentifier" ref="a675a44e326f844e9c753813e19c00b5" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned int <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html#a675a44e326f844e9c753813e19c00b5">ElementIdentifier</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Typedef used to indicate the number of elements in the vector 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00079">79</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="6f50241316d19b6319e53cc4729f24fc"></a><!-- doxytag: member="itk::VariableLengthVector::RealValueType" ref="6f50241316d19b6319e53cc4729f24fc" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef NumericTraits&lt; <a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a> &gt;::RealType <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html#6f50241316d19b6319e53cc4729f24fc">RealValueType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00075">75</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d293b865fd7b78e9504ae6332c3b0594"></a><!-- doxytag: member="itk::VariableLengthVector::Self" ref="d293b865fd7b78e9504ae6332c3b0594" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00076">76</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2f54d348f8d424fe4a45b425bf9203ab"></a><!-- doxytag: member="itk::VariableLengthVector::ValueType" ref="2f54d348f8d424fe4a45b425bf9203ab" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef TValueType <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The element type stored at each location in the <a class="el" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">Array</a>. 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00073">73</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="5a12a09438578a7e098feb175ab22921"></a><!-- doxytag: member="itk::VariableLengthVector::VariableLengthVector" ref="5a12a09438578a7e098feb175ab22921" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor. It is created with an empty array it has to be allocated later by assignment 
</div>
</div><p>
<a class="anchor" name="7d257ef2ffdaaaaa461bfae100d5501b"></a><!-- doxytag: member="itk::VariableLengthVector::VariableLengthVector" ref="7d257ef2ffdaaaaa461bfae100d5501b" args="(unsigned int dimension)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>dimension</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor with size. <a class="el" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">Size</a> can only be changed by assignment 
</div>
</div><p>
<a class="anchor" name="5759ef9c89502ca523f578bfa42bf044"></a><!-- doxytag: member="itk::VariableLengthVector::VariableLengthVector" ref="5759ef9c89502ca523f578bfa42bf044" args="(ValueType *data, unsigned int sz, bool LetArrayManageMemory=false)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a> *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>LetArrayManageMemory</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor that initializes array with contents from a user supplied buffer. The pointer to the buffer and the length is specified. By default, the array does not manage the memory of the buffer. It merely points to that location and it is the user's responsibility to delete it. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed. 
</div>
</div><p>
<a class="anchor" name="0ca4410f99ba7fc99a2c883cbd5981bf"></a><!-- doxytag: member="itk::VariableLengthVector::VariableLengthVector" ref="0ca4410f99ba7fc99a2c883cbd5981bf" args="(const ValueType *data, unsigned int sz, bool LetArrayManageMemory=false)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html#2f54d348f8d424fe4a45b425bf9203ab">ValueType</a> *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>LetArrayManageMemory</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor that initializes array with contents from a user supplied buffer. The pointer to the buffer and the length is specified. By default, the array does not manage the memory of the buffer. It merely points to that location and it is the user's responsibility to delete it. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed. 
</div>
</div><p>
<a class="anchor" name="6d2a3847bb90116abc70e8d03f9929e8"></a><!-- doxytag: member="itk::VariableLengthVector::VariableLengthVector" ref="6d2a3847bb90116abc70e8d03f9929e8" args="(const VariableLengthVector&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. The reason why the copy constructor and the assignment operator are templated is that it will allow implicit casts to be performed. For instance <div class="fragment"><pre class="fragment"> VariableLengthVector&lt; int &gt; vI;
 VariableLengthVector&lt; float &gt; vF( vI );
 or <span class="keywordflow">for</span> instance vF = <span class="keyword">static_cast&lt;</span> VariableLengthVector&lt; float &gt; <span class="keyword">&gt;</span>( vI );
</pre></div> 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00117">117</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

<p>References <a class="el" href="classitk_1_1VariableLengthVector.html#86ef20cc849aab410d133850057b522e">itk::VariableLengthVector&lt; TValueType &gt;::AllocateElements()</a>, and <a class="el" href="itkVariableLengthVector_8h_source.html#l00159">itk::VariableLengthVector&lt; TValueType &gt;::Size()</a>.</p>

</div>
</div><p>
<a class="anchor" name="92f41c05d700973c9217a50b622ca440"></a><!-- doxytag: member="itk::VariableLengthVector::VariableLengthVector" ref="92f41c05d700973c9217a50b622ca440" args="(const VariableLengthVector&lt; TValueType &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; TValueType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructer.. Override the default non-templated copy constructor that the compiler provides 
</div>
</div><p>
<a class="anchor" name="8ca9c1b560b7d5bc473c34293a93fa75"></a><!-- doxytag: member="itk::VariableLengthVector::~VariableLengthVector" ref="8ca9c1b560b7d5bc473c34293a93fa75" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::~<a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This destructor is not virtual for performance reasons. However, this means that subclasses cannot allocate memory. 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="86ef20cc849aab410d133850057b522e"></a><!-- doxytag: member="itk::VariableLengthVector::AllocateElements" ref="86ef20cc849aab410d133850057b522e" args="(ElementIdentifier size) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">TValueType* <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::AllocateElements           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1VariableLengthVector.html#a675a44e326f844e9c753813e19c00b5">ElementIdentifier</a>&nbsp;</td>
          <td class="paramname"> <em>size</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allocate memory of certain size and return it. 
<p>Referenced by <a class="el" href="itkVariableLengthVector_8h_source.html#l00117">itk::VariableLengthVector&lt; TValueType &gt;::VariableLengthVector()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4ba9a4bf8f57cda9569750a574911eec"></a><!-- doxytag: member="itk::VariableLengthVector::Fill" ref="4ba9a4bf8f57cda9569750a574911eec" args="(TValueType const &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::Fill           </td>
          <td>(</td>
          <td class="paramtype">TValueType const &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the all the elements of the array to the specified value 
<p>Referenced by <a class="el" href="itkMeasurementVectorTraits_8h_source.html#l00086">itk::MeasurementVectorTraits::SetLength()</a>.</p>

</div>
</div><p>
<a class="anchor" name="398acada8571ac0141d61dccb289e3ec"></a><!-- doxytag: member="itk::VariableLengthVector::GetDataPointer" ref="398acada8571ac0141d61dccb289e3ec" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const TValueType* <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::GetDataPointer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00229">229</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

<p>Referenced by <a class="el" href="itkVariableLengthVector_8h_source.html#l00139">itk::VariableLengthVector&lt; TValueType &gt;::operator=()</a>, and <a class="el" href="itkMetaArrayWriter_8h_source.html#l00115">itk::MetaArrayWriter::SetInput()</a>.</p>

</div>
</div><p>
<a class="anchor" name="658acd6c5fd843d5e371d585ce1c5bf7"></a><!-- doxytag: member="itk::VariableLengthVector::GetElement" ref="658acd6c5fd843d5e371d585ce1c5bf7" args="(unsigned int i) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const TValueType&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::GetElement           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get one element 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00172">172</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="778f0684fee0713ca1bce6ba4be144ae"></a><!-- doxytag: member="itk::VariableLengthVector::GetNorm" ref="778f0684fee0713ca1bce6ba4be144ae" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html#6f50241316d19b6319e53cc4729f24fc">RealValueType</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::GetNorm           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns vector's Euclidean Norm 
</div>
</div><p>
<a class="anchor" name="ec189161a001543e81470558c1925636"></a><!-- doxytag: member="itk::VariableLengthVector::GetNumberOfElements" ref="ec189161a001543e81470558c1925636" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::GetNumberOfElements           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the number of elements in the <a class="el" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">Array</a> 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00161">161</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7f6523c6a263f23c8c9e82d855e5c9ba"></a><!-- doxytag: member="itk::VariableLengthVector::GetSize" ref="7f6523c6a263f23c8c9e82d855e5c9ba" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::GetSize           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the size to that given.<p>
If <code>destroyExistingData</code> is <code>false:</code> If the array already contains data, the existing data is copied over and new space is allocated, if necessary. If the length to reserve is less than the current number of elements, then an appropriate number of elements are discarded. If <code>true</code>, the size is set destructively to the length given. If the length is different from the current length, existing data will be lost. The default is <code>true</code>. 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00190">190</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

<p>Referenced by <a class="el" href="itkMeasurementVectorTraits_8h_source.html#l00134">itk::MeasurementVectorTraits::GetLength()</a>.</p>

</div>
</div><p>
<a class="anchor" name="740c74f6fb483ad0a8b7fdf66956de9e"></a><!-- doxytag: member="itk::VariableLengthVector::GetSquaredNorm" ref="740c74f6fb483ad0a8b7fdf66956de9e" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html#6f50241316d19b6319e53cc4729f24fc">RealValueType</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::GetSquaredNorm           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns vector's Squared Euclidean Norm 
</div>
</div><p>
<a class="anchor" name="e426216173cf53dec709b96234252dd1"></a><!-- doxytag: member="itk::VariableLengthVector::operator!=" ref="e426216173cf53dec709b96234252dd1" args="(const Self &amp;v) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator!=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

</div>
</div><p>
<a class="anchor" name="15d7769eca338e54865881c6d03f8bef"></a><!-- doxytag: member="itk::VariableLengthVector::operator*" ref="15d7769eca338e54865881c6d03f8bef" args="(T s) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator*           </td>
          <td>(</td>
          <td class="paramtype">T&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00267">267</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d393f2987e19e370286f6f1ba65d4993"></a><!-- doxytag: member="itk::VariableLengthVector::operator*=" ref="d393f2987e19e370286f6f1ba65d4993" args="(T s)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator*=           </td>
          <td>(</td>
          <td class="paramtype">T&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00367">367</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ede5480029cca06d31c10c5061bdc927"></a><!-- doxytag: member="itk::VariableLengthVector::operator+" ref="ede5480029cca06d31c10c5061bdc927" args="(TValueType s) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator+           </td>
          <td>(</td>
          <td class="paramtype">TValueType&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00287">287</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="742b9a7d79381547439679eb41a6b2d1"></a><!-- doxytag: member="itk::VariableLengthVector::operator+" ref="742b9a7d79381547439679eb41a6b2d1" args="(const VariableLengthVector&lt; T &gt; &amp;v) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator+           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00236">236</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

<p>References <a class="el" href="itkVariableLengthVector_8h_source.html#l00159">itk::VariableLengthVector&lt; TValueType &gt;::Size()</a>.</p>

</div>
</div><p>
<a class="anchor" name="40c48453088fb4fff80ec3764f74ccc0"></a><!-- doxytag: member="itk::VariableLengthVector::operator++" ref="40c48453088fb4fff80ec3764f74ccc0" args="(int)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator++           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00327">327</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e1af06ecccde788815251a9ca1e7ebaf"></a><!-- doxytag: member="itk::VariableLengthVector::operator++" ref="e1af06ecccde788815251a9ca1e7ebaf" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator++           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00313">313</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3a96062157e07298f2d71cc805e3b2fe"></a><!-- doxytag: member="itk::VariableLengthVector::operator+=" ref="3a96062157e07298f2d71cc805e3b2fe" args="(TValueType s)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator+=           </td>
          <td>(</td>
          <td class="paramtype">TValueType&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00359">359</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="32b3b493a0dcd0aa324e72bba7f78aa6"></a><!-- doxytag: member="itk::VariableLengthVector::operator+=" ref="32b3b493a0dcd0aa324e72bba7f78aa6" args="(const VariableLengthVector&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator+=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00351">351</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="18ffaaed4ddc2240f2d803d35ae5015b"></a><!-- doxytag: member="itk::VariableLengthVector::operator&#45;" ref="18ffaaed4ddc2240f2d803d35ae5015b" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator-           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

</div>
</div><p>
<a class="anchor" name="6a68cb75780771c54372c628ade2296e"></a><!-- doxytag: member="itk::VariableLengthVector::operator&#45;" ref="6a68cb75780771c54372c628ade2296e" args="(TValueType s) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator-           </td>
          <td>(</td>
          <td class="paramtype">TValueType&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00296">296</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="dff95d903a9d6dbb3ecff6f5382ba974"></a><!-- doxytag: member="itk::VariableLengthVector::operator&#45;" ref="dff95d903a9d6dbb3ecff6f5382ba974" args="(const VariableLengthVector&lt; T &gt; &amp;v) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator-           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00252">252</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

<p>References <a class="el" href="itkVariableLengthVector_8h_source.html#l00159">itk::VariableLengthVector&lt; TValueType &gt;::Size()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6a68fc4e47ca43cfdcf9eaee75d29d6f"></a><!-- doxytag: member="itk::VariableLengthVector::operator&#45;&#45;" ref="6a68fc4e47ca43cfdcf9eaee75d29d6f" args="(int)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator--           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00321">321</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="daf44b726bf4d29630119ad82ba98a71"></a><!-- doxytag: member="itk::VariableLengthVector::operator&#45;&#45;" ref="daf44b726bf4d29630119ad82ba98a71" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator--           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00305">305</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7e080daaf2bd07ed43a0a03789ad9001"></a><!-- doxytag: member="itk::VariableLengthVector::operator&#45;=" ref="7e080daaf2bd07ed43a0a03789ad9001" args="(TValueType s)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator-=           </td>
          <td>(</td>
          <td class="paramtype">TValueType&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00342">342</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5cf50db173a2548762b5382877e5b70c"></a><!-- doxytag: member="itk::VariableLengthVector::operator&#45;=" ref="5cf50db173a2548762b5382877e5b70c" args="(const VariableLengthVector&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator-=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00334">334</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="488e3ead27293818ceb2c55c21db6bfc"></a><!-- doxytag: member="itk::VariableLengthVector::operator/" ref="488e3ead27293818ceb2c55c21db6bfc" args="(T s) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator/           </td>
          <td>(</td>
          <td class="paramtype">T&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00276">276</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="77d75f5f16c96e97db06694725bccd20"></a><!-- doxytag: member="itk::VariableLengthVector::operator/=" ref="77d75f5f16c96e97db06694725bccd20" args="(T s)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator/=           </td>
          <td>(</td>
          <td class="paramtype">T&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00375">375</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ad780cbccdcde847b8aea5150a6a39b6"></a><!-- doxytag: member="itk::VariableLengthVector::operator=" ref="ad780cbccdcde847b8aea5150a6a39b6" args="(const Self &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a>&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator 
</div>
</div><p>
<a class="anchor" name="ef9f1909f63c41da27449af1c676ccf7"></a><!-- doxytag: member="itk::VariableLengthVector::operator=" ref="ef9f1909f63c41da27449af1c676ccf7" args="(const VariableLengthVector&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; TValueType &gt;&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">VariableLengthVector</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00139">139</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

<p>References <a class="el" href="itkVariableLengthVector_8h_source.html#l00229">itk::VariableLengthVector&lt; TValueType &gt;::GetDataPointer()</a>, and <a class="el" href="classitk_1_1VariableLengthVector.html#c8447247ce5c68e1c979a3e1811f859a">itk::VariableLengthVector&lt; TValueType &gt;::SetSize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c6a3b77de884236635f2336ba1b6e192"></a><!-- doxytag: member="itk::VariableLengthVector::operator==" ref="c6a3b77de884236635f2336ba1b6e192" args="(const Self &amp;v) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1VariableLengthVector.html">Self</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Mathematical operators. <dl class="note" compact><dt><b>Note:</b></dt><dd>For efficiency, the operators do not check to see of the length of the vectors are the same. For instance it is assumed that if you are adding <a class="el" href="classitk_1_1VariableLengthVector.html" title="VariableLengthVector is intended to represent an array whose length can be defined...">VariableLengthVector</a> a and b, they are of the same length. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c1904fbcb397cc065e5a83ce5bcae4f1"></a><!-- doxytag: member="itk::VariableLengthVector::operator[]" ref="c1904fbcb397cc065e5a83ce5bcae4f1" args="(unsigned int i) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">TValueType const&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator[]           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return reference to the element at specified index. No range checking. 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00169">169</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="75033acb60bd2ae6556f1f80969e53c3"></a><!-- doxytag: member="itk::VariableLengthVector::operator[]" ref="75033acb60bd2ae6556f1f80969e53c3" args="(unsigned int i)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">TValueType&amp; <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::operator[]           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return reference to the element at specified index. No range checking. 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00166">166</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="cc7fb7a7fa1c78dae6528aa076ba8269"></a><!-- doxytag: member="itk::VariableLengthVector::Reserve" ref="cc7fb7a7fa1c78dae6528aa076ba8269" args="(ElementIdentifier)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::Reserve           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1VariableLengthVector.html#a675a44e326f844e9c753813e19c00b5">ElementIdentifier</a>&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reserves memory of a certain length.<p>
If the array already contains data, the existing data is copied over and new space is allocated, if necessary. If the length to reserve is less than the current number of elements, then an appropriate number of elements are discarded. 
</div>
</div><p>
<a class="anchor" name="5db4a6c4cd95560ff2272169669b05e8"></a><!-- doxytag: member="itk::VariableLengthVector::SetData" ref="5db4a6c4cd95560ff2272169669b05e8" args="(TValueType *data, unsigned int sz, bool LetArrayManageMemory=false)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::SetData           </td>
          <td>(</td>
          <td class="paramtype">TValueType *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>LetArrayManageMemory</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Similar to the previous method. In the above method, the size must be seperately set prior to using user-supplied data. This introduces an unnecessary allocation step to be performed. This method avoids it and should be used to import data whereever possible to avoid this. Set the pointer from which the data is imported. If "LetArrayManageMemory" is false, then the application retains the responsibility of freeing the memory for this data. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed. 
</div>
</div><p>
<a class="anchor" name="033dd256aea741b18898b4e5006d6031"></a><!-- doxytag: member="itk::VariableLengthVector::SetData" ref="033dd256aea741b18898b4e5006d6031" args="(TValueType *data, bool LetArrayManageMemory=false)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::SetData           </td>
          <td>(</td>
          <td class="paramtype">TValueType *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>LetArrayManageMemory</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the pointer from which the data is imported. If "LetArrayManageMemory" is false, then the application retains the responsibility of freeing the memory for this data. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed. 
<p>Referenced by <a class="el" href="itkMetaArrayReader_8h_source.html#l00205">itk::MetaArrayReader::GetOutput()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1179e2b3e9f79afbde179d091022ef62"></a><!-- doxytag: member="itk::VariableLengthVector::SetElement" ref="1179e2b3e9f79afbde179d091022ef62" args="(unsigned int i, const TValueType &amp;value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::SetElement           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TValueType &amp;&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 one element 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00176">176</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="c8447247ce5c68e1c979a3e1811f859a"></a><!-- doxytag: member="itk::VariableLengthVector::SetSize" ref="c8447247ce5c68e1c979a3e1811f859a" args="(unsigned int sz, bool destroyExistingData=true)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::SetSize           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>destroyExistingData</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the size to that given.<p>
If <code>destroyExistingData</code> is <code>false:</code> If the array already contains data, the existing data is copied over and new space is allocated, if necessary. If the length to reserve is less than the current number of elements, then an appropriate number of elements are discarded. If <code>true</code>, the size is set destructively to the length given. If the length is different from the current length, existing data will be lost. The default is <code>true</code>. 
<p>Referenced by <a class="el" href="itkVariableLengthVector_8h_source.html#l00139">itk::VariableLengthVector&lt; TValueType &gt;::operator=()</a>, and <a class="el" href="itkMeasurementVectorTraits_8h_source.html#l00086">itk::MeasurementVectorTraits::SetLength()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5ea050915e0f0463a610e51db839c450"></a><!-- doxytag: member="itk::VariableLengthVector::Size" ref="5ea050915e0f0463a610e51db839c450" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TValueType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classitk_1_1VariableLengthVector.html">itk::VariableLengthVector</a>&lt; TValueType &gt;::<a class="el" href="classitk_1_1Size.html">Size</a>           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the number of elements in the <a class="el" href="classitk_1_1Array.html" title="Array class with size defined at construction time.">Array</a> 
<p>Definition at line <a class="el" href="itkVariableLengthVector_8h_source.html#l00159">159</a> of file <a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a>.</p>

<p>Referenced by <a class="el" href="itkMeasurementVectorTraits_8h_source.html#l00189">itk::MeasurementVectorTraits::Assert()</a>, <a class="el" href="itkVariableLengthVector_8h_source.html#l00236">itk::VariableLengthVector&lt; TValueType &gt;::operator+()</a>, <a class="el" href="itkVariableLengthVector_8h_source.html#l00252">itk::VariableLengthVector&lt; TValueType &gt;::operator-()</a>, <a class="el" href="itkVariableLengthVector_8h_source.html#l00417">itk::operator&lt;&lt;()</a>, <a class="el" href="itkMetaArrayWriter_8h_source.html#l00115">itk::MetaArrayWriter::SetInput()</a>, and <a class="el" href="itkVariableLengthVector_8h_source.html#l00117">itk::VariableLengthVector&lt; TValueType &gt;::VariableLengthVector()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="itkVariableLengthVector_8h_source.html">itkVariableLengthVector.h</a></ul>
</div>
<hr><address><small>
Generated at Fri May 8 07:43:37 2009 for ITK  by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img 
src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen"
align="middle" border=0 width=110 height=53>
</a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>