Sophie

Sophie

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

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: vtkIdentColoredPainter 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>vtkIdentColoredPainter Class Reference</h1><!-- doxytag: class="vtkIdentColoredPainter" --><!-- doxytag: inherits="vtkPolyDataPainter" --><code>#include &lt;<a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkIdentColoredPainter:</div>
<div class="dynsection">
<p><center><img src="a10633.png" border="0" usemap="#a10634" alt="Inheritance graph"></center>
<map name="a10634">
<area shape="rect" href="a01268.html" title="Abstract class for drawing poly data." alt="" coords="17,229,156,256"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="45,155,128,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="47,80,127,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="32,5,141,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkIdentColoredPainter:</div>
<div class="dynsection">
<p><center><img src="a10635.png" border="0" usemap="#a10636" alt="Collaboration graph"></center>
<map name="a10636">
<area shape="rect" href="a01268.html" title="Abstract class for drawing poly data." alt="" coords="2321,792,2460,819"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="2099,992,2181,1019"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,515,524,542"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1777,520,1884,547"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1075,371,1173,398"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1487,283,1585,310"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="684,355,833,382"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="704,651,813,678"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1487,560,1585,587"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1063,624,1185,651"><area shape="rect" href="a01870.html" title="Non&#45;templated superclass for vtkWeakPointer." alt="" coords="684,1024,833,1051"><area shape="rect" href="a01715.html" title="Timer support and logging." alt="" coords="709,1098,808,1124"><area shape="rect" href="a01317.html" title="abstract superclass for all actors, volumes and annotations" alt="" coords="1796,112,1865,139"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="1073,174,1175,200"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="684,200,833,227"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="860,763,1001,790"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,1035,116,1062"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,1035,565,1062"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,1096,300,1123"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,822,289,848"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2349,392,2432,419"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="2081,816,2199,843"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="2076,430,2204,456"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,718,575,744"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1485,742,1587,768"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1027,574,1221,600"><area shape="rect" href="a01869.html" title="vtkWeakPointer\&lt; vtkWindow \&gt;" alt="" coords="1432,1046,1640,1072"><area shape="rect" href="a01869.html" title="a weak reference to a vtkObject." alt="" coords="1049,1075,1199,1102"><area shape="rect" href="a01716.html" title="vtkTimerLogEntry" alt="" coords="419,1098,549,1124"><area shape="rect" href="a00144.html" title="a list of lists of props representing an assembly hierarchy" alt="" coords="1469,168,1603,195"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="1936,675,2051,702"><area shape="rect" href="a01784.html" title="dynamic, self&#45;adjusting array of unsigned char" alt="" coords="1751,790,1911,816"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a10637.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
DEPRECATED A <a class="el" href="a01268.html" title="Abstract class for drawing poly data.">vtkPolyDataPainter</a> that colors each polygon with a color coded integer. 
<p>
DEPRECATED. Refer to <a class="el" href="a00680.html" title="painter used to render polydata for selection passes.">vtkHardwareSelectionPolyDataPainter</a> instead. This painter will color each polygon in a color that encodes an integer. Doing so allows us to determine what polygon is behind each pixel on the screen.<p>
Two different modes exist. The first mode colors every polygon the same (SetToColorByConstant). By setting the constant with a processor rank this lets us find out which processor rendered each pixel after parallel depth compositing. Alternatively, by changing the constant in between actors this allows us to differentiate visible actors.<p>
The second mode is to render each polygon in the actor with its own color (SetToColorByIncreasingIdent). Because color depth is limited to 24 bits while visualization data is often larger than 2^24 cells, the index which is increasing is implemented as a 72 bit number. You can customize this mode to color the pixels by three different 24 bit fields of the number. Rendering in three separate passes can then differentiate between 2^72 different cells.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>vtkVisibleCellSelection </dd></dl>

<p>Definition at line <a class="el" href="a05205.html#l00054">54</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.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="a01268.html">vtkPolyDataPainter</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#7fa17131073db3fe30fcd3fa86cc9b3b">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="a00717.html#04c7de481be8fbb28fb1de04543cc24f">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="a00717.html#1da10e019ae9eaa3a2deca5a04ade4de">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#470878caeca01c36fb3e6759e56f2af8">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#19a47ad424c330cc2851a61c515c324f">ResetCurrentId</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#a0c8c13368880a96b38c9599bf2f203c">ColorByConstant</a> (unsigned int constant)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#6d7b85c1ab9ec912d59a1fdac9871a25">ColorByIncreasingIdent</a> (unsigned int plane)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#7cfdbdd5da98641308215ee20eca7438">ColorByActorId</a> (<a class="el" href="a01317.html">vtkProp</a> *ActorId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#98c51f8565def10836e5df9ee3dbe2a0">ColorByVertex</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#4475b185145bd5e7afa15539aaa21ede">MakeActorLookupTable</a> (<a class="el" href="a01317.html">vtkProp</a> **Props, <a class="el" href="a00722.html">vtkIdTypeArray</a> *IdsForProps)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01317.html">vtkProp</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#e9c9265bc371a10bc15882ceb974777f">GetActorFromId</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> id)</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 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#e0b4fd481c4ee3ca4ac3fd5a4ec25ea5">IsTypeOf</a> (const char *type)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00717.html">vtkIdentColoredPainter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#904b62f8809cdbf4d555f3daa405d47d">New</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="a00717.html#ac931efbfe06b004a8fc6157ee0e1b70ec2d435e124316ef6bac2a08e2eea802">COLORBYIDENT</a> = 0, 
<a class="el" href="a00717.html#ac931efbfe06b004a8fc6157ee0e1b706a75bf0068592779bb371bacc6abd079">COLORBYCONST</a>, 
<a class="el" href="a00717.html#ac931efbfe06b004a8fc6157ee0e1b705c83efa8602f712fbd40074b3eb8b71c">COLORBYVERTEX</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="a00717.html#55f225741de0f7cca6077631a2bb1f44">vtkIdentColoredPainter</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#51f9bb7f423e0b269483fe208449cf7e">RenderInternal</a> (<a class="el" href="a01480.html">vtkRenderer</a> *renderer, <a class="el" href="a00092.html">vtkActor</a> *actor, unsigned long typeflags, bool forceCompileOnly)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#7dd474b7274c2d883e926f5257bfd1fd">DrawCells</a> (int mode, <a class="el" href="a00242.html">vtkCellArray</a> *connectivity, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> startCellId, <a class="el" href="a01480.html">vtkRenderer</a> *renderer)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#95ee93910466dedd905d22ae7758a372">IncrementCurrentId</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#09c9eb2408f4aee4cb923cd67a800140">GetCurrentColor</a> (unsigned char *RGB)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#6e01df95c396482207f25da7652ffac6">TotalCells</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#2453687fc685e9b39e07606c44580c22">ColorMode</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#e77627f8f7bd477574058288f75cf487">Plane</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#f8884926ecbf56fe7d919d12221344e3">CurrentIdPlane0</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#ed7d6c31e658d06d2d13f97cd2a13bef">CurrentIdPlane1</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#1aadcf4bc45419257a5048627350a92e">CurrentIdPlane2</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00722.html">vtkIdTypeArray</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#fba6bbe1620e628eb55575042e0ff5a8">ActorIds</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01317.html">vtkProp</a> **&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00717.html#ee47a8941b412c9edf9bbceb29e544ce">PropAddrs</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="7fa17131073db3fe30fcd3fa86cc9b3b"></a><!-- doxytag: member="vtkIdentColoredPainter::Superclass" ref="7fa17131073db3fe30fcd3fa86cc9b3b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01268.html">vtkPolyDataPainter</a> <a class="el" href="a01268.html">vtkIdentColoredPainter::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01268.html#182e56fb0e218ce5213e1ea561cf064e">vtkPolyDataPainter</a>.</p>

<p>Definition at line <a class="el" href="a05205.html#l00057">57</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="ac931efbfe06b004a8fc6157ee0e1b70"></a><!-- doxytag: member="vtkIdentColoredPainter::@84" ref="ac931efbfe06b004a8fc6157ee0e1b70" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="ac931efbfe06b004a8fc6157ee0e1b70ec2d435e124316ef6bac2a08e2eea802"></a><!-- doxytag: member="COLORBYIDENT" ref="ac931efbfe06b004a8fc6157ee0e1b70ec2d435e124316ef6bac2a08e2eea802" args="" -->COLORBYIDENT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="ac931efbfe06b004a8fc6157ee0e1b706a75bf0068592779bb371bacc6abd079"></a><!-- doxytag: member="COLORBYCONST" ref="ac931efbfe06b004a8fc6157ee0e1b706a75bf0068592779bb371bacc6abd079" args="" -->COLORBYCONST</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="ac931efbfe06b004a8fc6157ee0e1b705c83efa8602f712fbd40074b3eb8b71c"></a><!-- doxytag: member="COLORBYVERTEX" ref="ac931efbfe06b004a8fc6157ee0e1b705c83efa8602f712fbd40074b3eb8b71c" args="" -->COLORBYVERTEX</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="a05205.html#l00097">97</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="55f225741de0f7cca6077631a2bb1f44"></a><!-- doxytag: member="vtkIdentColoredPainter::vtkIdentColoredPainter" ref="55f225741de0f7cca6077631a2bb1f44" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkIdentColoredPainter::vtkIdentColoredPainter           </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="2963c2b34490c59803004e733bbf1a68"></a><!-- doxytag: member="vtkIdentColoredPainter::~vtkIdentColoredPainter" ref="2963c2b34490c59803004e733bbf1a68" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkIdentColoredPainter::~vtkIdentColoredPainter           </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="04c7de481be8fbb28fb1de04543cc24f"></a><!-- doxytag: member="vtkIdentColoredPainter::GetClassName" ref="04c7de481be8fbb28fb1de04543cc24f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkIdentColoredPainter::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="a01268.html#babb95a6a0b1acf78cc966794e42460a">vtkPolyDataPainter</a>.</p>

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

</div>
</div><p>
<a class="anchor" name="1da10e019ae9eaa3a2deca5a04ade4de"></a><!-- doxytag: member="vtkIdentColoredPainter::IsA" ref="1da10e019ae9eaa3a2deca5a04ade4de" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkIdentColoredPainter::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="a01268.html#cbee54cd2d3dd13fcc8d622fe4a095d1">vtkPolyDataPainter</a>.</p>

</div>
</div><p>
<a class="anchor" name="ea511453f6235924f36ea91443395a40"></a><!-- doxytag: member="vtkIdentColoredPainter::SafeDownCast" ref="ea511453f6235924f36ea91443395a40" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00717.html">vtkIdentColoredPainter</a>* vtkIdentColoredPainter::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="a01268.html#33179291d60e15fdbc8d765df0d407d6">vtkPolyDataPainter</a>.</p>

</div>
</div><p>
<a class="anchor" name="470878caeca01c36fb3e6759e56f2af8"></a><!-- doxytag: member="vtkIdentColoredPainter::PrintSelf" ref="470878caeca01c36fb3e6759e56f2af8" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkIdentColoredPainter::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>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a01268.html#665e2bd921fbaeecc16f96ac882fce4c">vtkPolyDataPainter</a>.</p>

</div>
</div><p>
<a class="anchor" name="904b62f8809cdbf4d555f3daa405d47d"></a><!-- doxytag: member="vtkIdentColoredPainter::New" ref="904b62f8809cdbf4d555f3daa405d47d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00717.html">vtkIdentColoredPainter</a>* vtkIdentColoredPainter::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="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="19a47ad424c330cc2851a61c515c324f"></a><!-- doxytag: member="vtkIdentColoredPainter::ResetCurrentId" ref="19a47ad424c330cc2851a61c515c324f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::ResetCurrentId           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
resets the current id to "first". 
</div>
</div><p>
<a class="anchor" name="a0c8c13368880a96b38c9599bf2f203c"></a><!-- doxytag: member="vtkIdentColoredPainter::ColorByConstant" ref="a0c8c13368880a96b38c9599bf2f203c" args="(unsigned int constant)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::ColorByConstant           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>constant</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Use to color each cell by processor rank or by actor id. 
</div>
</div><p>
<a class="anchor" name="6d7b85c1ab9ec912d59a1fdac9871a25"></a><!-- doxytag: member="vtkIdentColoredPainter::ColorByIncreasingIdent" ref="6d7b85c1ab9ec912d59a1fdac9871a25" args="(unsigned int plane)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::ColorByIncreasingIdent           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>plane</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Use to color each cell with a different index. plane 0 = bits 23..0 of ident. plane 1 = bits 47..24 of ident. plane 2 = bits 71..48 of ident. 
</div>
</div><p>
<a class="anchor" name="7cfdbdd5da98641308215ee20eca7438"></a><!-- doxytag: member="vtkIdentColoredPainter::ColorByActorId" ref="7cfdbdd5da98641308215ee20eca7438" args="(vtkProp *ActorId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::ColorByActorId           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01317.html">vtkProp</a> *&nbsp;</td>
          <td class="paramname"> <em>ActorId</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Use the actor lookup table to lookup a color to render with. 
</div>
</div><p>
<a class="anchor" name="98c51f8565def10836e5df9ee3dbe2a0"></a><!-- doxytag: member="vtkIdentColoredPainter::ColorByVertex" ref="98c51f8565def10836e5df9ee3dbe2a0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::ColorByVertex           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Use to color each vertex of each cell by its number. 
</div>
</div><p>
<a class="anchor" name="4475b185145bd5e7afa15539aaa21ede"></a><!-- doxytag: member="vtkIdentColoredPainter::MakeActorLookupTable" ref="4475b185145bd5e7afa15539aaa21ede" args="(vtkProp **Props, vtkIdTypeArray *IdsForProps)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::MakeActorLookupTable           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01317.html">vtkProp</a> **&nbsp;</td>
          <td class="paramname"> <em>Props</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00722.html">vtkIdTypeArray</a> *&nbsp;</td>
          <td class="paramname"> <em>IdsForProps</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allows you to specify a mapping for selected actor ids. 
</div>
</div><p>
<a class="anchor" name="e9c9265bc371a10bc15882ceb974777f"></a><!-- doxytag: member="vtkIdentColoredPainter::GetActorFromId" ref="e9c9265bc371a10bc15882ceb974777f" args="(vtkIdType id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01317.html">vtkProp</a>* vtkIdentColoredPainter::GetActorFromId           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allows you to get the id for selected actor. 
</div>
</div><p>
<a class="anchor" name="51f9bb7f423e0b269483fe208449cf7e"></a><!-- doxytag: member="vtkIdentColoredPainter::RenderInternal" ref="51f9bb7f423e0b269483fe208449cf7e" args="(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkIdentColoredPainter::RenderInternal           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01480.html">vtkRenderer</a> *&nbsp;</td>
          <td class="paramname"> <em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00092.html">vtkActor</a> *&nbsp;</td>
          <td class="paramname"> <em>actor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>typeflags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>forceCompileOnly</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>
Performs the actual rendering. Subclasses may override this method. default implementation merely call a Render on the DelegatePainter, if any. When <a class="el" href="a00717.html#51f9bb7f423e0b269483fe208449cf7e">RenderInternal()</a> is called, it is assured that the DelegatePainter is in sync with this painter i.e. <a class="el" href="a01149.html#5ae3e0be12d175b9a83188cf6df2c0b2">UpdateDelegatePainter()</a> has been called. 
<p>Reimplemented from <a class="el" href="a01149.html#558d2bdd6d9cdd06b597d0f910558729">vtkPainter</a>.</p>

</div>
</div><p>
<a class="anchor" name="7dd474b7274c2d883e926f5257bfd1fd"></a><!-- doxytag: member="vtkIdentColoredPainter::DrawCells" ref="7dd474b7274c2d883e926f5257bfd1fd" args="(int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkRenderer *renderer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::DrawCells           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00242.html">vtkCellArray</a> *&nbsp;</td>
          <td class="paramname"> <em>connectivity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>&nbsp;</td>
          <td class="paramname"> <em>startCellId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01480.html">vtkRenderer</a> *&nbsp;</td>
          <td class="paramname"> <em>renderer</em></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>

</div>
</div><p>
<a class="anchor" name="95ee93910466dedd905d22ae7758a372"></a><!-- doxytag: member="vtkIdentColoredPainter::IncrementCurrentId" ref="95ee93910466dedd905d22ae7758a372" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::IncrementCurrentId           </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="09c9eb2408f4aee4cb923cd67a800140"></a><!-- doxytag: member="vtkIdentColoredPainter::GetCurrentColor" ref="09c9eb2408f4aee4cb923cd67a800140" args="(unsigned char *RGB)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkIdentColoredPainter::GetCurrentColor           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>RGB</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="6e01df95c396482207f25da7652ffac6"></a><!-- doxytag: member="vtkIdentColoredPainter::TotalCells" ref="6e01df95c396482207f25da7652ffac6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> <a class="el" href="a00717.html#6e01df95c396482207f25da7652ffac6">vtkIdentColoredPainter::TotalCells</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05205.html#l00094">94</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2453687fc685e9b39e07606c44580c22"></a><!-- doxytag: member="vtkIdentColoredPainter::ColorMode" ref="2453687fc685e9b39e07606c44580c22" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00717.html#2453687fc685e9b39e07606c44580c22">vtkIdentColoredPainter::ColorMode</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<a class="anchor" name="e77627f8f7bd477574058288f75cf487"></a><!-- doxytag: member="vtkIdentColoredPainter::Plane" ref="e77627f8f7bd477574058288f75cf487" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="a00717.html#e77627f8f7bd477574058288f75cf487">vtkIdentColoredPainter::Plane</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05205.html#l00102">102</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f8884926ecbf56fe7d919d12221344e3"></a><!-- doxytag: member="vtkIdentColoredPainter::CurrentIdPlane0" ref="f8884926ecbf56fe7d919d12221344e3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="a00717.html#f8884926ecbf56fe7d919d12221344e3">vtkIdentColoredPainter::CurrentIdPlane0</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<a class="anchor" name="ed7d6c31e658d06d2d13f97cd2a13bef"></a><!-- doxytag: member="vtkIdentColoredPainter::CurrentIdPlane1" ref="ed7d6c31e658d06d2d13f97cd2a13bef" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="a00717.html#ed7d6c31e658d06d2d13f97cd2a13bef">vtkIdentColoredPainter::CurrentIdPlane1</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05205.html#l00104">104</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1aadcf4bc45419257a5048627350a92e"></a><!-- doxytag: member="vtkIdentColoredPainter::CurrentIdPlane2" ref="1aadcf4bc45419257a5048627350a92e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="a00717.html#1aadcf4bc45419257a5048627350a92e">vtkIdentColoredPainter::CurrentIdPlane2</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05205.html#l00105">105</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="fba6bbe1620e628eb55575042e0ff5a8"></a><!-- doxytag: member="vtkIdentColoredPainter::ActorIds" ref="fba6bbe1620e628eb55575042e0ff5a8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00722.html">vtkIdTypeArray</a>* <a class="el" href="a00717.html#fba6bbe1620e628eb55575042e0ff5a8">vtkIdentColoredPainter::ActorIds</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05205.html#l00110">110</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ee47a8941b412c9edf9bbceb29e544ce"></a><!-- doxytag: member="vtkIdentColoredPainter::PropAddrs" ref="ee47a8941b412c9edf9bbceb29e544ce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01317.html">vtkProp</a>** <a class="el" href="a00717.html#ee47a8941b412c9edf9bbceb29e544ce">vtkIdentColoredPainter::PropAddrs</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05205.html#l00111">111</a> of file <a class="el" href="a05205.html">vtkIdentColoredPainter.h</a>.</p>

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