Sophie

Sophie

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

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: vtkViewDependentErrorMetric 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>vtkViewDependentErrorMetric Class Reference</h1><!-- doxytag: class="vtkViewDependentErrorMetric" --><!-- doxytag: inherits="vtkGenericSubdivisionErrorMetric" --><code>#include &lt;<a class="el" href="a04192.html">vtkViewDependentErrorMetric.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkViewDependentErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a15730.png" border="0" usemap="#a15731" alt="Inheritance graph"></center>
<map name="a15731">
<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 vtkViewDependentErrorMetric:</div>
<div class="dynsection">
<p><center><img src="a15732.png" border="0" usemap="#a15733" alt="Collaboration graph"></center>
<map name="a15733">
<area shape="rect" href="a00607.html" title="Objects that compute error during cell tessellation." alt="" coords="3613,1156,3840,1183"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="304,809,384,836"><area shape="rect" href="a00579.html" title="defines cell interface" alt="" coords="3333,500,3493,527"><area shape="rect" href="a00240.html" title="abstract class to specify cell behavior" alt="" coords="1983,479,2047,505"><area shape="rect" href="a01250.html" title="represent and manipulate 3D points" alt="" coords="1677,395,1755,421"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="928,679,1051,705"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="600,809,709,836"><area shape="rect" href="a00720.html" title="list of point or cell ids" alt="" coords="1680,476,1752,503"><area shape="rect" href="a01128.html" title="helper class to generate triangulations" alt="" coords="1109,617,1275,644"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1363,704,1461,731"><area shape="rect" href="a00242.html" title="object to represent cell connectivity" alt="" coords="1967,91,2063,117"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1663,835,1769,861"><area shape="rect" href="a00581.html" title="a collection of attributes" alt="" coords="555,476,755,503"><area shape="rect" href="a00584.html" title="helper class to perform cell tessellation" alt="" coords="2211,1028,2389,1055"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="939,1552,1040,1579"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="580,1521,729,1548"><area shape="rect" href="a00335.html" title="perform coordinate transformation, and represent position, in a variety of vtk coordinate..." alt="" coords="2556,1312,2663,1339"><area shape="rect" href="a01833.html" title="abstract specification for Viewports" alt="" coords="2253,1405,2347,1432"><area shape="rect" href="a01886.html" title="window superclass for vtkRenderWindow" alt="" coords="780,1112,868,1139"><area shape="rect" href="a01317.html" title="abstract superclass for all actors, volumes and annotations" alt="" coords="1681,1405,1751,1432"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,809,116,836"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="7,376,116,403"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="412,375,529,401"><area shape="rect" href="a00590.html" title="defines dataset interface" alt="" coords="1947,799,2083,825"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="1973,849,2056,876"><area shape="rect" href="a01688.html" title="a 3D cell that represents a tetrahedron" alt="" coords="2892,447,2964,473"><area shape="rect" href="a00241.html" title="abstract class to specify 3D cell interface" alt="" coords="2569,436,2649,463"><area shape="rect" href="a01329.html" title="a 3D cell that represents a linear pyramid" alt="" coords="3113,601,3204,628"><area shape="rect" href="a00686.html" title="a cell that represents a linear 3D hexahedron" alt="" coords="3101,736,3216,763"><area shape="rect" href="a01872.html" title="a 3D cell that represents a linear wedge" alt="" coords="3117,951,3200,977"><area shape="rect" href="a00960.html" title="cell represents a 1D line" alt="" coords="2267,824,2333,851"><area shape="rect" href="a01760.html" title="a cell that represents a triangle" alt="" coords="2564,740,2655,767"><area shape="rect" href="a01428.html" title="a cell that represents a 2D quadrilateral" alt="" coords="2891,929,2965,956"><area shape="rect" href="a01821.html" title="a cell that represents a 3D point" alt="" coords="2413,368,2493,395"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1361,359,1463,385"><area shape="rect" href="a00436.html" title="dynamic, self&#45;adjusting array of double" alt="" coords="2243,273,2357,300"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="1659,243,1773,269"><area shape="rect" href="a00245.html" title="represent and manipulate cell attribute data" alt="" coords="3112,449,3205,476"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="2855,497,3001,524"><area shape="rect" href="a01242.html" title="represent and manipulate point attribute data" alt="" coords="3108,500,3209,527"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="2517,551,2701,577"><area shape="rect" href="a01321.html" title="a list of Props" alt="" coords="1652,1633,1780,1660"><area shape="rect" href="a00143.html" title="a list of nodes that form an assembly path" alt="" coords="1952,1405,2077,1432"><area shape="rect" href="a00144.html" title="a list of lists of props representing an assembly hierarchy" alt="" coords="1345,1481,1479,1508"><area shape="rect" href="a00094.html" title="a list of 2D actors" alt="" coords="1940,1528,2089,1555"><area shape="rect" href="a01723.html" title="describes linear transformations via a 4x4 matrix" alt="" coords="1664,1251,1768,1277"><area shape="rect" href="a00964.html" title="abstract superclass for linear transformations" alt="" coords="1341,1279,1483,1305"><area shape="rect" href="a01726.html" title="vtkTransformConcatenationStack" alt="" coords="1300,1164,1524,1191"><area shape="rect" href="a01725.html" title="vtkTransformConcatenation" alt="" coords="893,1193,1085,1220"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a15734.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Objects that compute a screen-based error during cell tessellation. 
<p>
It is a concrete error metric, based on a geometric criterium in the screen space: the variation of the projected edge from a projected straight line<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_18.html#c2_vtk_t_vtkViewDependentErrorMetric">vtkViewDependentErrorMetric (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04192.html#l00039">39</a> of file <a class="el" href="a04192.html">vtkViewDependentErrorMetric.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="a01832.html#0a0393b8722bfb9bf76f917a7edf0770">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="a01832.html#19dbd1953a5c7cde206a4e9412a97593">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <br>
<a class="el" href="a01832.html">vtkViewDependentErrorMetric</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01832.html#7572256304b20848457a1446a5916a0b">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="a01832.html#e57abc37288cc0148b51c4d17c738184">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="a01832.html#2553453e6ab091cf6ecda64ed85bd9d1">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="a01832.html#0ef3748655e23031e61061d0bea93b3b">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="a01832.html#9ee14b22d587981c6a2c1e9b4badc7e1">SetPixelTolerance</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="a01832.html#8a13c6bb18cd7a23e8c493c6eb406403">GetPixelTolerance</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a01833.html">vtkViewport</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01832.html#e499dcd48693c32abff10d7863f5e9ff">GetViewport</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01832.html#f0f3aae7ca58b89006b77cedbb9edc26">SetViewport</a> (<a class="el" href="a01833.html">vtkViewport</a> *viewport)</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="a01832.html#5d12bffa8f243351fff6c1dfcabad1bb">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="a01832.html#7845193fb190a9cd04ec8e24479e9452">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 <br>
<a class="el" href="a01832.html">vtkViewDependentErrorMetric</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01832.html#340a257728bd9146e9c5b4d52eb6852e">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="a01832.html#5e31af59fec154e9d53b2427d32dd482">vtkViewDependentErrorMetric</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01832.html#73675a14298ee778008378754a7834f4">~vtkViewDependentErrorMetric</a> ()</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="a01832.html#fd8280ef0a03fd38d05f66427257cf05">Distance2LinePoint</a> (double x[2], double y[2], double z[2])</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="a01832.html#13ca95bbd6a724c1890dcd832e8b852b">PixelTolerance</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01833.html">vtkViewport</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01832.html#134e34f023af381b65f1f80fb44128f2">Viewport</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00335.html">vtkCoordinate</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01832.html#8d22f929596e2f596463abe85d502101">Coordinate</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="0a0393b8722bfb9bf76f917a7edf0770"></a><!-- doxytag: member="vtkViewDependentErrorMetric::Superclass" ref="0a0393b8722bfb9bf76f917a7edf0770" 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">vtkViewDependentErrorMetric::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="a04192.html#l00048">48</a> of file <a class="el" href="a04192.html">vtkViewDependentErrorMetric.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="5e31af59fec154e9d53b2427d32dd482"></a><!-- doxytag: member="vtkViewDependentErrorMetric::vtkViewDependentErrorMetric" ref="5e31af59fec154e9d53b2427d32dd482" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkViewDependentErrorMetric::vtkViewDependentErrorMetric           </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="73675a14298ee778008378754a7834f4"></a><!-- doxytag: member="vtkViewDependentErrorMetric::~vtkViewDependentErrorMetric" ref="73675a14298ee778008378754a7834f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkViewDependentErrorMetric::~vtkViewDependentErrorMetric           </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="340a257728bd9146e9c5b4d52eb6852e"></a><!-- doxytag: member="vtkViewDependentErrorMetric::New" ref="340a257728bd9146e9c5b4d52eb6852e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01832.html">vtkViewDependentErrorMetric</a>* vtkViewDependentErrorMetric::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 squared screen-based geometric accuracy measured in pixels equal to 0.25 (0.5^2). 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="e57abc37288cc0148b51c4d17c738184"></a><!-- doxytag: member="vtkViewDependentErrorMetric::GetClassName" ref="e57abc37288cc0148b51c4d17c738184" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkViewDependentErrorMetric::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="19dbd1953a5c7cde206a4e9412a97593"></a><!-- doxytag: member="vtkViewDependentErrorMetric::IsTypeOf" ref="19dbd1953a5c7cde206a4e9412a97593" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkViewDependentErrorMetric::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="2553453e6ab091cf6ecda64ed85bd9d1"></a><!-- doxytag: member="vtkViewDependentErrorMetric::IsA" ref="2553453e6ab091cf6ecda64ed85bd9d1" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkViewDependentErrorMetric::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="7572256304b20848457a1446a5916a0b"></a><!-- doxytag: member="vtkViewDependentErrorMetric::SafeDownCast" ref="7572256304b20848457a1446a5916a0b" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01832.html">vtkViewDependentErrorMetric</a>* vtkViewDependentErrorMetric::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="0ef3748655e23031e61061d0bea93b3b"></a><!-- doxytag: member="vtkViewDependentErrorMetric::PrintSelf" ref="0ef3748655e23031e61061d0bea93b3b" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkViewDependentErrorMetric::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="8a13c6bb18cd7a23e8c493c6eb406403"></a><!-- doxytag: member="vtkViewDependentErrorMetric::GetPixelTolerance" ref="8a13c6bb18cd7a23e8c493c6eb406403" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkViewDependentErrorMetric::GetPixelTolerance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the squared screen-based geometric accurary measured in pixels. An accuracy less or equal to 0.25 (0.5^2) ensures that the screen-space interpolation of a mid-point matchs exactly with the projection of the mid-point (a value less than 1 but greater than 0.25 is not enough, because of 8-neighbors). Maybe it is useful for lower accuracy in case of anti-aliasing? <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>positive_result: result&gt;0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="9ee14b22d587981c6a2c1e9b4badc7e1"></a><!-- doxytag: member="vtkViewDependentErrorMetric::SetPixelTolerance" ref="9ee14b22d587981c6a2c1e9b4badc7e1" args="(double value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkViewDependentErrorMetric::SetPixelTolerance           </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 squared screen-based geometric accuracy measured in pixels. Subdivision will be required if the square distance between the projection of the real point and the straight line passing through the projection of the vertices of the edge is greater than `value'. For instance, 0.25 will give better result than 1. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>positive_value: value&gt;0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e499dcd48693c32abff10d7863f5e9ff"></a><!-- doxytag: member="vtkViewDependentErrorMetric::GetViewport" ref="e499dcd48693c32abff10d7863f5e9ff" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a01833.html">vtkViewport</a>* vtkViewDependentErrorMetric::GetViewport           </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 renderer with `renderer' on which the error metric is based. The error metric use the active camera of the renderer. 
</div>
</div><p>
<a class="anchor" name="f0f3aae7ca58b89006b77cedbb9edc26"></a><!-- doxytag: member="vtkViewDependentErrorMetric::SetViewport" ref="f0f3aae7ca58b89006b77cedbb9edc26" args="(vtkViewport *viewport)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkViewDependentErrorMetric::SetViewport           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01833.html">vtkViewport</a> *&nbsp;</td>
          <td class="paramname"> <em>viewport</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the renderer with `renderer' on which the error metric is based. The error metric use the active camera of the renderer. 
</div>
</div><p>
<a class="anchor" name="5d12bffa8f243351fff6c1dfcabad1bb"></a><!-- doxytag: member="vtkViewDependentErrorMetric::RequiresEdgeSubdivision" ref="5d12bffa8f243351fff6c1dfcabad1bb" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkViewDependentErrorMetric::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 line passing through its endpoints in screen space and the projection of its mid point? The edge is defined by its `leftPoint' and its `rightPoint'. `leftPoint', `midPoint' and `rightPoint' have to be initialized before calling <a class="el" href="a01832.html#5d12bffa8f243351fff6c1dfcabad1bb">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="7845193fb190a9cd04ec8e24479e9452"></a><!-- doxytag: member="vtkViewDependentErrorMetric::GetError" ref="7845193fb190a9cd04ec8e24479e9452" args="(double *leftPoint, double *midPoint, double *rightPoint, double alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkViewDependentErrorMetric::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="a01832.html#5d12bffa8f243351fff6c1dfcabad1bb">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="fd8280ef0a03fd38d05f66427257cf05"></a><!-- doxytag: member="vtkViewDependentErrorMetric::Distance2LinePoint" ref="fd8280ef0a03fd38d05f66427257cf05" args="(double x[2], double y[2], double z[2])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkViewDependentErrorMetric::Distance2LinePoint           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>[2], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y</em>[2], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>z</em>[2]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Square distance between a straight line (defined by points x and y) and a point z. Property: if x and y are equal, the line is a point and the result is the square distance between points x and z. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="13ca95bbd6a724c1890dcd832e8b852b"></a><!-- doxytag: member="vtkViewDependentErrorMetric::PixelTolerance" ref="13ca95bbd6a724c1890dcd832e8b852b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01832.html#13ca95bbd6a724c1890dcd832e8b852b">vtkViewDependentErrorMetric::PixelTolerance</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<a class="anchor" name="134e34f023af381b65f1f80fb44128f2"></a><!-- doxytag: member="vtkViewDependentErrorMetric::Viewport" ref="134e34f023af381b65f1f80fb44128f2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01833.html">vtkViewport</a>* <a class="el" href="a01832.html#134e34f023af381b65f1f80fb44128f2">vtkViewDependentErrorMetric::Viewport</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04192.html#l00125">125</a> of file <a class="el" href="a04192.html">vtkViewDependentErrorMetric.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8d22f929596e2f596463abe85d502101"></a><!-- doxytag: member="vtkViewDependentErrorMetric::Coordinate" ref="8d22f929596e2f596463abe85d502101" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00335.html">vtkCoordinate</a>* <a class="el" href="a01832.html#8d22f929596e2f596463abe85d502101">vtkViewDependentErrorMetric::Coordinate</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04192.html#l00127">127</a> of file <a class="el" href="a04192.html">vtkViewDependentErrorMetric.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="a04192.html">vtkViewDependentErrorMetric.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:44:03 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>