Sophie

Sophie

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

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: vtkAttributesErrorMetric 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>vtkAttributesErrorMetric Class Reference</h1><!-- doxytag: class="vtkAttributesErrorMetric" --><!-- doxytag: inherits="vtkGenericSubdivisionErrorMetric" --><code>#include &lt;<a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkAttributesErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a08031.png" border="0" usemap="#a08032" alt="Inheritance graph"></center>
<map name="a08032">
<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 vtkAttributesErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a08033.png" border="0" usemap="#a08034" alt="Collaboration graph"></center>
<map name="a08034">
<area shape="rect" href="a00607.html" title="Objects that compute error during cell tessellation." alt="" coords="3891,143,4117,169"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,737,524,764"><area shape="rect" href="a00579.html" title="defines cell interface" alt="" coords="3611,801,3771,828"><area shape="rect" href="a00240.html" title="abstract class to specify cell behavior" alt="" coords="2016,563,2080,589"><area shape="rect" href="a01250.html" title="represent and manipulate 3D points" alt="" coords="1736,603,1813,629"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1111,1112,1233,1139"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="696,1411,805,1437"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="1304,1101,1445,1128"><area shape="rect" href="a00720.html" title="list of point or cell ids" alt="" coords="1739,813,1811,840"><area shape="rect" href="a01128.html" title="helper class to generate triangulations" alt="" coords="1089,712,1255,739"><area shape="rect" href="a00683.html" title="replacement for malloc/free and new/delete" alt="" coords="715,661,787,688"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1483,1005,1581,1032"><area shape="rect" href="a00242.html" title="object to represent cell connectivity" alt="" coords="2000,996,2096,1023"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1721,1384,1828,1411"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1123,1312,1221,1339"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1483,1291,1581,1317"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="676,1224,825,1251"><area shape="rect" href="a00581.html" title="a collection of attributes" alt="" coords="851,144,1051,171"><area shape="rect" href="a00584.html" title="helper class to perform cell tessellation" alt="" coords="2461,216,2640,243"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="1121,340,1223,367"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="676,408,825,435"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,1564,116,1591"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,1581,565,1608"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,1625,300,1652"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,356,289,383"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="1989,1145,2107,1172"><area shape="rect" href="a00590.html" title="defines dataset interface" alt="" coords="1980,160,2116,187"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2509,1447,2592,1473"><area shape="rect" href="a01688.html" title="a 3D cell that represents a tetrahedron" alt="" coords="3177,881,3249,908"><area shape="rect" href="a00241.html" title="abstract class to specify 3D cell interface" alt="" coords="2855,745,2935,772"><area shape="rect" href="a01329.html" title="a 3D cell that represents a linear pyramid" alt="" coords="3399,615,3489,641"><area shape="rect" href="a00686.html" title="a cell that represents a linear 3D hexahedron" alt="" coords="3387,476,3501,503"><area shape="rect" href="a01872.html" title="a 3D cell that represents a linear wedge" alt="" coords="3403,681,3485,708"><area shape="rect" href="a00960.html" title="cell represents a 1D line" alt="" coords="2517,552,2584,579"><area shape="rect" href="a01760.html" title="a cell that represents a triangle" alt="" coords="2849,620,2940,647"><area shape="rect" href="a01428.html" title="a cell that represents a 2D quadrilateral" alt="" coords="3176,399,3251,425"><area shape="rect" href="a01821.html" title="a cell that represents a 3D point" alt="" coords="2681,284,2761,311"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1481,1156,1583,1183"><area shape="rect" href="a01784.html" title="dynamic, self&#45;adjusting array of unsigned char" alt="" coords="1695,1224,1855,1251"><area shape="rect" href="a00436.html" title="dynamic, self&#45;adjusting array of double" alt="" coords="2493,1228,2608,1255"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="1717,1109,1832,1136"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,1639,575,1665"><area shape="rect" href="a00245.html" title="represent and manipulate cell attribute data" alt="" coords="3397,967,3491,993"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="3140,960,3287,987"><area shape="rect" href="a01242.html" title="represent and manipulate point attribute data" alt="" coords="3393,916,3495,943"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1075,1011,1269,1037"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="2803,911,2987,937"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="1984,1477,2112,1504"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a08035.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Objects that compute attribute-based error during cell tessellation. 
<p>
It is a concrete error metric, based on an attribute criterium: the variation of the active attribute/component value from a linear ramp<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_1.html#c2_vtk_t_vtkAttributesErrorMetric">vtkAttributesErrorMetric (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a03984.html#l00038">38</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.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="a00148.html#63b824f5251bbb38b57488d3d0caef66">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="a00148.html#c1dfa1d542a233bbe075e40d62b8c5c4">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00148.html">vtkAttributesErrorMetric</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#27244bf3de443c3a8cd67dcf4f3c7149">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="a00148.html#4958a4f02c015766847608b6bb4feb84">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="a00148.html#5c1e094125cd52fb61dc69dec2e9095f">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="a00148.html#1535ebb5ddc48f94c0741b35e6d53fa1">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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#e4bdf18df76265d14e64d2a0d841c09a">SetAbsoluteAttributeTolerance</a> (double value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#0e8880a96ef52e537004cc42b4df1a7a">SetAttributeTolerance</a> (double value)</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="a00148.html#ad467acc811f9128e5226a248f243483">GetAbsoluteAttributeTolerance</a> ()</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="a00148.html#4e449ea6123e76923876f9ff276ab06d">GetAttributeTolerance</a> ()</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="a00148.html#0eedfb06b27d6170488a4498c6aa5da6">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="a00148.html#0c6462c24b0d71b511838d6d8d57fc00">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="a00148.html">vtkAttributesErrorMetric</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#496265e40f4382db3acceb6dd3ad26d7">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="a00148.html#058f13dc5c4cb1892c8aa9cdc5bb8363">vtkAttributesErrorMetric</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#9e978df93605aa58a39bca5884964a65">~vtkAttributesErrorMetric</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#cdf015e72ab4c865686fb87b26ee2f81">ComputeSquareAbsoluteAttributeTolerance</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="a00148.html#e33b733c093314303420fb3995d0ad7a">AttributeTolerance</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#150b0fa542687be0b6e0eae24cd4aa68">SquareAbsoluteAttributeTolerance</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#1cbb206bc5ef54fb9bfb376189248ce3">AbsoluteAttributeTolerance</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#04b10ee326c250931a2a97b511316d0a">DefinedByAbsolute</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01719.html">vtkTimeStamp</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#dcab67f51cb42601945937800652e1ff">SquareAbsoluteAttributeToleranceComputeTime</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#1bed6f753559ef958ff56ade0e6f7882">Range</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00581.html">vtkGenericAttributeCollection</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00148.html#5b919e8b3039eff4cf78655a89c5c734">AttributeCollection</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="63b824f5251bbb38b57488d3d0caef66"></a><!-- doxytag: member="vtkAttributesErrorMetric::Superclass" ref="63b824f5251bbb38b57488d3d0caef66" 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">vtkAttributesErrorMetric::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="a03984.html#l00047">47</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="058f13dc5c4cb1892c8aa9cdc5bb8363"></a><!-- doxytag: member="vtkAttributesErrorMetric::vtkAttributesErrorMetric" ref="058f13dc5c4cb1892c8aa9cdc5bb8363" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkAttributesErrorMetric::vtkAttributesErrorMetric           </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="9e978df93605aa58a39bca5884964a65"></a><!-- doxytag: member="vtkAttributesErrorMetric::~vtkAttributesErrorMetric" ref="9e978df93605aa58a39bca5884964a65" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual vtkAttributesErrorMetric::~vtkAttributesErrorMetric           </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="496265e40f4382db3acceb6dd3ad26d7"></a><!-- doxytag: member="vtkAttributesErrorMetric::New" ref="496265e40f4382db3acceb6dd3ad26d7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00148.html">vtkAttributesErrorMetric</a>* vtkAttributesErrorMetric::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 relative attribute accuracy equal to 0.1. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="4958a4f02c015766847608b6bb4feb84"></a><!-- doxytag: member="vtkAttributesErrorMetric::GetClassName" ref="4958a4f02c015766847608b6bb4feb84" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkAttributesErrorMetric::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="c1dfa1d542a233bbe075e40d62b8c5c4"></a><!-- doxytag: member="vtkAttributesErrorMetric::IsTypeOf" ref="c1dfa1d542a233bbe075e40d62b8c5c4" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkAttributesErrorMetric::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="5c1e094125cd52fb61dc69dec2e9095f"></a><!-- doxytag: member="vtkAttributesErrorMetric::IsA" ref="5c1e094125cd52fb61dc69dec2e9095f" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkAttributesErrorMetric::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="27244bf3de443c3a8cd67dcf4f3c7149"></a><!-- doxytag: member="vtkAttributesErrorMetric::SafeDownCast" ref="27244bf3de443c3a8cd67dcf4f3c7149" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00148.html">vtkAttributesErrorMetric</a>* vtkAttributesErrorMetric::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="1535ebb5ddc48f94c0741b35e6d53fa1"></a><!-- doxytag: member="vtkAttributesErrorMetric::PrintSelf" ref="1535ebb5ddc48f94c0741b35e6d53fa1" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAttributesErrorMetric::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="ad467acc811f9128e5226a248f243483"></a><!-- doxytag: member="vtkAttributesErrorMetric::GetAbsoluteAttributeTolerance" ref="ad467acc811f9128e5226a248f243483" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkAttributesErrorMetric::GetAbsoluteAttributeTolerance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Absolute tolerance of the active scalar (attribute+component). Subdivision is required if the square distance between the real attribute at the mid point on the edge and the interpolated attribute is greater than AbsoluteAttributeTolerance. This is the attribute accuracy. 0.01 will give better result than 0.1. 
</div>
</div><p>
<a class="anchor" name="e4bdf18df76265d14e64d2a0d841c09a"></a><!-- doxytag: member="vtkAttributesErrorMetric::SetAbsoluteAttributeTolerance" ref="e4bdf18df76265d14e64d2a0d841c09a" args="(double value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAttributesErrorMetric::SetAbsoluteAttributeTolerance           </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 absolute attribute accuracy to `value'. See <a class="el" href="a00148.html#ad467acc811f9128e5226a248f243483">GetAbsoluteAttributeTolerance()</a> for details. It is particularly useful when some concrete implementation of <a class="el" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> does not support GetRange() request, called internally in <a class="el" href="a00148.html#0e8880a96ef52e537004cc42b4df1a7a">SetAttributeTolerance()</a>. It may happen when the implementation support higher order attributes but cannot compute the range. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>valid_range_value: value&gt;0 </dd></dl>

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

<p>
Relative tolerance of the active scalar (attribute+component). Subdivision is required if the square distance between the real attribute at the mid point on the edge and the interpolated attribute is greater than AttributeTolerance. This is the attribute accuracy. 0.01 will give better result than 0.1. 
</div>
</div><p>
<a class="anchor" name="0e8880a96ef52e537004cc42b4df1a7a"></a><!-- doxytag: member="vtkAttributesErrorMetric::SetAttributeTolerance" ref="0e8880a96ef52e537004cc42b4df1a7a" args="(double value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAttributesErrorMetric::SetAttributeTolerance           </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 relative attribute accuracy to `value'. See <a class="el" href="a00148.html#4e449ea6123e76923876f9ff276ab06d">GetAttributeTolerance()</a> for details. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>valid_range_value: value&gt;0 &amp;&amp; value&lt;1 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0eedfb06b27d6170488a4498c6aa5da6"></a><!-- doxytag: member="vtkAttributesErrorMetric::RequiresEdgeSubdivision" ref="0eedfb06b27d6170488a4498c6aa5da6" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkAttributesErrorMetric::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 distance between the value of the active attribute/component at the midpoint and the mean value between 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="a00148.html#0eedfb06b27d6170488a4498c6aa5da6">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="0c6462c24b0d71b511838d6d8d57fc00"></a><!-- doxytag: member="vtkAttributesErrorMetric::GetError" ref="0c6462c24b0d71b511838d6d8d57fc00" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkAttributesErrorMetric::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. 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="a00148.html#0eedfb06b27d6170488a4498c6aa5da6">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>
<a class="anchor" name="cdf015e72ab4c865686fb87b26ee2f81"></a><!-- doxytag: member="vtkAttributesErrorMetric::ComputeSquareAbsoluteAttributeTolerance" ref="cdf015e72ab4c865686fb87b26ee2f81" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAttributesErrorMetric::ComputeSquareAbsoluteAttributeTolerance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compute the square absolute attribute tolerance, only if the cached value is obsolete. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e33b733c093314303420fb3995d0ad7a"></a><!-- doxytag: member="vtkAttributesErrorMetric::AttributeTolerance" ref="e33b733c093314303420fb3995d0ad7a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a00148.html#e33b733c093314303420fb3995d0ad7a">vtkAttributesErrorMetric::AttributeTolerance</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03984.html#l00124">124</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="150b0fa542687be0b6e0eae24cd4aa68"></a><!-- doxytag: member="vtkAttributesErrorMetric::SquareAbsoluteAttributeTolerance" ref="150b0fa542687be0b6e0eae24cd4aa68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a00148.html#150b0fa542687be0b6e0eae24cd4aa68">vtkAttributesErrorMetric::SquareAbsoluteAttributeTolerance</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03984.html#l00126">126</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1cbb206bc5ef54fb9bfb376189248ce3"></a><!-- doxytag: member="vtkAttributesErrorMetric::AbsoluteAttributeTolerance" ref="1cbb206bc5ef54fb9bfb376189248ce3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a00148.html#1cbb206bc5ef54fb9bfb376189248ce3">vtkAttributesErrorMetric::AbsoluteAttributeTolerance</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03984.html#l00129">129</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="04b10ee326c250931a2a97b511316d0a"></a><!-- doxytag: member="vtkAttributesErrorMetric::DefinedByAbsolute" ref="04b10ee326c250931a2a97b511316d0a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00148.html#04b10ee326c250931a2a97b511316d0a">vtkAttributesErrorMetric::DefinedByAbsolute</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03984.html#l00130">130</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="dcab67f51cb42601945937800652e1ff"></a><!-- doxytag: member="vtkAttributesErrorMetric::SquareAbsoluteAttributeToleranceComputeTime" ref="dcab67f51cb42601945937800652e1ff" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01719.html">vtkTimeStamp</a> <a class="el" href="a00148.html#dcab67f51cb42601945937800652e1ff">vtkAttributesErrorMetric::SquareAbsoluteAttributeToleranceComputeTime</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03984.html#l00132">132</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1bed6f753559ef958ff56ade0e6f7882"></a><!-- doxytag: member="vtkAttributesErrorMetric::Range" ref="1bed6f753559ef958ff56ade0e6f7882" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a00148.html#1bed6f753559ef958ff56ade0e6f7882">vtkAttributesErrorMetric::Range</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03984.html#l00134">134</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5b919e8b3039eff4cf78655a89c5c734"></a><!-- doxytag: member="vtkAttributesErrorMetric::AttributeCollection" ref="5b919e8b3039eff4cf78655a89c5c734" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00581.html">vtkGenericAttributeCollection</a>* <a class="el" href="a00148.html#5b919e8b3039eff4cf78655a89c5c734">vtkAttributesErrorMetric::AttributeCollection</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03984.html#l00136">136</a> of file <a class="el" href="a03984.html">vtkAttributesErrorMetric.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="a03984.html">vtkAttributesErrorMetric.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:53:43 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>