Sophie

Sophie

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

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkImageWeightedSum Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkImageWeightedSum Class Reference</h1><!-- doxytag: class="vtkImageWeightedSum" --><!-- doxytag: inherits="vtkThreadedImageAlgorithm" --><code>#include &lt;<a class="el" href="a04760.html">vtkImageWeightedSum.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkImageWeightedSum:</div>
<div class="dynsection">
<p><center><img src="a11281.png" border="0" usemap="#a11282" alt="Inheritance graph"></center>
<map name="a11282">
<area shape="rect" href="a01705.html" title="Generic filter that has one input.." alt="" coords="5,304,200,331"><area shape="rect" href="a00727.html" title="Generic algorithm superclass for image algs." alt="" coords="35,230,171,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="53,155,152,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="63,80,143,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="48,6,157,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkImageWeightedSum:</div>
<div class="dynsection">
<p><center><img src="a11283.png" border="0" usemap="#a11284" alt="Collaboration graph"></center>
<map name="a11284">
<area shape="rect" href="a01705.html" title="Generic filter that has one input.." alt="" coords="1726,306,1920,332"><area shape="rect" href="a00727.html" title="Generic algorithm superclass for image algs." alt="" coords="1486,291,1622,318"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1126,284,1224,311"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1504,379,1603,406"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,254,524,280"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="734,331,883,358"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="754,28,863,55"><area shape="rect" href="a01064.html" title="A class for performing multithreaded execution." alt="" coords="1491,514,1616,540"><area shape="rect" href="a01074.html" title="mutual exclusion locking class" alt="" coords="755,548,862,575"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1114,44,1236,71"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="908,227,1050,254"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,79,116,106"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,28,566,55"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="170,79,300,106"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,154,290,180"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="2042,94,2159,120"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="394,79,575,106"><area shape="rect" href="a01065.html" title="vtkMultiThreader::ThreadInfo" alt="" coords="1075,602,1275,628"><area shape="rect" href="a01552.html" title="vtkSimpleMutexLock" alt="" coords="411,556,558,583"><area shape="rect" href="a00436.html" title="dynamic, self&#45;adjusting array of double" alt="" coords="1766,175,1880,202"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1503,54,1604,80"><area shape="rect" href="a01784.html" title="dynamic, self&#45;adjusting array of unsigned char" alt="" coords="1743,10,1903,36"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a11285.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
adds any number of images, weighting each according to the weight set using this-&gt;SetWeights(i,w). 
<p>
All weights are normalized so they will sum to 1. Images must have the same extents. Output is<p>
<dl class="user" compact><dt><b>Thanks:</b></dt><dd>The original author of this class is Lauren O'Donnell (MIT) for Slicer</dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_8.html#c2_vtk_t_vtkImageWeightedSum">vtkImageWeightedSum (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04760.html#l00036">36</a> of file <a class="el" href="a04760.html">vtkImageWeightedSum.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="a01705.html">vtkThreadedImageAlgorithm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#2f9b73e5545e33fdf39f13e66cb04788">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#2575cc9da350b4974d8e3f04ab217330">GetClassName</a> ()</td></tr>

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

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#fa6bf8c5203c0a99fd97be42c92bb742">SetWeight</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id, double weight)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#d3d40674cc17bd28da09d8fc876a0952">CalculateTotalWeight</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#ed9f5809b287fe1e14ae6fd0e639b0f6">SetWeights</a> (<a class="el" href="a00436.html">vtkDoubleArray</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a00436.html">vtkDoubleArray</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#8f61e7465b3d76e201772d12cd9c2602">GetWeights</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#6cfdf9222f24533814ebb1527fba2071">GetNormalizeByWeight</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#4cc6cc9116165c1d0fb529e4ef4a6691">SetNormalizeByWeight</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#8a5c71841469b5aebb28010766858188">NormalizeByWeightOn</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#f16fe5c48488d5d2e1a6c7fc14f68564">NormalizeByWeightOff</a> ()</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="a00849.html">vtkImageWeightedSum</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#9787612ccb752d11086d30e4110936e6">New</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00849.html">vtkImageWeightedSum</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#8431d00952b75f532417c5819826a862">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#2f0808b9a2d07db934f73b7770b5aa48">vtkImageWeightedSum</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#454f242f4354d5db10fc88fdb211a755">~vtkImageWeightedSum</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#4789128dc169dff1294bcd132123c16e">RequestInformation</a> (<a class="el" href="a00872.html">vtkInformation</a> *vtkNotUsed(request), <a class="el" href="a00895.html">vtkInformationVector</a> **vtkNotUsed(inputVector), <a class="el" href="a00895.html">vtkInformationVector</a> *outputVector)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#9ab51722198c923db3fbb142d58d25dc">ThreadedRequestData</a> (<a class="el" href="a00872.html">vtkInformation</a> *request, <a class="el" href="a00895.html">vtkInformationVector</a> **inputVector, <a class="el" href="a00895.html">vtkInformationVector</a> *outputVector, <a class="el" href="a00751.html">vtkImageData</a> ***inData, <a class="el" href="a00751.html">vtkImageData</a> **outData, int ext[6], int id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#30c1bdb53ac8f9f9a4277437b265ac89">FillInputPortInformation</a> (int i, <a class="el" href="a00872.html">vtkInformation</a> *info)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00436.html">vtkDoubleArray</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#24768a26dc609fccaa62ec1468ccfce9">Weights</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00849.html#95d1700b16505edb40177786d0ef1761">NormalizeByWeight</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="2f9b73e5545e33fdf39f13e66cb04788"></a><!-- doxytag: member="vtkImageWeightedSum::Superclass" ref="2f9b73e5545e33fdf39f13e66cb04788" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01705.html">vtkThreadedImageAlgorithm</a> <a class="el" href="a01705.html">vtkImageWeightedSum::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01705.html#67876177e53dbc18f91b9b50f8f03331">vtkThreadedImageAlgorithm</a>.</p>

<p>Definition at line <a class="el" href="a04760.html#l00040">40</a> of file <a class="el" href="a04760.html">vtkImageWeightedSum.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2f0808b9a2d07db934f73b7770b5aa48"></a><!-- doxytag: member="vtkImageWeightedSum::vtkImageWeightedSum" ref="2f0808b9a2d07db934f73b7770b5aa48" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkImageWeightedSum::vtkImageWeightedSum           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="454f242f4354d5db10fc88fdb211a755"></a><!-- doxytag: member="vtkImageWeightedSum::~vtkImageWeightedSum" ref="454f242f4354d5db10fc88fdb211a755" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkImageWeightedSum::~vtkImageWeightedSum           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9787612ccb752d11086d30e4110936e6"></a><!-- doxytag: member="vtkImageWeightedSum::New" ref="9787612ccb752d11086d30e4110936e6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00849.html">vtkImageWeightedSum</a>* vtkImageWeightedSum::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. 
<p>Reimplemented from <a class="el" href="a00101.html#06d80d8d4aa1a4856135fa003845be82">vtkAlgorithm</a>.</p>

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

<p>

<p>Reimplemented from <a class="el" href="a01705.html#8622c920af18a6521f427d7b70613faa">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="f5fcf96e298f448220b970b9dd169941"></a><!-- doxytag: member="vtkImageWeightedSum::IsTypeOf" ref="f5fcf96e298f448220b970b9dd169941" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkImageWeightedSum::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01705.html#1e20b0feec3712e39d352e47d582ff4e">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="5589e8ca14420251943a646540af6c2a"></a><!-- doxytag: member="vtkImageWeightedSum::IsA" ref="5589e8ca14420251943a646540af6c2a" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageWeightedSum::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01705.html#250ac29fa902a270b6f94702f7f24e9b">vtkThreadedImageAlgorithm</a>.</p>

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

<p>

<p>Reimplemented from <a class="el" href="a01705.html#def8b2b0abda015b495884db6f717625">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="b6496fecf6ec26eec2480d644f875f68"></a><!-- doxytag: member="vtkImageWeightedSum::PrintSelf" ref="b6496fecf6ec26eec2480d644f875f68" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkImageWeightedSum::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a01705.html#53dc14a03ab6cffae0ca5cadb2c6d172">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="ed9f5809b287fe1e14ae6fd0e639b0f6"></a><!-- doxytag: member="vtkImageWeightedSum::SetWeights" ref="ed9f5809b287fe1e14ae6fd0e639b0f6" args="(vtkDoubleArray *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageWeightedSum::SetWeights           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00436.html">vtkDoubleArray</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The weights control the contribution of each input to the sum. They will be normalized to sum to 1 before filter execution. 
</div>
</div><p>
<a class="anchor" name="8f61e7465b3d76e201772d12cd9c2602"></a><!-- doxytag: member="vtkImageWeightedSum::GetWeights" ref="8f61e7465b3d76e201772d12cd9c2602" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00436.html">vtkDoubleArray</a>* vtkImageWeightedSum::GetWeights           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The weights control the contribution of each input to the sum. They will be normalized to sum to 1 before filter execution. 
</div>
</div><p>
<a class="anchor" name="fa6bf8c5203c0a99fd97be42c92bb742"></a><!-- doxytag: member="vtkImageWeightedSum::SetWeight" ref="fa6bf8c5203c0a99fd97be42c92bb742" args="(vtkIdType id, double weight)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageWeightedSum::SetWeight           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>weight</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change a specific weight. Reallocation is done 
</div>
</div><p>
<a class="anchor" name="6cfdf9222f24533814ebb1527fba2071"></a><!-- doxytag: member="vtkImageWeightedSum::GetNormalizeByWeight" ref="6cfdf9222f24533814ebb1527fba2071" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageWeightedSum::GetNormalizeByWeight           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Setting NormalizeByWeight on will divide the final result by the total weight of the component functions. This process does not otherwise normalize the weighted sum By default, NormalizeByWeight is on. 
</div>
</div><p>
<a class="anchor" name="4cc6cc9116165c1d0fb529e4ef4a6691"></a><!-- doxytag: member="vtkImageWeightedSum::SetNormalizeByWeight" ref="4cc6cc9116165c1d0fb529e4ef4a6691" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageWeightedSum::SetNormalizeByWeight           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Setting NormalizeByWeight on will divide the final result by the total weight of the component functions. This process does not otherwise normalize the weighted sum By default, NormalizeByWeight is on. 
</div>
</div><p>
<a class="anchor" name="8a5c71841469b5aebb28010766858188"></a><!-- doxytag: member="vtkImageWeightedSum::NormalizeByWeightOn" ref="8a5c71841469b5aebb28010766858188" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageWeightedSum::NormalizeByWeightOn           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Setting NormalizeByWeight on will divide the final result by the total weight of the component functions. This process does not otherwise normalize the weighted sum By default, NormalizeByWeight is on. 
</div>
</div><p>
<a class="anchor" name="f16fe5c48488d5d2e1a6c7fc14f68564"></a><!-- doxytag: member="vtkImageWeightedSum::NormalizeByWeightOff" ref="f16fe5c48488d5d2e1a6c7fc14f68564" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageWeightedSum::NormalizeByWeightOff           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Setting NormalizeByWeight on will divide the final result by the total weight of the component functions. This process does not otherwise normalize the weighted sum By default, NormalizeByWeight is on. 
</div>
</div><p>
<a class="anchor" name="d3d40674cc17bd28da09d8fc876a0952"></a><!-- doxytag: member="vtkImageWeightedSum::CalculateTotalWeight" ref="d3d40674cc17bd28da09d8fc876a0952" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkImageWeightedSum::CalculateTotalWeight           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compute the total value of all the weight 
</div>
</div><p>
<a class="anchor" name="4789128dc169dff1294bcd132123c16e"></a><!-- doxytag: member="vtkImageWeightedSum::RequestInformation" ref="4789128dc169dff1294bcd132123c16e" args="(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkImageWeightedSum::RequestInformation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname"> <em>vtkNotUsed</em>request, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname"> <em>vtkNotUsed</em>inputVector, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"> <em>outputVector</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9ab51722198c923db3fbb142d58d25dc"></a><!-- doxytag: member="vtkImageWeightedSum::ThreadedRequestData" ref="9ab51722198c923db3fbb142d58d25dc" args="(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkImageWeightedSum::ThreadedRequestData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname"> <em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname"> <em>inputVector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"> <em>outputVector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> ***&nbsp;</td>
          <td class="paramname"> <em>inData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> **&nbsp;</td>
          <td class="paramname"> <em>outData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>extent</em>[6], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>threadId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method. 
<p>Reimplemented from <a class="el" href="a01705.html#dda52b8ad4b703ee11c76b916accbb42">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="30c1bdb53ac8f9f9a4277437b265ac89"></a><!-- doxytag: member="vtkImageWeightedSum::FillInputPortInformation" ref="30c1bdb53ac8f9f9a4277437b265ac89" args="(int i, vtkInformation *info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkImageWeightedSum::FillInputPortInformation           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname"> <em>info</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. 
<p>Reimplemented from <a class="el" href="a00727.html#7abefdbb585c2e27ebc314c894c87f74">vtkImageAlgorithm</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="24768a26dc609fccaa62ec1468ccfce9"></a><!-- doxytag: member="vtkImageWeightedSum::Weights" ref="24768a26dc609fccaa62ec1468ccfce9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00436.html">vtkDoubleArray</a>* <a class="el" href="a00849.html#24768a26dc609fccaa62ec1468ccfce9">vtkImageWeightedSum::Weights</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04760.html#l00071">71</a> of file <a class="el" href="a04760.html">vtkImageWeightedSum.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="95d1700b16505edb40177786d0ef1761"></a><!-- doxytag: member="vtkImageWeightedSum::NormalizeByWeight" ref="95d1700b16505edb40177786d0ef1761" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00849.html#95d1700b16505edb40177786d0ef1761">vtkImageWeightedSum::NormalizeByWeight</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Imaging/<a class="el" href="a04760.html">vtkImageWeightedSum.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:11:48 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>