Sophie

Sophie

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

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: vtkSphere 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>vtkSphere Class Reference</h1><!-- doxytag: class="vtkSphere" --><!-- doxytag: inherits="vtkImplicitFunction" --><code>#include &lt;<a class="el" href="a04154.html">vtkSphere.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkSphere:</div>
<div class="dynsection">
<p><center><img src="a14590.png" border="0" usemap="#a14591" alt="Inheritance graph"></center>
<map name="a14591">
<area shape="rect" href="a00855.html" title="abstract interface for implicit functions" alt="" coords="6,155,142,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="34,80,114,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="19,5,128,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkSphere:</div>
<div class="dynsection">
<p><center><img src="a14592.png" border="0" usemap="#a14593" alt="Collaboration graph"></center>
<map name="a14593">
<area shape="rect" href="a00855.html" title="abstract interface for implicit functions" alt="" coords="43,294,179,320"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="20,96,100,123"><area shape="rect" href="a00089.html" title="superclass for all geometric transformations" alt="" coords="115,203,267,230"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,6,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="212,6,321,32"><area shape="rect" href="a01548.html" title="vtkSimpleCriticalSection" alt="" coords="124,96,292,123"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a14594.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
implicit function for a sphere 
<p>
<a class="el" href="a01577.html" title="implicit function for a sphere">vtkSphere</a> computes the implicit function and/or gradient for a sphere. <a class="el" href="a01577.html" title="implicit function for a sphere">vtkSphere</a> is a concrete implementation of <a class="el" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a>. Additional methods are available for sphere-related computations, such as computing bounding spheres for a set of points, or set of spheres.<p>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_15.html#c2_vtk_t_vtkSphere">vtkSphere (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04154.html#l00032">32</a> of file <a class="el" href="a04154.html">vtkSphere.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="a00855.html">vtkImplicitFunction</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#e0e30dfbb2f8e6e94a3796ed51e7b2c8">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="a01577.html#6328b595f3cec10cfe780cfcc5444b14">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="a01577.html#0cdc307c397eb02330f4511ccd335473">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="a01577.html#539daac20893d7bf8c299c5e42afa8b4">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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#177cfab119a01d73c21d29a67e21ac54">EvaluateGradient</a> (double x[3], double n[3])</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#ed00353462b0c1b3ad2297aecd25c4cb">EvaluateFunction</a> (double x[3])</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#77306783efa118757c03268e4ed0fe4c">EvaluateFunction</a> (double x, double y, double z)</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="a01577.html#eee7d9056545a12c9df61e14b03f07eb">SetRadius</a> (double)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#aac04b65e54146b7af7d24e63411db01">GetRadius</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="a01577.html#0db2bfe29abc5aa8cd2f8c31410b9ec7">SetCenter</a> (double, double, double)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#d0bdbf4692476598b1c277a93f9499fe">SetCenter</a> (double[3])</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#5ea0f05b8f856256d321f25c9d52944f">GetCenter</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="a01577.html#f1299c99a371fad31e0c5a66333363e4">GetCenter</a> (double data[3])</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#5246f03e828071e19ff64bc0a81dafe8">IsTypeOf</a> (const char *type)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01577.html">vtkSphere</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#d5e6b6a45d92daed1a9b09a61214cf34">New</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#d86cfd7f3ebd6f1d62ff06ad83aacdf5">ComputeBoundingSphere</a> (float *pts, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numPts, float sphere[4], <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> hints[2])</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#9c7415830155c80a3d060a743b73f8b0">ComputeBoundingSphere</a> (double *pts, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numPts, double sphere[4], <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> hints[2])</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#df32c32c4fa2c4d364031e28d1ab52a5">ComputeBoundingSphere</a> (float **spheres, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numSpheres, float sphere[4], <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> hints[2])</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#8716589a0a96d08356fd4fa3e3bc4ffa">ComputeBoundingSphere</a> (double **spheres, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numSpheres, double sphere[4], <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> hints[2])</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="a01577.html#819ffc8e110c5788b453905f47b8bdfe">vtkSphere</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#20c9dd628fc92e2ba89b0581e457cef4">~vtkSphere</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#553e9453d6b920f903093020d4fce6a9">Radius</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01577.html#172ea2be721ff67aad66b4af2213ba6e">Center</a> [3]</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="e0e30dfbb2f8e6e94a3796ed51e7b2c8"></a><!-- doxytag: member="vtkSphere::Superclass" ref="e0e30dfbb2f8e6e94a3796ed51e7b2c8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00855.html">vtkImplicitFunction</a> <a class="el" href="a00855.html">vtkSphere::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00855.html#8e185606424e1c82378656fdba510b6f">vtkImplicitFunction</a>.</p>

<p>Definition at line <a class="el" href="a04154.html#l00035">35</a> of file <a class="el" href="a04154.html">vtkSphere.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="819ffc8e110c5788b453905f47b8bdfe"></a><!-- doxytag: member="vtkSphere::vtkSphere" ref="819ffc8e110c5788b453905f47b8bdfe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkSphere::vtkSphere           </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="20c9dd628fc92e2ba89b0581e457cef4"></a><!-- doxytag: member="vtkSphere::~vtkSphere" ref="20c9dd628fc92e2ba89b0581e457cef4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkSphere::~vtkSphere           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04154.html#l00091">91</a> of file <a class="el" href="a04154.html">vtkSphere.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6328b595f3cec10cfe780cfcc5444b14"></a><!-- doxytag: member="vtkSphere::GetClassName" ref="6328b595f3cec10cfe780cfcc5444b14" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkSphere::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="a00855.html#5758dd89d326f9dd51370311ad4b453c">vtkImplicitFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="5246f03e828071e19ff64bc0a81dafe8"></a><!-- doxytag: member="vtkSphere::IsTypeOf" ref="5246f03e828071e19ff64bc0a81dafe8" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkSphere::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="a00855.html#4eefb3a980c60ecaae95423d0bacbe73">vtkImplicitFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="0cdc307c397eb02330f4511ccd335473"></a><!-- doxytag: member="vtkSphere::IsA" ref="0cdc307c397eb02330f4511ccd335473" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkSphere::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="a00855.html#bfe28c27b9741cf340efea485e44fa18">vtkImplicitFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="bd8e2aba3105eb3126a987c71a99c8d5"></a><!-- doxytag: member="vtkSphere::SafeDownCast" ref="bd8e2aba3105eb3126a987c71a99c8d5" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01577.html">vtkSphere</a>* vtkSphere::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="a00855.html#d14511b90365c893be5c844987aa45e9">vtkImplicitFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="539daac20893d7bf8c299c5e42afa8b4"></a><!-- doxytag: member="vtkSphere::PrintSelf" ref="539daac20893d7bf8c299c5e42afa8b4" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkSphere::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="a00855.html#c32b0c5b45c2fa479397dec6d9a6d3fa">vtkImplicitFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="d5e6b6a45d92daed1a9b09a61214cf34"></a><!-- doxytag: member="vtkSphere::New" ref="d5e6b6a45d92daed1a9b09a61214cf34" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01577.html">vtkSphere</a>* vtkSphere::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct sphere with center at (0,0,0) and radius=0.5. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="ed00353462b0c1b3ad2297aecd25c4cb"></a><!-- doxytag: member="vtkSphere::EvaluateFunction" ref="ed00353462b0c1b3ad2297aecd25c4cb" args="(double x[3])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkSphere::EvaluateFunction           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>[3]          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Evaluate sphere equation ((x-x0)^2 + (y-y0)^2 + (z-z0)^2) - R^2. 
<p>Implements <a class="el" href="a00855.html#b911bac1b365fd74129611e3d26dcc3e">vtkImplicitFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="77306783efa118757c03268e4ed0fe4c"></a><!-- doxytag: member="vtkSphere::EvaluateFunction" ref="77306783efa118757c03268e4ed0fe4c" args="(double x, double y, double z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkSphere::EvaluateFunction           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>z</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Evaluate sphere equation ((x-x0)^2 + (y-y0)^2 + (z-z0)^2) - R^2. 
<p>Reimplemented from <a class="el" href="a00855.html#a0dac9b96f0b6cdfe4200494d78b9644">vtkImplicitFunction</a>.</p>

<p>Definition at line <a class="el" href="a04154.html#l00044">44</a> of file <a class="el" href="a04154.html">vtkSphere.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="177cfab119a01d73c21d29a67e21ac54"></a><!-- doxytag: member="vtkSphere::EvaluateGradient" ref="177cfab119a01d73c21d29a67e21ac54" args="(double x[3], double n[3])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkSphere::EvaluateGradient           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>[3], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>n</em>[3]</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>
Evaluate sphere gradient. 
<p>Implements <a class="el" href="a00855.html#29ed340b0bf20f8b0cd090daa3107e70">vtkImplicitFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="eee7d9056545a12c9df61e14b03f07eb"></a><!-- doxytag: member="vtkSphere::SetRadius" ref="eee7d9056545a12c9df61e14b03f07eb" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkSphere::SetRadius           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set / get the radius of the sphere. 
</div>
</div><p>
<a class="anchor" name="aac04b65e54146b7af7d24e63411db01"></a><!-- doxytag: member="vtkSphere::GetRadius" ref="aac04b65e54146b7af7d24e63411db01" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkSphere::GetRadius           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set / get the radius of the sphere. 
</div>
</div><p>
<a class="anchor" name="0db2bfe29abc5aa8cd2f8c31410b9ec7"></a><!-- doxytag: member="vtkSphere::SetCenter" ref="0db2bfe29abc5aa8cd2f8c31410b9ec7" args="(double, double, double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkSphere::SetCenter           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"></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>
Set / get the center of the sphere. 
</div>
</div><p>
<a class="anchor" name="d0bdbf4692476598b1c277a93f9499fe"></a><!-- doxytag: member="vtkSphere::SetCenter" ref="d0bdbf4692476598b1c277a93f9499fe" args="(double[3])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkSphere::SetCenter           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname">[3]          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set / get the center of the sphere. 
</div>
</div><p>
<a class="anchor" name="5ea0f05b8f856256d321f25c9d52944f"></a><!-- doxytag: member="vtkSphere::GetCenter" ref="5ea0f05b8f856256d321f25c9d52944f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double* vtkSphere::GetCenter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set / get the center of the sphere. 
</div>
</div><p>
<a class="anchor" name="f1299c99a371fad31e0c5a66333363e4"></a><!-- doxytag: member="vtkSphere::GetCenter" ref="f1299c99a371fad31e0c5a66333363e4" args="(double data[3])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkSphere::GetCenter           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>data</em>[3]          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set / get the center of the sphere. 
</div>
</div><p>
<a class="anchor" name="d86cfd7f3ebd6f1d62ff06ad83aacdf5"></a><!-- doxytag: member="vtkSphere::ComputeBoundingSphere" ref="d86cfd7f3ebd6f1d62ff06ad83aacdf5" args="(float *pts, vtkIdType numPts, float sphere[4], vtkIdType hints[2])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkSphere::ComputeBoundingSphere           </td>
          <td>(</td>
          <td class="paramtype">float *&nbsp;</td>
          <td class="paramname"> <em>pts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>numPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>sphere</em>[4], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>hints</em>[2]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a bounding sphere from a set of points. The set of points is defined by an array of doubles, in the order of x-y-z (which repeats for each point). An optional hints array provides a guess for the initial bounding sphere; the two values in the hints array are the two points expected to be the furthest apart. The output sphere consists of a center (x-y-z) and a radius. 
</div>
</div><p>
<a class="anchor" name="9c7415830155c80a3d060a743b73f8b0"></a><!-- doxytag: member="vtkSphere::ComputeBoundingSphere" ref="9c7415830155c80a3d060a743b73f8b0" args="(double *pts, vtkIdType numPts, double sphere[4], vtkIdType hints[2])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkSphere::ComputeBoundingSphere           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>pts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>numPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>sphere</em>[4], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>hints</em>[2]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a bounding sphere from a set of points. The set of points is defined by an array of doubles, in the order of x-y-z (which repeats for each point). An optional hints array provides a guess for the initial bounding sphere; the two values in the hints array are the two points expected to be the furthest apart. The output sphere consists of a center (x-y-z) and a radius. 
</div>
</div><p>
<a class="anchor" name="df32c32c4fa2c4d364031e28d1ab52a5"></a><!-- doxytag: member="vtkSphere::ComputeBoundingSphere" ref="df32c32c4fa2c4d364031e28d1ab52a5" args="(float **spheres, vtkIdType numSpheres, float sphere[4], vtkIdType hints[2])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkSphere::ComputeBoundingSphere           </td>
          <td>(</td>
          <td class="paramtype">float **&nbsp;</td>
          <td class="paramname"> <em>spheres</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>numSpheres</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>sphere</em>[4], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>hints</em>[2]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a bounding sphere from a set of spheres. The set of input spheres is defined by an array of pointers to spheres. Each sphere is defined by the 4-tuple: center(x-y-z)+radius. An optional hints array provides a guess for the initial bounding sphere; the two values in the hints array are the two spheres expected to be the furthest apart. The output sphere consists of a center (x-y-z) and a radius. 
</div>
</div><p>
<a class="anchor" name="8716589a0a96d08356fd4fa3e3bc4ffa"></a><!-- doxytag: member="vtkSphere::ComputeBoundingSphere" ref="8716589a0a96d08356fd4fa3e3bc4ffa" args="(double **spheres, vtkIdType numSpheres, double sphere[4], vtkIdType hints[2])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkSphere::ComputeBoundingSphere           </td>
          <td>(</td>
          <td class="paramtype">double **&nbsp;</td>
          <td class="paramname"> <em>spheres</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>numSpheres</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>sphere</em>[4], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>hints</em>[2]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a bounding sphere from a set of spheres. The set of input spheres is defined by an array of pointers to spheres. Each sphere is defined by the 4-tuple: center(x-y-z)+radius. An optional hints array provides a guess for the initial bounding sphere; the two values in the hints array are the two spheres expected to be the furthest apart. The output sphere consists of a center (x-y-z) and a radius. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="553e9453d6b920f903093020d4fce6a9"></a><!-- doxytag: member="vtkSphere::Radius" ref="553e9453d6b920f903093020d4fce6a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01577.html#553e9453d6b920f903093020d4fce6a9">vtkSphere::Radius</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04154.html#l00091">91</a> of file <a class="el" href="a04154.html">vtkSphere.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="172ea2be721ff67aad66b4af2213ba6e"></a><!-- doxytag: member="vtkSphere::Center" ref="172ea2be721ff67aad66b4af2213ba6e" args="[3]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01577.html#172ea2be721ff67aad66b4af2213ba6e">vtkSphere::Center</a>[3]<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04154.html#l00094">94</a> of file <a class="el" href="a04154.html">vtkSphere.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Filtering/<a class="el" href="a04154.html">vtkSphere.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:35:13 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>