Sophie

Sophie

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

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: vtkSmoothErrorMetric 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>vtkSmoothErrorMetric Class Reference</h1><!-- doxytag: class="vtkSmoothErrorMetric" --><!-- doxytag: inherits="vtkGenericSubdivisionErrorMetric" --><code>#include &lt;<a class="el" href="a04152.html">vtkSmoothErrorMetric.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkSmoothErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a14530.png" border="0" usemap="#a14531" alt="Inheritance graph"></center>
<map name="a14531">
<area shape="rect" href="a00607.html" title="Objects that compute error during cell tessellation." alt="" coords="5,155,232,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="79,80,159,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="64,5,173,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkSmoothErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a14532.png" border="0" usemap="#a14533" alt="Collaboration graph"></center>
<map name="a14533">
<area shape="rect" href="a00607.html" title="Objects that compute error during cell tessellation." alt="" coords="3621,59,3848,86"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,642,524,668"><area shape="rect" href="a00579.html" title="defines cell interface" alt="" coords="3341,656,3501,683"><area shape="rect" href="a00240.html" title="abstract class to specify cell behavior" alt="" coords="2008,460,2072,487"><area shape="rect" href="a01250.html" title="represent and manipulate 3D points" alt="" coords="1728,515,1805,542"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1103,895,1225,922"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="720,1196,829,1223"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="900,1327,1041,1354"><area shape="rect" href="a00720.html" title="list of point or cell ids" alt="" coords="1731,591,1803,618"><area shape="rect" href="a01128.html" title="helper class to generate triangulations" alt="" coords="1081,692,1247,719"><area shape="rect" href="a00683.html" title="replacement for malloc/free and new/delete" alt="" coords="739,692,811,719"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1475,887,1573,914"><area shape="rect" href="a00242.html" title="object to represent cell connectivity" alt="" coords="1992,1024,2088,1051"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1713,1111,1820,1138"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1115,1095,1213,1122"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1475,1044,1573,1071"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="700,987,849,1014"><area shape="rect" href="a00581.html" title="a collection of attributes" alt="" coords="675,196,875,223"><area shape="rect" href="a00584.html" title="helper class to perform cell tessellation" alt="" coords="2227,136,2405,163"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="1113,298,1215,324"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="700,388,849,415"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,1499,116,1526"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,1516,565,1543"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,1560,300,1587"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,642,289,668"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="1981,1294,2099,1320"><area shape="rect" href="a00590.html" title="defines dataset interface" alt="" coords="1972,155,2108,182"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2275,1178,2357,1204"><area shape="rect" href="a01688.html" title="a 3D cell that represents a tetrahedron" alt="" coords="2908,832,2980,859"><area shape="rect" href="a00241.html" title="abstract class to specify 3D cell interface" alt="" coords="2585,750,2665,776"><area shape="rect" href="a01329.html" title="a 3D cell that represents a linear pyramid" alt="" coords="3129,386,3220,412"><area shape="rect" href="a00686.html" title="a cell that represents a linear 3D hexahedron" alt="" coords="3117,656,3232,683"><area shape="rect" href="a01872.html" title="a 3D cell that represents a linear wedge" alt="" coords="3133,590,3216,616"><area shape="rect" href="a00960.html" title="cell represents a 1D line" alt="" coords="2283,502,2349,528"><area shape="rect" href="a01760.html" title="a cell that represents a triangle" alt="" coords="2580,400,2671,427"><area shape="rect" href="a01428.html" title="a cell that represents a 2D quadrilateral" alt="" coords="2907,400,2981,427"><area shape="rect" href="a01821.html" title="a cell that represents a 3D point" alt="" coords="2429,212,2509,239"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1473,978,1575,1004"><area shape="rect" href="a01784.html" title="dynamic, self&#45;adjusting array of unsigned char" alt="" coords="1687,1226,1847,1252"><area shape="rect" href="a00436.html" title="dynamic, self&#45;adjusting array of double" alt="" coords="2259,955,2373,982"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="1709,1022,1824,1048"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,1574,575,1600"><area shape="rect" href="a00245.html" title="represent and manipulate cell attribute data" alt="" coords="3128,984,3221,1011"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="2871,934,3017,960"><area shape="rect" href="a01242.html" title="represent and manipulate point attribute data" alt="" coords="3124,934,3225,960"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1067,844,1261,871"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="2533,928,2717,955"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="1976,1208,2104,1235"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a14534.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Objects that compute geometry-based error during cell tessellation according to some max angle. 
<p>
It is a concrete error metric, based on a geometric criterium: a max angle between the chord passing through the midpoint and one of the endpoints and the other chord passing through the midpoint and the other endpoint of the edge. It is related to the flatness of an edge.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00584.html" title="helper class to perform cell tessellation">vtkGenericCellTessellator</a> <a class="el" href="a00607.html" title="Objects that compute error during cell tessellation.">vtkGenericSubdivisionErrorMetric</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_vtkSmoothErrorMetric">vtkSmoothErrorMetric (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04152.html#l00040">40</a> of file <a class="el" href="a04152.html">vtkSmoothErrorMetric.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br>
<a class="el" href="a00607.html">vtkGenericSubdivisionErrorMetric</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#2fe3bea765b2ba650b645ac479d895d0">Superclass</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#eddeda5f0c9912932b099fde6ee923df">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01565.html">vtkSmoothErrorMetric</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#e8376b5debe23973ea603494a00fd440">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</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="a01565.html#367c1b2829d30a575910d1f56a8df86e">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="a01565.html#ed26ef6e3e12f0ee387def3066d2016f">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="a01565.html#943ff91168ec4fa8554b44c6fbe15c10">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#7150307da21758f15205211d79d7ca6b">GetAngleTolerance</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#a150a672c89ed43d67b444fd73489a12">SetAngleTolerance</a> (double value)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#dc341b2d2532a280a49105a73384e3ff">RequiresEdgeSubdivision</a> (double *leftPoint, double *midPoint, double *rightPoint, double alpha)</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="a01565.html#59c25ebd9bf71664c1453bc82dedd63e">GetError</a> (double *leftPoint, double *midPoint, double *rightPoint, double alpha)</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="a01565.html">vtkSmoothErrorMetric</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#449497dae2622d84ec81c0a42009cef1">New</a> ()</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="a01565.html#0a2a799ff9e55035304af49e814d2102">vtkSmoothErrorMetric</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#d69b20df9380594d0f97fc611bd95d3b">~vtkSmoothErrorMetric</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="a01565.html#19d569775eac24e07715d2266f184a0d">AngleTolerance</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01565.html#34bb169578cf353497dfc3c153c347b4">CosTolerance</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="2fe3bea765b2ba650b645ac479d895d0"></a><!-- doxytag: member="vtkSmoothErrorMetric::Superclass" ref="2fe3bea765b2ba650b645ac479d895d0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00607.html">vtkGenericSubdivisionErrorMetric</a> <a class="el" href="a00607.html">vtkSmoothErrorMetric::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard VTK type and error macros. 
<p>Reimplemented from <a class="el" href="a00607.html#a0b2ec014b9569164b5b24799417920e">vtkGenericSubdivisionErrorMetric</a>.</p>

<p>Definition at line <a class="el" href="a04152.html#l00049">49</a> of file <a class="el" href="a04152.html">vtkSmoothErrorMetric.h</a>.</p>

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

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="449497dae2622d84ec81c0a42009cef1"></a><!-- doxytag: member="vtkSmoothErrorMetric::New" ref="449497dae2622d84ec81c0a42009cef1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01565.html">vtkSmoothErrorMetric</a>* vtkSmoothErrorMetric::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 the error metric with a default flatness threshold of 90.1 degrees. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="367c1b2829d30a575910d1f56a8df86e"></a><!-- doxytag: member="vtkSmoothErrorMetric::GetClassName" ref="367c1b2829d30a575910d1f56a8df86e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkSmoothErrorMetric::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard VTK type and error macros. 
<p>Reimplemented from <a class="el" href="a00607.html#0b9df77911ca43eeb0714fb1b4daf85b">vtkGenericSubdivisionErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="eddeda5f0c9912932b099fde6ee923df"></a><!-- doxytag: member="vtkSmoothErrorMetric::IsTypeOf" ref="eddeda5f0c9912932b099fde6ee923df" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkSmoothErrorMetric::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard VTK type and error macros. 
<p>Reimplemented from <a class="el" href="a00607.html#df5f1a0f09465ab24f7b7839ffc707ce">vtkGenericSubdivisionErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="ed26ef6e3e12f0ee387def3066d2016f"></a><!-- doxytag: member="vtkSmoothErrorMetric::IsA" ref="ed26ef6e3e12f0ee387def3066d2016f" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkSmoothErrorMetric::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard VTK type and error macros. 
<p>Reimplemented from <a class="el" href="a00607.html#938a91c7c0a3e9b9f95b452eea241d95">vtkGenericSubdivisionErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="e8376b5debe23973ea603494a00fd440"></a><!-- doxytag: member="vtkSmoothErrorMetric::SafeDownCast" ref="e8376b5debe23973ea603494a00fd440" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01565.html">vtkSmoothErrorMetric</a>* vtkSmoothErrorMetric::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>
Standard VTK type and error macros. 
<p>Reimplemented from <a class="el" href="a00607.html#92adca7e599b317994fff3754d11fac1">vtkGenericSubdivisionErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="943ff91168ec4fa8554b44c6fbe15c10"></a><!-- doxytag: member="vtkSmoothErrorMetric::PrintSelf" ref="943ff91168ec4fa8554b44c6fbe15c10" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkSmoothErrorMetric::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>
Standard VTK type and error macros. 
<p>Reimplemented from <a class="el" href="a00607.html#e12923231878439ccf130d2c0b3344cb">vtkGenericSubdivisionErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="7150307da21758f15205211d79d7ca6b"></a><!-- doxytag: member="vtkSmoothErrorMetric::GetAngleTolerance" ref="7150307da21758f15205211d79d7ca6b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkSmoothErrorMetric::GetAngleTolerance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the flatness threshold. <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>positive_result: result&gt;90 &amp;&amp; result&lt;180 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a150a672c89ed43d67b444fd73489a12"></a><!-- doxytag: member="vtkSmoothErrorMetric::SetAngleTolerance" ref="a150a672c89ed43d67b444fd73489a12" args="(double value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkSmoothErrorMetric::SetAngleTolerance           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the flatness threshold with an angle in degrees. Internally compute the cosine. value is supposed to be in ]90,180[, if not it is clamped in [90.1,179.9]. For instance 178 will give better result than 150. 
</div>
</div><p>
<a class="anchor" name="dc341b2d2532a280a49105a73384e3ff"></a><!-- doxytag: member="vtkSmoothErrorMetric::RequiresEdgeSubdivision" ref="dc341b2d2532a280a49105a73384e3ff" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkSmoothErrorMetric::RequiresEdgeSubdivision           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>leftPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>midPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>rightPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>alpha</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>
Does the edge need to be subdivided according to the cosine between the two chords passing through the mid-point and the endpoints? The edge is defined by its `leftPoint' and its `rightPoint'. `leftPoint', `midPoint' and `rightPoint' have to be initialized before calling <a class="el" href="a01565.html#dc341b2d2532a280a49105a73384e3ff">RequiresEdgeSubdivision()</a>. Their format is global coordinates, parametric coordinates and point centered attributes: xyx rst abc de... `alpha' is the normalized abscissa of the midpoint along the edge. (close to 0 means close to the left point, close to 1 means close to the right point) <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>leftPoint_exists: leftPoint!=0 <p>
midPoint_exists: midPoint!=0 <p>
rightPoint_exists: rightPoint!=0 <p>
clamped_alpha: alpha&gt;0 &amp;&amp; alpha&lt;1 <p>
valid_size: sizeof(leftPoint)=sizeof(midPoint)=sizeof(rightPoint) =GetAttributeCollection()-&gt;GetNumberOfPointCenteredComponents()+6 </dd></dl>

<p>Implements <a class="el" href="a00607.html#6eda4e9fc072d7f94e2746bcc36c545a">vtkGenericSubdivisionErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="59c25ebd9bf71664c1453bc82dedd63e"></a><!-- doxytag: member="vtkSmoothErrorMetric::GetError" ref="59c25ebd9bf71664c1453bc82dedd63e" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkSmoothErrorMetric::GetError           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>leftPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>midPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>rightPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>alpha</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>
Return the error at the mid-point. It will return an error relative to the bounding box size if GetRelative() is true, a square absolute error otherwise. See <a class="el" href="a01565.html#dc341b2d2532a280a49105a73384e3ff">RequiresEdgeSubdivision()</a> for a description of the arguments. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>leftPoint_exists: leftPoint!=0 <p>
midPoint_exists: midPoint!=0 <p>
rightPoint_exists: rightPoint!=0 <p>
clamped_alpha: alpha&gt;0 &amp;&amp; alpha&lt;1 <p>
valid_size: sizeof(leftPoint)=sizeof(midPoint)=sizeof(rightPoint) =GetAttributeCollection()-&gt;GetNumberOfPointCenteredComponents()+6 </dd></dl>
<dl class="post" compact><dt><b>Postcondition:</b></dt><dd>positive_result: result&gt;=0 </dd></dl>

<p>Implements <a class="el" href="a00607.html#07919cd89a86d00d25d6f31e9fccc5d2">vtkGenericSubdivisionErrorMetric</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="19d569775eac24e07715d2266f184a0d"></a><!-- doxytag: member="vtkSmoothErrorMetric::AngleTolerance" ref="19d569775eac24e07715d2266f184a0d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01565.html#19d569775eac24e07715d2266f184a0d">vtkSmoothErrorMetric::AngleTolerance</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04152.html#l00099">99</a> of file <a class="el" href="a04152.html">vtkSmoothErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="34bb169578cf353497dfc3c153c347b4"></a><!-- doxytag: member="vtkSmoothErrorMetric::CosTolerance" ref="34bb169578cf353497dfc3c153c347b4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01565.html#34bb169578cf353497dfc3c153c347b4">vtkSmoothErrorMetric::CosTolerance</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04152.html#l00100">100</a> of file <a class="el" href="a04152.html">vtkSmoothErrorMetric.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="a04152.html">vtkSmoothErrorMetric.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:34:48 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>