Sophie

Sophie

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

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: vtkGenericSubdivisionErrorMetric 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>vtkGenericSubdivisionErrorMetric Class Reference</h1><!-- doxytag: class="vtkGenericSubdivisionErrorMetric" --><!-- doxytag: inherits="vtkObject" --><code>#include &lt;<a class="el" href="a04051.html">vtkGenericSubdivisionErrorMetric.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkGenericSubdivisionErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a10115.png" border="0" usemap="#a10116" alt="Inheritance graph"></center>
<map name="a10116">
<area shape="rect" href="a00148.html" title="Objects that compute attribute&#45;based error during cell tessellation." alt="" coords="588,5,754,32"><area shape="rect" href="a00627.html" title="Objects that compute geometry&#45;based error during cell tessellation." alt="" coords="586,56,756,83"><area shape="rect" href="a01565.html" title="Objects that compute geometry&#45;based error during cell tessellation according to some..." alt="" coords="594,107,748,133"><area shape="rect" href="a01832.html" title="Objects that compute a screen&#45;based error during cell tessellation." alt="" coords="570,157,772,184"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="166,81,246,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 vtkGenericSubdivisionErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a10117.png" border="0" usemap="#a10118" alt="Collaboration graph"></center>
<map name="a10118">
<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="a10119.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Objects that compute error during cell tessellation. 
<p>
Objects of that class answer the following question during the cell subdivision: "does the edge need to be subdivided?" through <a class="el" href="a00607.html#6eda4e9fc072d7f94e2746bcc36c545a">RequiresEdgeSubdivision()</a>. The answer depends on the criterium actually used in the subclass of this abstract class: a geometric-based error metric (variation of edge from a straight line), an attribute-based error metric (variation of the active attribute/component value from a linear ramp) , a view-depend error metric, ... Cell subdivision is performed in the context of the adaptor framework: higher-order, or complex cells, are automatically tessellated into simplices so that they can be processed with conventional visualization algorithms.<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> </dd></dl>

<p>Definition at line <a class="el" href="a04051.html#l00046">46</a> of file <a class="el" href="a04051.html">vtkGenericSubdivisionErrorMetric.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01084.html">vtkObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#a0b2ec014b9569164b5b24799417920e">Superclass</a></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="a00607.html#0b9df77911ca43eeb0714fb1b4daf85b">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="a00607.html#938a91c7c0a3e9b9f95b452eea241d95">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="a00607.html#e12923231878439ccf130d2c0b3344cb">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">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#df5f1a0f09465ab24f7b7839ffc707ce">IsTypeOf</a> (const char *type)</td></tr>

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

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#6eda4e9fc072d7f94e2746bcc36c545a">RequiresEdgeSubdivision</a> (double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#07919cd89a86d00d25d6f31e9fccc5d2">GetError</a> (double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#6154878759d27236f7e1d4f8ca8e7c8c">SetGenericCell</a> (<a class="el" href="a00579.html">vtkGenericAdaptorCell</a> *cell)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a00579.html">vtkGenericAdaptorCell</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#38d933aab3ed23fc8e1e0d344ce60591">GetGenericCell</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#e5a7bc72cfccf6d175230e7a4dddbd2f">SetDataSet</a> (<a class="el" href="a00590.html">vtkGenericDataSet</a> *ds)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a00590.html">vtkGenericDataSet</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#93d23ece702363f0722321c4ef919f2b">GetDataSet</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="a00607.html#e27caf1e6e07d126cb030ad5f11cdc79">vtkGenericSubdivisionErrorMetric</a> ()</td></tr>

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

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00579.html">vtkGenericAdaptorCell</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#e33e15e97319b9c7844a4c69be09dc4e">GenericCell</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00590.html">vtkGenericDataSet</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00607.html#8199f266d96920a5941c8a0f418ab922">DataSet</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="a0b2ec014b9569164b5b24799417920e"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::Superclass" ref="a0b2ec014b9569164b5b24799417920e" 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">vtkGenericSubdivisionErrorMetric::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard VTK type and error macros. 
<p>Reimplemented from <a class="el" href="a01084.html#11429dee69f4b562e03e07b453dae9b5">vtkObject</a>.</p>

<p>Reimplemented in <a class="el" href="a00148.html#63b824f5251bbb38b57488d3d0caef66">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#e1c190641b855566e63f03adfd36b214">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#2fe3bea765b2ba650b645ac479d895d0">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#0a0393b8722bfb9bf76f917a7edf0770">vtkViewDependentErrorMetric</a>.</p>

<p>Definition at line <a class="el" href="a04051.html#l00051">51</a> of file <a class="el" href="a04051.html">vtkGenericSubdivisionErrorMetric.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e27caf1e6e07d126cb030ad5f11cdc79"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::vtkGenericSubdivisionErrorMetric" ref="e27caf1e6e07d126cb030ad5f11cdc79" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkGenericSubdivisionErrorMetric::vtkGenericSubdivisionErrorMetric           </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="b43ea0739f875ce2f4e5bc14c67fd52b"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::~vtkGenericSubdivisionErrorMetric" ref="b43ea0739f875ce2f4e5bc14c67fd52b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkGenericSubdivisionErrorMetric::~vtkGenericSubdivisionErrorMetric           </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>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="0b9df77911ca43eeb0714fb1b4daf85b"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::GetClassName" ref="0b9df77911ca43eeb0714fb1b4daf85b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkGenericSubdivisionErrorMetric::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="a01084.html#d95975c85c2896ea32ff4cf1f8de0886">vtkObject</a>.</p>

<p>Reimplemented in <a class="el" href="a00148.html#4958a4f02c015766847608b6bb4feb84">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#538dc7f1538ed3601c726c4992f882dd">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#367c1b2829d30a575910d1f56a8df86e">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#e57abc37288cc0148b51c4d17c738184">vtkViewDependentErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="df5f1a0f09465ab24f7b7839ffc707ce"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::IsTypeOf" ref="df5f1a0f09465ab24f7b7839ffc707ce" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkGenericSubdivisionErrorMetric::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="a01084.html#e9548a248bce0f02f73bbcccd0a9489e">vtkObject</a>.</p>

<p>Reimplemented in <a class="el" href="a00148.html#c1dfa1d542a233bbe075e40d62b8c5c4">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#96ec781627f51222981886f90ea877c6">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#eddeda5f0c9912932b099fde6ee923df">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#19dbd1953a5c7cde206a4e9412a97593">vtkViewDependentErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="938a91c7c0a3e9b9f95b452eea241d95"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::IsA" ref="938a91c7c0a3e9b9f95b452eea241d95" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkGenericSubdivisionErrorMetric::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="a01084.html#831e57b04e46827a7098aa81abadee69">vtkObject</a>.</p>

<p>Reimplemented in <a class="el" href="a00148.html#5c1e094125cd52fb61dc69dec2e9095f">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#4f4862783287ee3954c714bfbc3b7565">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#ed26ef6e3e12f0ee387def3066d2016f">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#2553453e6ab091cf6ecda64ed85bd9d1">vtkViewDependentErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="92adca7e599b317994fff3754d11fac1"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::SafeDownCast" ref="92adca7e599b317994fff3754d11fac1" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00607.html">vtkGenericSubdivisionErrorMetric</a>* vtkGenericSubdivisionErrorMetric::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="a01084.html#bb9351f076544c427ee91229dce83abe">vtkObject</a>.</p>

<p>Reimplemented in <a class="el" href="a00148.html#27244bf3de443c3a8cd67dcf4f3c7149">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#958aa32c80e2cdd73b8bdde9241ee860">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#e8376b5debe23973ea603494a00fd440">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#7572256304b20848457a1446a5916a0b">vtkViewDependentErrorMetric</a>.</p>

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

<p>Reimplemented in <a class="el" href="a00148.html#1535ebb5ddc48f94c0741b35e6d53fa1">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#f356b41323ba3b37064b05caee3298d1">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#943ff91168ec4fa8554b44c6fbe15c10">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#0ef3748655e23031e61061d0bea93b3b">vtkViewDependentErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="6eda4e9fc072d7f94e2746bcc36c545a"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::RequiresEdgeSubdivision" ref="6eda4e9fc072d7f94e2746bcc36c545a" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkGenericSubdivisionErrorMetric::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> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Does the edge need to be subdivided according to the implemented computation? The edge is defined by its `leftPoint' and its `rightPoint'. `leftPoint', `midPoint' and `rightPoint' have to be initialized before calling <a class="el" href="a00607.html#6eda4e9fc072d7f94e2746bcc36c545a">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>Implemented in <a class="el" href="a00148.html#0eedfb06b27d6170488a4498c6aa5da6">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#1aba72cc59f393f60e5b43ba43970f98">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#dc341b2d2532a280a49105a73384e3ff">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#5d12bffa8f243351fff6c1dfcabad1bb">vtkViewDependentErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="07919cd89a86d00d25d6f31e9fccc5d2"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::GetError" ref="07919cd89a86d00d25d6f31e9fccc5d2" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkGenericSubdivisionErrorMetric::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> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the error at the mid-point. The type of error depends on the state of the concrete error metric. For instance, it can return an absolute or relative error metric. See <a class="el" href="a00607.html#6eda4e9fc072d7f94e2746bcc36c545a">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>Implemented in <a class="el" href="a00148.html#0c6462c24b0d71b511838d6d8d57fc00">vtkAttributesErrorMetric</a>, <a class="el" href="a00627.html#1d81d9595261b90d37ad727a5bae556a">vtkGeometricErrorMetric</a>, <a class="el" href="a01565.html#59c25ebd9bf71664c1453bc82dedd63e">vtkSmoothErrorMetric</a>, and <a class="el" href="a01832.html#7845193fb190a9cd04ec8e24479e9452">vtkViewDependentErrorMetric</a>.</p>

</div>
</div><p>
<a class="anchor" name="6154878759d27236f7e1d4f8ca8e7c8c"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::SetGenericCell" ref="6154878759d27236f7e1d4f8ca8e7c8c" args="(vtkGenericAdaptorCell *cell)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkGenericSubdivisionErrorMetric::SetGenericCell           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00579.html">vtkGenericAdaptorCell</a> *&nbsp;</td>
          <td class="paramname"> <em>cell</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The cell that the edge belongs to. 
</div>
</div><p>
<a class="anchor" name="38d933aab3ed23fc8e1e0d344ce60591"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::GetGenericCell" ref="38d933aab3ed23fc8e1e0d344ce60591" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00579.html">vtkGenericAdaptorCell</a>* vtkGenericSubdivisionErrorMetric::GetGenericCell           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The cell that the edge belongs to. 
</div>
</div><p>
<a class="anchor" name="e5a7bc72cfccf6d175230e7a4dddbd2f"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::SetDataSet" ref="e5a7bc72cfccf6d175230e7a4dddbd2f" args="(vtkGenericDataSet *ds)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkGenericSubdivisionErrorMetric::SetDataSet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00590.html">vtkGenericDataSet</a> *&nbsp;</td>
          <td class="paramname"> <em>ds</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the dataset to be tessellated. 
</div>
</div><p>
<a class="anchor" name="93d23ece702363f0722321c4ef919f2b"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::GetDataSet" ref="93d23ece702363f0722321c4ef919f2b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00590.html">vtkGenericDataSet</a>* vtkGenericSubdivisionErrorMetric::GetDataSet           </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 dataset to be tessellated. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e33e15e97319b9c7844a4c69be09dc4e"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::GenericCell" ref="e33e15e97319b9c7844a4c69be09dc4e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00579.html">vtkGenericAdaptorCell</a>* <a class="el" href="a00607.html#e33e15e97319b9c7844a4c69be09dc4e">vtkGenericSubdivisionErrorMetric::GenericCell</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04051.html#l00103">103</a> of file <a class="el" href="a04051.html">vtkGenericSubdivisionErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8199f266d96920a5941c8a0f418ab922"></a><!-- doxytag: member="vtkGenericSubdivisionErrorMetric::DataSet" ref="8199f266d96920a5941c8a0f418ab922" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00590.html">vtkGenericDataSet</a>* <a class="el" href="a00607.html#8199f266d96920a5941c8a0f418ab922">vtkGenericSubdivisionErrorMetric::DataSet</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04051.html#l00104">104</a> of file <a class="el" href="a04051.html">vtkGenericSubdivisionErrorMetric.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="a04051.html">vtkGenericSubdivisionErrorMetric.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:04:41 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>