Sophie

Sophie

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

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: vtkDiscreteMarchingCubes 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>vtkDiscreteMarchingCubes Class Reference</h1><!-- doxytag: class="vtkDiscreteMarchingCubes" --><!-- doxytag: inherits="vtkMarchingCubes" --><code>#include &lt;<a class="el" href="a04306.html">vtkDiscreteMarchingCubes.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkDiscreteMarchingCubes:</div>
<div class="dynsection">
<p><center><img src="a09288.png" border="0" usemap="#a09289" alt="Inheritance graph"></center>
<map name="a09289">
<area shape="rect" href="a00988.html" title="generate isosurface(s) from volume" alt="" coords="30,304,166,331"><area shape="rect" href="a01261.html" title="Superclass for algorithms that produce only polydata as output." alt="" coords="20,230,175,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="48,155,147,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="58,80,138,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="43,6,152,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkDiscreteMarchingCubes:</div>
<div class="dynsection">
<p><center><img src="a09290.png" border="0" usemap="#a09291" alt="Collaboration graph"></center>
<map name="a09291">
<area shape="rect" href="a00988.html" title="generate isosurface(s) from volume" alt="" coords="3163,207,3299,234"><area shape="rect" href="a01261.html" title="Superclass for algorithms that produce only polydata as output." alt="" coords="1624,226,1779,252"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1056,346,1155,372"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1459,471,1557,498"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="1444,420,1572,447"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,479,524,506"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="675,442,824,468"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="695,164,804,191"><area shape="rect" href="a00330.html" title="helper object to manage setting and generating contour values" alt="" coords="2071,954,2201,980"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1044,604,1167,631"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="1239,735,1380,762"><area shape="rect" href="a00971.html" title="abstract base class for objects that accelerate spatial searches" alt="" coords="2503,136,2588,163"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="2083,438,2189,464"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1459,546,1557,572"><area shape="rect" href="a01250.html" title="represent and manipulate 3D points" alt="" coords="1845,911,1923,938"><area shape="rect" href="a00720.html" title="list of point or cell ids" alt="" coords="880,16,952,43"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,130,116,156"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,98,565,124"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,130,300,156"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,908,289,935"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="2077,710,2195,736"><area shape="rect" href="a00374.html" title="abstract class to specify dataset behavior" alt="" coords="2313,308,2401,335"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="1843,492,1925,519"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,40,575,67"><area shape="rect" href="a00436.html" title="dynamic, self&#45;adjusting array of double" alt="" coords="1827,810,1941,836"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1457,647,1559,674"><area shape="rect" href="a01784.html" title="dynamic, self&#45;adjusting array of unsigned char" alt="" coords="1804,608,1964,635"><area shape="rect" href="a01247.html" title="quickly locate points in 3&#45;space" alt="" coords="2949,156,3067,183"><area shape="rect" href="a00087.html" title="abstract class to quickly locate points in 3&#45;space" alt="" coords="2731,152,2899,179"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="1811,266,1957,292"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1008,554,1203,580"><area shape="rect" href="a00245.html" title="represent and manipulate cell attribute data" alt="" coords="2089,308,2183,335"><area shape="rect" href="a01242.html" title="represent and manipulate point attribute data" alt="" coords="2085,258,2187,284"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="1416,316,1600,343"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a09292.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
generate object boundaries from labelled volumes 
<p>
takes as input a volume (e.g., 3D structured point set) of segmentation labels and generates on output one or more models representing the boundaries between the specified label and the adjacent structures. One or more label values must be specified to generate the models. The boundary positions are always defined to be half-way between adjacent voxels. This filter works best with integral scalar values. If ComputeScalars is on (the default), each output cell will have cell data that corresponds to the scalar value (segmentation label) of the corresponding cube. Note that this differs from <a class="el" href="a00988.html" title="generate isosurface(s) from volume">vtkMarchingCubes</a>, which stores the scalar value as point data. The rationale for this difference is that cell vertices may be shared between multiple cells. This also means that the resultant polydata may be non-manifold (cell faces may be coincident). To further process the polydata, users should either: 1) extract cells that have a common scalar value using <a class="el" href="a01707.html" title="extracts cells where scalar value in cell satisfies threshold criterion">vtkThreshold</a>, or 2) process the data with filters that can handle non-manifold polydata (e.g. <a class="el" href="a01887.html" title="adjust point positions using a windowed sinc function interpolation kernel">vtkWindowedSincPolyDataFilter</a>). Also note, Normals and Gradients are not computed. <dl class="warning" compact><dt><b>Warning:</b></dt><dd>This filter is specialized to volumes. If you are interested in contouring other types of data, use the general <a class="el" href="a00323.html" title="generate isosurfaces/isolines from scalar values">vtkContourFilter</a>. If you want to contour an image (i.e., a volume slice), use <a class="el" href="a00989.html" title="generate isoline(s) from structured points set">vtkMarchingSquares</a>. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00323.html" title="generate isosurfaces/isolines from scalar values">vtkContourFilter</a> <a class="el" href="a01557.html" title="generate isosurface(s) from volume four slices at a time">vtkSliceCubes</a> <a class="el" href="a00989.html" title="generate isoline(s) from structured points set">vtkMarchingSquares</a> vtkDividingCubes</dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_4.html#c2_vtk_t_vtkDiscreteMarchingCubes">vtkDiscreteMarchingCubes (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04306.html#l00063">63</a> of file <a class="el" href="a04306.html">vtkDiscreteMarchingCubes.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a00988.html">vtkMarchingCubes</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00425.html#ad41ada4a2d73b7d43a6172a4a2956f1">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00425.html#59083b0ab36b503d200825fc374fda32">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="a00425.html#5faf53428af554ea7d432b507444de08">IsA</a> (const char *type)</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="a00425.html">vtkDiscreteMarchingCubes</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00425.html#7eedfff16275fa5c9b12021cbd0a2fce">New</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="a00425.html#b65517b09e7791ddf8b7ebafc2094417">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00425.html">vtkDiscreteMarchingCubes</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00425.html#bef7ad37343f287e36422ab42769c3f4">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</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="a00425.html#123d4f3b772e631e25a81e60a3b871c8">vtkDiscreteMarchingCubes</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00425.html#fd8cbdf7dcc24982913ac7fe4aded016">~vtkDiscreteMarchingCubes</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="a00425.html#3a2717d5edbe3c73df1e311b35acc5df">RequestData</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr>

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

<p>

<p>Reimplemented from <a class="el" href="a00988.html#73f65820e4ca7d2a3d6b8c8d7bff4822">vtkMarchingCubes</a>.</p>

<p>Definition at line <a class="el" href="a04306.html#l00067">67</a> of file <a class="el" href="a04306.html">vtkDiscreteMarchingCubes.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="123d4f3b772e631e25a81e60a3b871c8"></a><!-- doxytag: member="vtkDiscreteMarchingCubes::vtkDiscreteMarchingCubes" ref="123d4f3b772e631e25a81e60a3b871c8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkDiscreteMarchingCubes::vtkDiscreteMarchingCubes           </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="fd8cbdf7dcc24982913ac7fe4aded016"></a><!-- doxytag: member="vtkDiscreteMarchingCubes::~vtkDiscreteMarchingCubes" ref="fd8cbdf7dcc24982913ac7fe4aded016" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkDiscreteMarchingCubes::~vtkDiscreteMarchingCubes           </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="7eedfff16275fa5c9b12021cbd0a2fce"></a><!-- doxytag: member="vtkDiscreteMarchingCubes::New" ref="7eedfff16275fa5c9b12021cbd0a2fce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00425.html">vtkDiscreteMarchingCubes</a>* vtkDiscreteMarchingCubes::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. 
<p>Reimplemented from <a class="el" href="a00988.html#293cdc77f8bd8f912848689558d76253">vtkMarchingCubes</a>.</p>

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

<p>

<p>Reimplemented from <a class="el" href="a00988.html#ab35af1d5b0e6f6f43980efb89ad72a4">vtkMarchingCubes</a>.</p>

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

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a00988.html#07900f9c3baca06ed6d802c1cca79494">vtkMarchingCubes</a>.</p>

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

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a00988.html#bad067fd7d683d77118365abdbc267d5">vtkMarchingCubes</a>.</p>

</div>
</div><p>
<a class="anchor" name="bef7ad37343f287e36422ab42769c3f4"></a><!-- doxytag: member="vtkDiscreteMarchingCubes::SafeDownCast" ref="bef7ad37343f287e36422ab42769c3f4" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00425.html">vtkDiscreteMarchingCubes</a>* vtkDiscreteMarchingCubes::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00988.html#718a0d15f4d0e1ba5236e7d43eb4e893">vtkMarchingCubes</a>.</p>

</div>
</div><p>
<a class="anchor" name="3a2717d5edbe3c73df1e311b35acc5df"></a><!-- doxytag: member="vtkDiscreteMarchingCubes::RequestData" ref="3a2717d5edbe3c73df1e311b35acc5df" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkDiscreteMarchingCubes::RequestData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname"> <em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname"> <em>inputVector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"> <em>outputVector</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is called by the superclass. This is the method you should override. 
<p>Reimplemented from <a class="el" href="a00988.html#1d1d05a96d9b86a89cbc0a5e7fbb4f26">vtkMarchingCubes</a>.</p>

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