<!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: vtkWarpVector 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>vtkWarpVector Class Reference</h1><!-- doxytag: class="vtkWarpVector" --><!-- doxytag: inherits="vtkPointSetAlgorithm" --><code>#include <<a class="el" href="a04503.html">vtkWarpVector.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkWarpVector:</div> <div class="dynsection"> <p><center><img src="a15904.png" border="0" usemap="#a15905" alt="Inheritance graph"></center> <map name="a15905"> <area shape="rect" href="a01252.html" title="Superclass for algorithms that produce output of the same type as input." alt="" coords="5,229,155,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="31,155,129,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="40,80,120,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="25,5,135,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkWarpVector:</div> <div class="dynsection"> <p><center><img src="a15906.png" border="0" usemap="#a15907" alt="Collaboration graph"></center> <map name="a15907"> <area shape="rect" href="a01252.html" title="Superclass for algorithms that produce output of the same type as input." alt="" coords="176,499,325,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="a15908.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> deform geometry with vector data <p> <a class="el" href="a01868.html" title="deform geometry with vector data">vtkWarpVector</a> is a filter that modifies point coordinates by moving points along vector times the scale factor. Useful for showing flow profiles or mechanical deformation.<p> The filter passes both its point data and cell data to its output.<p> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_19.html#c2_vtk_t_vtkWarpVector">vtkWarpVector (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04503.html#l00033">33</a> of file <a class="el" href="a04503.html">vtkWarpVector.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="a01252.html">vtkPointSetAlgorithm</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#6ca3ef2ce74de9329e398ff9b6d9e1fd">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="a01868.html#67049f66c18dd6a1fde5c6d77cf41a3a">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="a01868.html#0b68465b98c91ff79e1659f64c904254">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="a01868.html#6a097fc2dedb436656b9c195bf018688">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#c9c028df225e9d628fbdc83cb7c0bd18">SetScaleFactor</a> (double)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#68ab810c54e3ecb5ce9a1c6e153866f1">GetScaleFactor</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="a01868.html">vtkWarpVector</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#0d5ccfa9a3ffb3c1cbbd699668b3225e">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="a01868.html#b5b2d02ecf9b1c21b1075d734879d86b">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01868.html">vtkWarpVector</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#58b5198e548daf89177f8a6f9058b396">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="a01868.html#4c88981fcc35f7d90dcea992ff37852c">vtkWarpVector</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#ed55e4e5fb7d30fb16ec390c1037166c">~vtkWarpVector</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#a4f74e11b01ec9de5bb8a6dee2f598f1">RequestData</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="a01868.html#c8c518f2252a1dc28e012b151fae2fcc">ScaleFactor</a></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="6ca3ef2ce74de9329e398ff9b6d9e1fd"></a><!-- doxytag: member="vtkWarpVector::Superclass" ref="6ca3ef2ce74de9329e398ff9b6d9e1fd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01252.html">vtkPointSetAlgorithm</a> <a class="el" href="a01252.html">vtkWarpVector::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01252.html#205ba3433e827d3e29765517f1248103">vtkPointSetAlgorithm</a>.</p> <p>Definition at line <a class="el" href="a04503.html#l00037">37</a> of file <a class="el" href="a04503.html">vtkWarpVector.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="4c88981fcc35f7d90dcea992ff37852c"></a><!-- doxytag: member="vtkWarpVector::vtkWarpVector" ref="4c88981fcc35f7d90dcea992ff37852c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkWarpVector::vtkWarpVector </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="ed55e4e5fb7d30fb16ec390c1037166c"></a><!-- doxytag: member="vtkWarpVector::~vtkWarpVector" ref="ed55e4e5fb7d30fb16ec390c1037166c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkWarpVector::~vtkWarpVector </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="0d5ccfa9a3ffb3c1cbbd699668b3225e"></a><!-- doxytag: member="vtkWarpVector::New" ref="0d5ccfa9a3ffb3c1cbbd699668b3225e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01868.html">vtkWarpVector</a>* vtkWarpVector::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="a01252.html#dde68f6b09747614c4667c8ae62774fd">vtkPointSetAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="67049f66c18dd6a1fde5c6d77cf41a3a"></a><!-- doxytag: member="vtkWarpVector::GetClassName" ref="67049f66c18dd6a1fde5c6d77cf41a3a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkWarpVector::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="a01252.html#766fdce3e6a78db67187f26d0bca7579">vtkPointSetAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="b5b2d02ecf9b1c21b1075d734879d86b"></a><!-- doxytag: member="vtkWarpVector::IsTypeOf" ref="b5b2d02ecf9b1c21b1075d734879d86b" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkWarpVector::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="a01252.html#9db1baa535a872c8afb94184c1720467">vtkPointSetAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="0b68465b98c91ff79e1659f64c904254"></a><!-- doxytag: member="vtkWarpVector::IsA" ref="0b68465b98c91ff79e1659f64c904254" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkWarpVector::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="a01252.html#f59fe5a178a910c6caccc54ac22449f3">vtkPointSetAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="58b5198e548daf89177f8a6f9058b396"></a><!-- doxytag: member="vtkWarpVector::SafeDownCast" ref="58b5198e548daf89177f8a6f9058b396" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01868.html">vtkWarpVector</a>* vtkWarpVector::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="a01252.html#fe93fde0c709e64d5ca81d9b1b5f96f9">vtkPointSetAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="6a097fc2dedb436656b9c195bf018688"></a><!-- doxytag: member="vtkWarpVector::PrintSelf" ref="6a097fc2dedb436656b9c195bf018688" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkWarpVector::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="a01252.html#d62102a22ec5ccc110eadfc0a9312ff4">vtkPointSetAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="c9c028df225e9d628fbdc83cb7c0bd18"></a><!-- doxytag: member="vtkWarpVector::SetScaleFactor" ref="c9c028df225e9d628fbdc83cb7c0bd18" args="(double)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkWarpVector::SetScaleFactor </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Specify value to scale displacement. </div> </div><p> <a class="anchor" name="68ab810c54e3ecb5ce9a1c6e153866f1"></a><!-- doxytag: member="vtkWarpVector::GetScaleFactor" ref="68ab810c54e3ecb5ce9a1c6e153866f1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double vtkWarpVector::GetScaleFactor </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Specify value to scale displacement. </div> </div><p> <a class="anchor" name="a4f74e11b01ec9de5bb8a6dee2f598f1"></a><!-- doxytag: member="vtkWarpVector::RequestData" ref="a4f74e11b01ec9de5bb8a6dee2f598f1" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int vtkWarpVector::RequestData </td> <td>(</td> <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> ** </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> * </td> <td class="paramname"></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> This is called by the superclass. This is the method you should override. <p>Reimplemented from <a class="el" href="a01252.html#8ba171d4df72371aa1d6f50623bf06fb">vtkPointSetAlgorithm</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="c8c518f2252a1dc28e012b151fae2fcc"></a><!-- doxytag: member="vtkWarpVector::ScaleFactor" ref="c8c518f2252a1dc28e012b151fae2fcc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="a01868.html#c8c518f2252a1dc28e012b151fae2fcc">vtkWarpVector::ScaleFactor</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a04503.html#l00051">51</a> of file <a class="el" href="a04503.html">vtkWarpVector.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Graphics/<a class="el" href="a04503.html">vtkWarpVector.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:45:52 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>