<!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: vtkFunctionSet 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>vtkFunctionSet Class Reference</h1><!-- doxytag: class="vtkFunctionSet" --><!-- doxytag: inherits="vtkObject" --><code>#include <<a class="el" href="a03822.html">vtkFunctionSet.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkFunctionSet:</div> <div class="dynsection"> <p><center><img src="a09946.png" border="0" usemap="#a09947" alt="Inheritance graph"></center> <map name="a09947"> <area shape="rect" href="a00225.html" title="Interface for obtaining interpolated velocity values." alt="" coords="460,5,700,32"><area shape="rect" href="a00599.html" title="Interface for obtaining interpolated velocity values." alt="" coords="461,56,699,83"><area shape="rect" href="a00922.html" title="Interface for obtaining interpolated velocity values." alt="" coords="485,107,675,133"><area shape="rect" href="a01672.html" title="A helper class for interpolating between times during particle tracing." alt="" coords="456,157,704,184"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="165,81,245,108"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,81,116,108"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkFunctionSet:</div> <div class="dynsection"> <p><center><img src="a09948.png" border="0" usemap="#a09949" alt="Collaboration graph"></center> <map name="a09949"> <area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,5,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,5,248,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a09950.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Abstract interface for sets of functions. <p> <a class="el" href="a00570.html" title="Abstract interface for sets of functions.">vtkFunctionSet</a> specifies an abstract interface for set of functions of the form F_i = F_i(x_j) where F (with i=1..m) are the functions and x (with j=1..n) are the independent variables. The only supported operation is the function evaluation at x_j.<p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00854.html" title="treat a dataset as if it were an implicit function">vtkImplicitDataSet</a> <a class="el" href="a00922.html" title="Interface for obtaining interpolated velocity values.">vtkInterpolatedVelocityField</a> <a class="el" href="a00896.html" title="Integrate a set of ordinary differential equations (initial value problem) in time...">vtkInitialValueProblemSolver</a> </dd></dl> <p>Definition at line <a class="el" href="a03822.html#l00033">33</a> of file <a class="el" href="a03822.html">vtkFunctionSet.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="a01084.html">vtkObject</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#ef65697e4a5d7b9a6d8f8477b017e889">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="a00570.html#0bd4f9989ce14b235f22412efa5ba108">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="a00570.html#b6db5f8b5e71f3c0e5cf15d012bce413">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#c7cdd06bd77b4fde16312419aa717bc9">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 int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#35b33633659aec5fa5eddac109af2d73">FunctionValues</a> (double *x, double *f)=0</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#18574c3371631b5140086af5420ba2b6">GetNumberOfFunctions</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#5408e00019f5dbd00162a4646a80ab84">GetNumberOfIndependentVariables</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="a00570.html#e5eed93539baab15bd632fe40810d82b">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00570.html">vtkFunctionSet</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#34cb27fd73a338230eab9a82034bedbc">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="a00570.html#86cb31d349a9fe2785dd1833f2cd7d50">vtkFunctionSet</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#e1045838b46f83bdb18110e7140ea37a">~vtkFunctionSet</a> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#27e887f1866961abde79e96228bb6c26">NumFuncs</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00570.html#72c5daa7b7b24652691c6a30f28a4fa4">NumIndepVars</a></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="ef65697e4a5d7b9a6d8f8477b017e889"></a><!-- doxytag: member="vtkFunctionSet::Superclass" ref="ef65697e4a5d7b9a6d8f8477b017e889" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01084.html">vtkObject</a> <a class="el" href="a01084.html">vtkFunctionSet::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01084.html#11429dee69f4b562e03e07b453dae9b5">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00599.html#a23debdc657e69218f58cd3768daf61c">vtkGenericInterpolatedVelocityField</a>, <a class="el" href="a00922.html#0cf23f480d48d27e32dc3dc18e3fd696">vtkInterpolatedVelocityField</a>, <a class="el" href="a00225.html#cf4f3c55b9ee8c4daba9cff7b357c54d">vtkCachingInterpolatedVelocityField</a>, and <a class="el" href="a01672.html#5d343f026bd29df98c301ccd4d2810ed">vtkTemporalInterpolatedVelocityField</a>.</p> <p>Definition at line <a class="el" href="a03822.html#l00036">36</a> of file <a class="el" href="a03822.html">vtkFunctionSet.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="86cb31d349a9fe2785dd1833f2cd7d50"></a><!-- doxytag: member="vtkFunctionSet::vtkFunctionSet" ref="86cb31d349a9fe2785dd1833f2cd7d50" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkFunctionSet::vtkFunctionSet </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="e1045838b46f83bdb18110e7140ea37a"></a><!-- doxytag: member="vtkFunctionSet::~vtkFunctionSet" ref="e1045838b46f83bdb18110e7140ea37a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkFunctionSet::~vtkFunctionSet </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="a03822.html#l00061">61</a> of file <a class="el" href="a03822.html">vtkFunctionSet.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="0bd4f9989ce14b235f22412efa5ba108"></a><!-- doxytag: member="vtkFunctionSet::GetClassName" ref="0bd4f9989ce14b235f22412efa5ba108" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkFunctionSet::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="a01084.html#d95975c85c2896ea32ff4cf1f8de0886">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00599.html#3cd4d30ab08750379edb51c9fbf47fb9">vtkGenericInterpolatedVelocityField</a>, <a class="el" href="a00922.html#ca6d84cc49c107d9be3833775ed70c35">vtkInterpolatedVelocityField</a>, <a class="el" href="a00225.html#e1e8a722972d76871a4ded46d76f8e58">vtkCachingInterpolatedVelocityField</a>, and <a class="el" href="a01672.html#4e4fc2b1d683d4fd5bc48969cdb43b22">vtkTemporalInterpolatedVelocityField</a>.</p> </div> </div><p> <a class="anchor" name="e5eed93539baab15bd632fe40810d82b"></a><!-- doxytag: member="vtkFunctionSet::IsTypeOf" ref="e5eed93539baab15bd632fe40810d82b" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkFunctionSet::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="a01084.html#e9548a248bce0f02f73bbcccd0a9489e">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00599.html#bfdd1fe83cc5ab33ec32ab5363b49705">vtkGenericInterpolatedVelocityField</a>, <a class="el" href="a00922.html#bf7b85314593819741a93ab28537e712">vtkInterpolatedVelocityField</a>, <a class="el" href="a00225.html#63473574cd70123bac6aed3c172e44e0">vtkCachingInterpolatedVelocityField</a>, and <a class="el" href="a01672.html#8da05b3e841cceb5080f074608f9242c">vtkTemporalInterpolatedVelocityField</a>.</p> </div> </div><p> <a class="anchor" name="b6db5f8b5e71f3c0e5cf15d012bce413"></a><!-- doxytag: member="vtkFunctionSet::IsA" ref="b6db5f8b5e71f3c0e5cf15d012bce413" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkFunctionSet::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="a01084.html#831e57b04e46827a7098aa81abadee69">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00599.html#07f284497f4633d791fc4aa6a424b0ea">vtkGenericInterpolatedVelocityField</a>, <a class="el" href="a00922.html#3cb54d9539e07aa95d28e289bf9a756a">vtkInterpolatedVelocityField</a>, <a class="el" href="a00225.html#75a2aea661a3351fba62cb5b5a954d1a">vtkCachingInterpolatedVelocityField</a>, and <a class="el" href="a01672.html#b20e4ffaa1ee9138a83cb776c2df559e">vtkTemporalInterpolatedVelocityField</a>.</p> </div> </div><p> <a class="anchor" name="34cb27fd73a338230eab9a82034bedbc"></a><!-- doxytag: member="vtkFunctionSet::SafeDownCast" ref="34cb27fd73a338230eab9a82034bedbc" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00570.html">vtkFunctionSet</a>* vtkFunctionSet::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="a01084.html#bb9351f076544c427ee91229dce83abe">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00599.html#0a1f941f056deefaf37f72752f49485f">vtkGenericInterpolatedVelocityField</a>, <a class="el" href="a00922.html#97540e19bf91ddcadf745bccff29564e">vtkInterpolatedVelocityField</a>, <a class="el" href="a00225.html#4663d7319e685642c1a194de26bd593d">vtkCachingInterpolatedVelocityField</a>, and <a class="el" href="a01672.html#bd6659c54771d7fa7ed7dd4b2cf59ef6">vtkTemporalInterpolatedVelocityField</a>.</p> </div> </div><p> <a class="anchor" name="c7cdd06bd77b4fde16312419aa717bc9"></a><!-- doxytag: member="vtkFunctionSet::PrintSelf" ref="c7cdd06bd77b4fde16312419aa717bc9" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkFunctionSet::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="a01084.html#bf3dbb4154289b56a12483eee3866263">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00599.html#9b33c1cda6bdf26f468fdaadf918592f">vtkGenericInterpolatedVelocityField</a>, <a class="el" href="a00922.html#e2799172bc2551c01793b2ee84ce5bbd">vtkInterpolatedVelocityField</a>, <a class="el" href="a00225.html#e6847e47fd41d833d2f3e7c9fedd3a90">vtkCachingInterpolatedVelocityField</a>, and <a class="el" href="a01672.html#aa82a851a8be92ce17484c327d671afe">vtkTemporalInterpolatedVelocityField</a>.</p> </div> </div><p> <a class="anchor" name="35b33633659aec5fa5eddac109af2d73"></a><!-- doxytag: member="vtkFunctionSet::FunctionValues" ref="35b33633659aec5fa5eddac109af2d73" args="(double *x, double *f)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkFunctionSet::FunctionValues </td> <td>(</td> <td class="paramtype">double * </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"> <em>f</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Evaluate functions at x_j. x and f have to point to valid double arrays of appropriate sizes obtained with <a class="el" href="a00570.html#18574c3371631b5140086af5420ba2b6">GetNumberOfFunctions()</a> and GetNumberOfIndependentVariables. <p>Implemented in <a class="el" href="a00599.html#99b07ce749f0e8f24b99f6e09d27edb2">vtkGenericInterpolatedVelocityField</a>, <a class="el" href="a00922.html#71bb825431f254137ac7fc3eef26ef62">vtkInterpolatedVelocityField</a>, <a class="el" href="a00225.html#803499284cc9364b7c667aa5d680359e">vtkCachingInterpolatedVelocityField</a>, and <a class="el" href="a01672.html#7fb69ba24c2008c1ae62e838167552cd">vtkTemporalInterpolatedVelocityField</a>.</p> </div> </div><p> <a class="anchor" name="18574c3371631b5140086af5420ba2b6"></a><!-- doxytag: member="vtkFunctionSet::GetNumberOfFunctions" ref="18574c3371631b5140086af5420ba2b6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkFunctionSet::GetNumberOfFunctions </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return the number of functions. Note that this is constant for a given type of set of functions and can not be changed at run time. <p>Definition at line <a class="el" href="a03822.html#l00047">47</a> of file <a class="el" href="a03822.html">vtkFunctionSet.h</a>.</p> </div> </div><p> <a class="anchor" name="5408e00019f5dbd00162a4646a80ab84"></a><!-- doxytag: member="vtkFunctionSet::GetNumberOfIndependentVariables" ref="5408e00019f5dbd00162a4646a80ab84" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkFunctionSet::GetNumberOfIndependentVariables </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return the number of independent variables. Note that this is constant for a given type of set of functions and can not be changed at run time. <p>Definition at line <a class="el" href="a03822.html#l00055">55</a> of file <a class="el" href="a03822.html">vtkFunctionSet.h</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="27e887f1866961abde79e96228bb6c26"></a><!-- doxytag: member="vtkFunctionSet::NumFuncs" ref="27e887f1866961abde79e96228bb6c26" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00570.html#27e887f1866961abde79e96228bb6c26">vtkFunctionSet::NumFuncs</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a03822.html#l00061">61</a> of file <a class="el" href="a03822.html">vtkFunctionSet.h</a>.</p> </div> </div><p> <a class="anchor" name="72c5daa7b7b24652691c6a30f28a4fa4"></a><!-- doxytag: member="vtkFunctionSet::NumIndepVars" ref="72c5daa7b7b24652691c6a30f28a4fa4" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00570.html#72c5daa7b7b24652691c6a30f28a4fa4">vtkFunctionSet::NumIndepVars</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a03822.html#l00064">64</a> of file <a class="el" href="a03822.html">vtkFunctionSet.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Common/<a class="el" href="a03822.html">vtkFunctionSet.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:03:39 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>