<!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: vtkImageTwoInputFilter Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkImageTwoInputFilter Class Reference</h1><!-- doxytag: class="vtkImageTwoInputFilter" --><!-- doxytag: inherits="vtkImageMultipleInputFilter" --><code>#include <<a class="el" href="a04076.html">vtkImageTwoInputFilter.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkImageTwoInputFilter:</div> <div class="dynsection"> <p><center><img src="a11261.png" border="0" usemap="#a11262" alt="Inheritance graph"></center> <map name="a11262"> <area shape="rect" href="a00801.html" title="Generic filter that has N inputs." alt="" coords="6,453,190,480"><area shape="rect" href="a00832.html" title="Source of data for the imaging pipeline." alt="" coords="38,379,158,405"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="56,304,139,331"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="34,229,162,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="48,155,147,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="58,80,138,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="43,5,152,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkImageTwoInputFilter:</div> <div class="dynsection"> <p><center><img src="a11263.png" border="0" usemap="#a11264" alt="Collaboration graph"></center> <map name="a11264"> <area shape="rect" href="a00801.html" title="Generic filter that has N inputs." alt="" coords="1921,153,2105,180"><area shape="rect" href="a00832.html" title="Source of data for the imaging pipeline." alt="" coords="1713,121,1833,148"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="1499,123,1581,149"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1720,432,1827,459"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="1949,305,2077,332"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1117,325,1216,352"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1491,340,1589,367"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,385,524,412"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="733,385,883,412"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="753,625,863,652"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1491,543,1589,569"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1105,575,1228,601"><area shape="rect" href="a01064.html" title="A class for performing multithreaded execution." alt="" coords="1477,173,1603,200"><area shape="rect" href="a01074.html" title="mutual exclusion locking class" alt="" coords="755,103,861,129"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,575,116,601"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,621,565,648"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,636,300,663"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,173,289,200"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,672,575,699"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1069,625,1264,652"><area shape="rect" href="a01065.html" title="vtkMultiThreader::ThreadInfo" alt="" coords="1067,123,1267,149"><area shape="rect" href="a01552.html" title="vtkSimpleMutexLock" alt="" coords="411,96,557,123"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a11265.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Generic superclass for filters that have two inputs. <p> <a class="el" href="a00845.html" title="Generic superclass for filters that have two inputs.">vtkImageTwoInputFilter</a> handles two inputs. It is just a subclass of <a class="el" href="a00801.html" title="Generic filter that has N inputs.">vtkImageMultipleInputFilter</a> with some methods that are specific to two inputs. Although the inputs are labeled input1 and input2, they are stored in an array indexed starting at 0. <p>Definition at line <a class="el" href="a04076.html#l00030">30</a> of file <a class="el" href="a04076.html">vtkImageTwoInputFilter.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="a00801.html">vtkImageMultipleInputFilter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#901f477a0bacc0eb6c007003a9928206">Superclass</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#9c86beafa548f928f2e8388fba4ec2d0">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#1c6b59dbd6d6332f1fe42ceb565fef77">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#bb129332c0e1df8272d2d54808acff45">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#103220dadf8006a60623d8cbeb59d6d3">SetInput1</a> (<a class="el" href="a00751.html">vtkImageData</a> *input)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#6df58a6ae494a9948c91739c070f7925">SetInput2</a> (<a class="el" href="a00751.html">vtkImageData</a> *input)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00751.html">vtkImageData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#309fa3dc786443f552d064d5ece4f38d">GetInput1</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00751.html">vtkImageData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#ff63befa697c24b95622cc163c34c236">GetInput2</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 int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#2376f7e698024fdb03b72719394196e4">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00845.html">vtkImageTwoInputFilter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#52649461eca348ad3341f2990ad459f2">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#3d1108361b8519023639ff2742db6e67">vtkImageTwoInputFilter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00845.html#a429090a0ba1809b45ca82c98f0e9e13">~vtkImageTwoInputFilter</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="901f477a0bacc0eb6c007003a9928206"></a><!-- doxytag: member="vtkImageTwoInputFilter::Superclass" ref="901f477a0bacc0eb6c007003a9928206" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a00801.html">vtkImageMultipleInputFilter</a> <a class="el" href="a00801.html">vtkImageTwoInputFilter::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00801.html#0e647e601005832429ec8d80f6b64268">vtkImageMultipleInputFilter</a>.</p> <p>Definition at line <a class="el" href="a04076.html#l00033">33</a> of file <a class="el" href="a04076.html">vtkImageTwoInputFilter.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="3d1108361b8519023639ff2742db6e67"></a><!-- doxytag: member="vtkImageTwoInputFilter::vtkImageTwoInputFilter" ref="3d1108361b8519023639ff2742db6e67" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkImageTwoInputFilter::vtkImageTwoInputFilter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="a429090a0ba1809b45ca82c98f0e9e13"></a><!-- doxytag: member="vtkImageTwoInputFilter::~vtkImageTwoInputFilter" ref="a429090a0ba1809b45ca82c98f0e9e13" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkImageTwoInputFilter::~vtkImageTwoInputFilter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a04076.html#l00052">52</a> of file <a class="el" href="a04076.html">vtkImageTwoInputFilter.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="9c86beafa548f928f2e8388fba4ec2d0"></a><!-- doxytag: member="vtkImageTwoInputFilter::GetClassName" ref="9c86beafa548f928f2e8388fba4ec2d0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkImageTwoInputFilter::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00801.html#f395be9acbbf3875f32085938a5c04bd">vtkImageMultipleInputFilter</a>.</p> </div> </div><p> <a class="anchor" name="2376f7e698024fdb03b72719394196e4"></a><!-- doxytag: member="vtkImageTwoInputFilter::IsTypeOf" ref="2376f7e698024fdb03b72719394196e4" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkImageTwoInputFilter::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00801.html#50b69b7cd85ea17bedef3eb718929fd7">vtkImageMultipleInputFilter</a>.</p> </div> </div><p> <a class="anchor" name="1c6b59dbd6d6332f1fe42ceb565fef77"></a><!-- doxytag: member="vtkImageTwoInputFilter::IsA" ref="1c6b59dbd6d6332f1fe42ceb565fef77" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkImageTwoInputFilter::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00801.html#cb350e25f23e9fef116a287ff14bc35a">vtkImageMultipleInputFilter</a>.</p> </div> </div><p> <a class="anchor" name="52649461eca348ad3341f2990ad459f2"></a><!-- doxytag: member="vtkImageTwoInputFilter::SafeDownCast" ref="52649461eca348ad3341f2990ad459f2" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00845.html">vtkImageTwoInputFilter</a>* vtkImageTwoInputFilter::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00801.html#e484ea04e0d3d722be9e3b0075ceee1d">vtkImageMultipleInputFilter</a>.</p> </div> </div><p> <a class="anchor" name="bb129332c0e1df8272d2d54808acff45"></a><!-- doxytag: member="vtkImageTwoInputFilter::PrintSelf" ref="bb129332c0e1df8272d2d54808acff45" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkImageTwoInputFilter::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a> </td> <td class="paramname"> <em>indent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. <p>Reimplemented from <a class="el" href="a00801.html#6b00852758972d7b46136e1a67d52cdb">vtkImageMultipleInputFilter</a>.</p> </div> </div><p> <a class="anchor" name="103220dadf8006a60623d8cbeb59d6d3"></a><!-- doxytag: member="vtkImageTwoInputFilter::SetInput1" ref="103220dadf8006a60623d8cbeb59d6d3" args="(vtkImageData *input)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkImageTwoInputFilter::SetInput1 </td> <td>(</td> <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> * </td> <td class="paramname"> <em>input</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the Input1 of this filter. If a ScalarType has not been set, then the ScalarType of the input is used. </div> </div><p> <a class="anchor" name="6df58a6ae494a9948c91739c070f7925"></a><!-- doxytag: member="vtkImageTwoInputFilter::SetInput2" ref="6df58a6ae494a9948c91739c070f7925" args="(vtkImageData *input)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkImageTwoInputFilter::SetInput2 </td> <td>(</td> <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> * </td> <td class="paramname"> <em>input</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the Input2 of this filter. If a ScalarType has not been set, then the ScalarType of the input is used. </div> </div><p> <a class="anchor" name="309fa3dc786443f552d064d5ece4f38d"></a><!-- doxytag: member="vtkImageTwoInputFilter::GetInput1" ref="309fa3dc786443f552d064d5ece4f38d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00751.html">vtkImageData</a>* vtkImageTwoInputFilter::GetInput1 </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the inputs to this filter. </div> </div><p> <a class="anchor" name="ff63befa697c24b95622cc163c34c236"></a><!-- doxytag: member="vtkImageTwoInputFilter::GetInput2" ref="ff63befa697c24b95622cc163c34c236" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00751.html">vtkImageData</a>* vtkImageTwoInputFilter::GetInput2 </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the inputs to this filter. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Filtering/<a class="el" href="a04076.html">vtkImageTwoInputFilter.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:11:35 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>