<!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: vtkSimpleImageFilterExample 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>vtkSimpleImageFilterExample Class Reference</h1><!-- doxytag: class="vtkSimpleImageFilterExample" --><!-- doxytag: inherits="vtkSimpleImageToImageFilter" --><code>#include <<a class="el" href="a04767.html">vtkSimpleImageFilterExample.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkSimpleImageFilterExample:</div> <div class="dynsection"> <p><center><img src="a14468.png" border="0" usemap="#a14469" alt="Inheritance graph"></center> <map name="a14469"> <area shape="rect" href="a01551.html" title="Generic image filter with one input." alt="" coords="5,304,208,331"><area shape="rect" href="a00727.html" title="Generic algorithm superclass for image algs." alt="" coords="39,230,175,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="57,155,156,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="67,80,147,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="52,6,161,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkSimpleImageFilterExample:</div> <div class="dynsection"> <p><center><img src="a14470.png" border="0" usemap="#a14471" alt="Collaboration graph"></center> <map name="a14471"> <area shape="rect" href="a01551.html" title="Generic image filter with one input." alt="" coords="149,576,352,603"><area shape="rect" href="a00727.html" title="Generic algorithm superclass for image algs." alt="" coords="183,499,319,525"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="281,381,380,408"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="477,499,576,525"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="407,173,487,200"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="404,264,553,291"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="212,264,321,291"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="164,5,273,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="5,173,168,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="153,83,284,109"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="308,83,417,109"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="192,173,373,200"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a14472.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Simple example of an image-image filter. <p> This is an example of a simple image-image filter. It copies it's input to it's output (point by point). It shows how templates can be used to support various data types. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a01551.html" title="Generic image filter with one input.">vtkSimpleImageToImageFilter</a></dd></dl> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_15.html#c2_vtk_t_vtkSimpleImageFilterExample">vtkSimpleImageFilterExample (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04767.html#l00033">33</a> of file <a class="el" href="a04767.html">vtkSimpleImageFilterExample.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="a01551.html">vtkSimpleImageToImageFilter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01550.html#18cdaa9ca21c28b32c08255b5055f2b6">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="a01550.html#aa94d522c24c86b9343314b1d944a29b">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="a01550.html#c841bdad5911a3f972c298965e735394">IsA</a> (const char *type)</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 <br> <a class="el" href="a01550.html">vtkSimpleImageFilterExample</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01550.html#7d076c695054c8fada200c294c3b02f2">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01550.html#81f788a5f2f7d746a31ffae6f3379f0f">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <br> <a class="el" href="a01550.html">vtkSimpleImageFilterExample</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01550.html#749b6a0152a8ad175dad796b6c42388a">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="a01550.html#41f7d561af8baa73b3dfed5806d27df6">vtkSimpleImageFilterExample</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01550.html#045187fb50ab9e8d28ff8c66e18c9778">~vtkSimpleImageFilterExample</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01550.html#b56fe57cc7a38992fc66539aabd8d589">SimpleExecute</a> (<a class="el" href="a00751.html">vtkImageData</a> *input, <a class="el" href="a00751.html">vtkImageData</a> *output)</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="18cdaa9ca21c28b32c08255b5055f2b6"></a><!-- doxytag: member="vtkSimpleImageFilterExample::Superclass" ref="18cdaa9ca21c28b32c08255b5055f2b6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01551.html">vtkSimpleImageToImageFilter</a> <a class="el" href="a01551.html">vtkSimpleImageFilterExample::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01551.html#ccc36307b4e9476c125b42840068b5cf">vtkSimpleImageToImageFilter</a>.</p> <p>Definition at line <a class="el" href="a04767.html#l00037">37</a> of file <a class="el" href="a04767.html">vtkSimpleImageFilterExample.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="41f7d561af8baa73b3dfed5806d27df6"></a><!-- doxytag: member="vtkSimpleImageFilterExample::vtkSimpleImageFilterExample" ref="41f7d561af8baa73b3dfed5806d27df6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkSimpleImageFilterExample::vtkSimpleImageFilterExample </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="a04767.html#l00041">41</a> of file <a class="el" href="a04767.html">vtkSimpleImageFilterExample.h</a>.</p> </div> </div><p> <a class="anchor" name="045187fb50ab9e8d28ff8c66e18c9778"></a><!-- doxytag: member="vtkSimpleImageFilterExample::~vtkSimpleImageFilterExample" ref="045187fb50ab9e8d28ff8c66e18c9778" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkSimpleImageFilterExample::~vtkSimpleImageFilterExample </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="a04767.html#l00042">42</a> of file <a class="el" href="a04767.html">vtkSimpleImageFilterExample.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="7d076c695054c8fada200c294c3b02f2"></a><!-- doxytag: member="vtkSimpleImageFilterExample::New" ref="7d076c695054c8fada200c294c3b02f2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01550.html">vtkSimpleImageFilterExample</a>* vtkSimpleImageFilterExample::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create an object with Debug turned off, modified time initialized to zero, and reference counting on. <p>Reimplemented from <a class="el" href="a00101.html#06d80d8d4aa1a4856135fa003845be82">vtkAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="aa94d522c24c86b9343314b1d944a29b"></a><!-- doxytag: member="vtkSimpleImageFilterExample::GetClassName" ref="aa94d522c24c86b9343314b1d944a29b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkSimpleImageFilterExample::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="a01551.html#3862b5b315e37d0333d0b1b1044aa003">vtkSimpleImageToImageFilter</a>.</p> </div> </div><p> <a class="anchor" name="81f788a5f2f7d746a31ffae6f3379f0f"></a><!-- doxytag: member="vtkSimpleImageFilterExample::IsTypeOf" ref="81f788a5f2f7d746a31ffae6f3379f0f" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkSimpleImageFilterExample::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="a01551.html#e363f5a95e6c8d3975b95ffb1feb511e">vtkSimpleImageToImageFilter</a>.</p> </div> </div><p> <a class="anchor" name="c841bdad5911a3f972c298965e735394"></a><!-- doxytag: member="vtkSimpleImageFilterExample::IsA" ref="c841bdad5911a3f972c298965e735394" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkSimpleImageFilterExample::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="a01551.html#9ec07ea2c8d21e4778571edd1a253644">vtkSimpleImageToImageFilter</a>.</p> </div> </div><p> <a class="anchor" name="749b6a0152a8ad175dad796b6c42388a"></a><!-- doxytag: member="vtkSimpleImageFilterExample::SafeDownCast" ref="749b6a0152a8ad175dad796b6c42388a" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01550.html">vtkSimpleImageFilterExample</a>* vtkSimpleImageFilterExample::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="a01551.html#4e32da4594cdc77c0cdf1077f5f86fd2">vtkSimpleImageToImageFilter</a>.</p> </div> </div><p> <a class="anchor" name="b56fe57cc7a38992fc66539aabd8d589"></a><!-- doxytag: member="vtkSimpleImageFilterExample::SimpleExecute" ref="b56fe57cc7a38992fc66539aabd8d589" args="(vtkImageData *input, vtkImageData *output)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkSimpleImageFilterExample::SimpleExecute </td> <td>(</td> <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> * </td> <td class="paramname"> <em>input</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> * </td> <td class="paramname"> <em>output</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="a01551.html#978188605006ddf983d3e339b19095e8">vtkSimpleImageToImageFilter</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="a04767.html">vtkSimpleImageFilterExample.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:34:13 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>