Sophie

Sophie

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

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: vtkScalarsToColors 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>vtkScalarsToColors Class Reference</h1><!-- doxytag: class="vtkScalarsToColors" --><!-- doxytag: inherits="vtkObject" --><code>#include &lt;<a class="el" href="a03919.html">vtkScalarsToColors.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkScalarsToColors:</div>
<div class="dynsection">
<p><center><img src="a14291.png" border="0" usemap="#a14292" alt="Inheritance graph"></center>
<map name="a14292">
<area shape="rect" href="a00290.html" title="Defines a transfer function for mapping a property to an RGB color value." alt="" coords="12,229,188,256"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="212,229,329,256"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="145,80,225,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="131,5,240,32"><area shape="rect" href="a00975.html" title="map scalars into colors using log (base 10) scale" alt="" coords="5,304,147,331"><area shape="rect" href="a00981.html" title="A lookup table that allows for an optional array to be provided that specifies which..." alt="" coords="171,304,371,331"><area shape="rect" href="a01888.html" title="map scalar values into colors or colors to scalars; generate color table" alt="" coords="395,304,595,331"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkScalarsToColors:</div>
<div class="dynsection">
<p><center><img src="a14293.png" border="0" usemap="#a14294" alt="Collaboration graph"></center>
<map name="a14294">
<area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,5,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,5,248,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a14295.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
map scalar values into colors 
<p>
<a class="el" href="a01513.html" title="map scalar values into colors">vtkScalarsToColors</a> is a general purpose superclass for objects that convert scalars to colors. This include <a class="el" href="a00980.html" title="map scalar values into colors via a lookup table">vtkLookupTable</a> classes and color transfer functions.<p>
The scalars to color mapping can be augmented with an additional uniform alpha blend. This is used, for example, to blend a vtkActor's opacity with the lookup table values.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00980.html" title="map scalar values into colors via a lookup table">vtkLookupTable</a> <a class="el" href="a00290.html" title="Defines a transfer function for mapping a property to an RGB color value.">vtkColorTransferFunction</a> </dd></dl>

<p>Definition at line <a class="el" href="a03919.html#l00038">38</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.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">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#fac0bf29f7299ea31115d0346a6351dd">VectorModes</a> { <a class="el" href="a01513.html#fac0bf29f7299ea31115d0346a6351ddf696b377e3f280ab0f91c5fa887ec186">MAGNITUDE</a> = 0, 
<a class="el" href="a01513.html#fac0bf29f7299ea31115d0346a6351dde187043042190257b851977fc3bace57">COMPONENT</a> = 1
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01084.html">vtkObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#84a3b022b67c2a6b6b615ee83ab6db80">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="a01513.html#4f3a4971132a993571b76b9237e78776">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="a01513.html#5d2ff18c231216d3126981096f87bba2">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="a01513.html#8de38746b123107ed4c525f6deebb312">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">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#1a819c8c26b126029a7a9eb00540f045">IsOpaque</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="a01513.html#b1a0cf934b05c4b288b80adb20c9061f">Build</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#b3c13639bec798b80e52a8257f846249">MapValue</a> (double v)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#787ac78bddec099340decbd3794a2143">GetColor</a> (double v, double rgb[3])=0</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#2a317b974bbdcdc85563fb1ed4d1735d">GetRange</a> ()=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#8abef853214d083955f17581f157ef1c">SetRange</a> (double min, double max)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#a471c4b8e55443abacd2790e5e64587b">SetRange</a> (double rng[2])</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="a01513.html#4996d3c3bbaa68f8a49ba6aa20e67f1a">GetColor</a> (double v)</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="a01513.html#b029aa2a8b0286f8e6c8e24576ee12e0">GetOpacity</a> (double vtkNotUsed(v))</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="a01513.html#2b4352218989a94f8c2e7e0f90b4cb54">GetLuminance</a> (double x)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#2afeaaabab179b2a27d999efe9e435c9">SetAlpha</a> (double alpha)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#442712bab9f77430efbb5085adbb5c4a">GetAlpha</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="a01784.html">vtkUnsignedCharArray</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#5945270cbafaca66e96a7d5bf4f296a9">MapScalars</a> (<a class="el" href="a00356.html">vtkDataArray</a> *scalars, int colorMode, int component)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#8f9902d16313703d5c2307de253e9475">SetVectorMode</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#764af3895c7c385c727ecfab634dafc3">GetVectorMode</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#885bea7953e64453af2c887f45fd1638">SetVectorModeToMagnitude</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#8442f18f45ad67d02a8f07206a6cc18c">SetVectorModeToComponent</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#84e5bf389c6b97ead8994ad5b3342d39">SetVectorComponent</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#2eaabacc7efd0f34c96e4b90cbaaaef5">GetVectorComponent</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#230b480d75ccb46eba21b9227e3c7347">MapScalarsThroughTable</a> (<a class="el" href="a00356.html">vtkDataArray</a> *scalars, unsigned char *output, int outputFormat)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#132666b3f651d4605123271d21104fbb">MapScalarsThroughTable</a> (<a class="el" href="a00356.html">vtkDataArray</a> *scalars, unsigned char *output)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#70cfc9d108f22861f34c658d2f9dae94">MapScalarsThroughTable2</a> (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat)=0</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="a01784.html">vtkUnsignedCharArray</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#5a273622a4374fbaaabc990e29793413">ConvertUnsignedCharToRGBA</a> (<a class="el" href="a01784.html">vtkUnsignedCharArray</a> *colors, int numComp, int numTuples)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#5d69196de595f9e7d710b0c2fc9b4de4">UsingLogScale</a> ()</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="a01513.html#9b70f74565d2b2866d47e7b38e415d3e">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01513.html">vtkScalarsToColors</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#957a9a62428d30e21173473bace6c1a8">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="a01513.html#783008555dc0f1bcd6fb2e1c85bddf4e">vtkScalarsToColors</a> ()</td></tr>

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

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#0a9439427bf94db934e4602d8dcd722d">Alpha</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#27cf24c9aa63d76552f5627e73eaf22d">VectorMode</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#db42af10cb736f95ca7d9732f9654d99">UseMagnitude</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01513.html#89dab901fdf36cb8e60be1b652fc4123">VectorComponent</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="84a3b022b67c2a6b6b615ee83ab6db80"></a><!-- doxytag: member="vtkScalarsToColors::Superclass" ref="84a3b022b67c2a6b6b615ee83ab6db80" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01084.html">vtkObject</a> <a class="el" href="a01084.html">vtkScalarsToColors::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#11429dee69f4b562e03e07b453dae9b5">vtkObject</a>.</p>

<p>Reimplemented in <a class="el" href="a00975.html#6ea778522cdfcc26335179930078bede">vtkLogLookupTable</a>, <a class="el" href="a00980.html#5c6002d2c38ab1cb75e5d12ada885131">vtkLookupTable</a>, <a class="el" href="a00981.html#043467a0ff0a4162b51991e08346e637">vtkLookupTableWithEnabling</a>, <a class="el" href="a01888.html#25bd4bb7d20b5a68d840a8f15c7a188c">vtkWindowLevelLookupTable</a>, and <a class="el" href="a00290.html#9fd3a5ec6b8f1db2f788b2ef68b339f9">vtkColorTransferFunction</a>.</p>

<p>Definition at line <a class="el" href="a03919.html#l00041">41</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="fac0bf29f7299ea31115d0346a6351dd"></a><!-- doxytag: member="vtkScalarsToColors::VectorModes" ref="fac0bf29f7299ea31115d0346a6351dd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a01513.html#fac0bf29f7299ea31115d0346a6351dd">vtkScalarsToColors::VectorModes</a>          </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="fac0bf29f7299ea31115d0346a6351ddf696b377e3f280ab0f91c5fa887ec186"></a><!-- doxytag: member="MAGNITUDE" ref="fac0bf29f7299ea31115d0346a6351ddf696b377e3f280ab0f91c5fa887ec186" args="" -->MAGNITUDE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="fac0bf29f7299ea31115d0346a6351dde187043042190257b851977fc3bace57"></a><!-- doxytag: member="COMPONENT" ref="fac0bf29f7299ea31115d0346a6351dde187043042190257b851977fc3bace57" args="" -->COMPONENT</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="a03919.html#l00122">122</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="783008555dc0f1bcd6fb2e1c85bddf4e"></a><!-- doxytag: member="vtkScalarsToColors::vtkScalarsToColors" ref="783008555dc0f1bcd6fb2e1c85bddf4e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkScalarsToColors::vtkScalarsToColors           </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="9b6e7f23504d3ad485bd4fcb87edf607"></a><!-- doxytag: member="vtkScalarsToColors::~vtkScalarsToColors" ref="9b6e7f23504d3ad485bd4fcb87edf607" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkScalarsToColors::~vtkScalarsToColors           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03919.html#l00175">175</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4f3a4971132a993571b76b9237e78776"></a><!-- doxytag: member="vtkScalarsToColors::GetClassName" ref="4f3a4971132a993571b76b9237e78776" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkScalarsToColors::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="a01084.html#d95975c85c2896ea32ff4cf1f8de0886">vtkObject</a>.</p>

<p>Reimplemented in <a class="el" href="a00975.html#9c4d0f00bbbdee73778b3f82f5833d52">vtkLogLookupTable</a>, <a class="el" href="a00980.html#bb4c3d2585bf7488fee67a1a43b365b6">vtkLookupTable</a>, <a class="el" href="a00981.html#ff793237150cd6e71eedf63154f47df6">vtkLookupTableWithEnabling</a>, <a class="el" href="a01888.html#ef7995e53ba1dfbfda9a735b9db480a6">vtkWindowLevelLookupTable</a>, and <a class="el" href="a00290.html#66b22760aa05f70443bafb7434092cd8">vtkColorTransferFunction</a>.</p>

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

<p>Reimplemented in <a class="el" href="a00975.html#65f24c386c8b36e3fafb4b01cecbeb07">vtkLogLookupTable</a>, <a class="el" href="a00980.html#62161f4203b3bde57e4d77b336dd0089">vtkLookupTable</a>, <a class="el" href="a00981.html#22c4cedb530d33bf203a55eb54b20e81">vtkLookupTableWithEnabling</a>, <a class="el" href="a01888.html#c08eda1893463743ee1beedacf15199c">vtkWindowLevelLookupTable</a>, and <a class="el" href="a00290.html#be42347c575baa7eb02bc46d9b3c5730">vtkColorTransferFunction</a>.</p>

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

<p>Reimplemented in <a class="el" href="a00975.html#9a5821a2587eaf00735e93f8817f3d7f">vtkLogLookupTable</a>, <a class="el" href="a00980.html#3bd1e50b5a6758e55f05c353acb7eec4">vtkLookupTable</a>, <a class="el" href="a00981.html#872b2325b6bd5aab6c78a974a012652f">vtkLookupTableWithEnabling</a>, <a class="el" href="a01888.html#d1b6640c48718a08767844c6a6d48d16">vtkWindowLevelLookupTable</a>, and <a class="el" href="a00290.html#1f18907cd0310c0a95b1c36c0ac154da">vtkColorTransferFunction</a>.</p>

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

<p>Reimplemented in <a class="el" href="a00975.html#a5110bd2714a8d56463e4cdd44604303">vtkLogLookupTable</a>, <a class="el" href="a00980.html#75f4e80e4d28836e58a8ff3f2b2171ba">vtkLookupTable</a>, <a class="el" href="a00981.html#3272e9cb38160353e2f298e6824264ae">vtkLookupTableWithEnabling</a>, <a class="el" href="a01888.html#ee469266bb6405f732caf338e34b14cc">vtkWindowLevelLookupTable</a>, and <a class="el" href="a00290.html#273dbf98189f98774611ad3a05219bf8">vtkColorTransferFunction</a>.</p>

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

<p>Reimplemented in <a class="el" href="a00975.html#d11fd2a65d5d528d0dddf078ca04b2d3">vtkLogLookupTable</a>, <a class="el" href="a00980.html#457e9ddfba867130538e1a3b32cc537f">vtkLookupTable</a>, <a class="el" href="a00981.html#d8c1092c11825a12d827e592a253a554">vtkLookupTableWithEnabling</a>, <a class="el" href="a01888.html#4043eb6ef20ba94b62fca62539767d0f">vtkWindowLevelLookupTable</a>, and <a class="el" href="a00290.html#f4b5662b97c74f109fc0e0bee73fcfad">vtkColorTransferFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="1a819c8c26b126029a7a9eb00540f045"></a><!-- doxytag: member="vtkScalarsToColors::IsOpaque" ref="1a819c8c26b126029a7a9eb00540f045" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkScalarsToColors::IsOpaque           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return true if all of the values defining the mapping have an opacity equal to 1. Default implementation return true. 
<p>Reimplemented in <a class="el" href="a00980.html#9ba4c95a9bebb020b7f1ef68234140ac">vtkLookupTable</a>.</p>

</div>
</div><p>
<a class="anchor" name="b1a0cf934b05c4b288b80adb20c9061f"></a><!-- doxytag: member="vtkScalarsToColors::Build" ref="b1a0cf934b05c4b288b80adb20c9061f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkScalarsToColors::Build           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform any processing required (if any) before processing scalars. 
<p>Reimplemented in <a class="el" href="a00980.html#c5e95e3042eba69c080fa2e2d8e1df0b">vtkLookupTable</a>, and <a class="el" href="a01888.html#775d978de861bdffdcc824d9c199c31e">vtkWindowLevelLookupTable</a>.</p>

<p>Definition at line <a class="el" href="a03919.html#l00049">49</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2a317b974bbdcdc85563fb1ed4d1735d"></a><!-- doxytag: member="vtkScalarsToColors::GetRange" ref="2a317b974bbdcdc85563fb1ed4d1735d" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double* vtkScalarsToColors::GetRange           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets/Gets the range of scalars which will be mapped. 
<p>Implemented in <a class="el" href="a00980.html#2e5ecb1a5bbfbec0a9522a2db8f011b3">vtkLookupTable</a>, and <a class="el" href="a00290.html#8e0fea1709294875ac113a0a1c2c1991">vtkColorTransferFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="8abef853214d083955f17581f157ef1c"></a><!-- doxytag: member="vtkScalarsToColors::SetRange" ref="8abef853214d083955f17581f157ef1c" args="(double min, double max)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkScalarsToColors::SetRange           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>max</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets/Gets the range of scalars which will be mapped. 
<p>Implemented in <a class="el" href="a00980.html#a710bac98bbe85e1e5cc228fe6cf2b48">vtkLookupTable</a>, and <a class="el" href="a00290.html#59377ac2755ac10fe3ab6c52ab365d00">vtkColorTransferFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="a471c4b8e55443abacd2790e5e64587b"></a><!-- doxytag: member="vtkScalarsToColors::SetRange" ref="a471c4b8e55443abacd2790e5e64587b" args="(double rng[2])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkScalarsToColors::SetRange           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>rng</em>[2]          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets/Gets the range of scalars which will be mapped. 
<p>Reimplemented in <a class="el" href="a00980.html#9a844301575a912c6511c63418ae1941">vtkLookupTable</a>, and <a class="el" href="a00290.html#bdf6425ac4f523db066ef119836f2160">vtkColorTransferFunction</a>.</p>

<p>Definition at line <a class="el" href="a03919.html#l00055">55</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="b3c13639bec798b80e52a8257f846249"></a><!-- doxytag: member="vtkScalarsToColors::MapValue" ref="b3c13639bec798b80e52a8257f846249" args="(double v)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned char* vtkScalarsToColors::MapValue           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map one value through the lookup table and return a color defined as a RGBA unsigned char tuple (4 bytes). 
<p>Implemented in <a class="el" href="a00980.html#990ab6a52a286c7681a1e94d809b39ed">vtkLookupTable</a>, and <a class="el" href="a00290.html#c374fe314ecbedb25e5cf4ab4efd7ac1">vtkColorTransferFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="787ac78bddec099340decbd3794a2143"></a><!-- doxytag: member="vtkScalarsToColors::GetColor" ref="787ac78bddec099340decbd3794a2143" args="(double v, double rgb[3])=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkScalarsToColors::GetColor           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>rgb</em>[3]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map one value through the lookup table and return the color as an RGB array of doubles between 0 and 1. 
<p>Implemented in <a class="el" href="a00980.html#d13ffb728106d62c5a56ff05570b9c53">vtkLookupTable</a>, and <a class="el" href="a00290.html#ebc4700faffeecc58ac1419b7affb420">vtkColorTransferFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="4996d3c3bbaa68f8a49ba6aa20e67f1a"></a><!-- doxytag: member="vtkScalarsToColors::GetColor" ref="4996d3c3bbaa68f8a49ba6aa20e67f1a" args="(double v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* vtkScalarsToColors::GetColor           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map one value through the lookup table and return the color as an RGB array of doubles between 0 and 1. 
<p>Reimplemented in <a class="el" href="a00290.html#90069e1edc367d5b6f7ff36cece5816f">vtkColorTransferFunction</a>.</p>

<p>Definition at line <a class="el" href="a03919.html#l00070">70</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="b029aa2a8b0286f8e6c8e24576ee12e0"></a><!-- doxytag: member="vtkScalarsToColors::GetOpacity" ref="b029aa2a8b0286f8e6c8e24576ee12e0" args="(double vtkNotUsed(v))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkScalarsToColors::GetOpacity           </td>
          <td>(</td>
          <td class="paramtype">double &nbsp;</td>
          <td class="paramname"> <em>vtkNotUsed</em>v          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map one value through the lookup table and return the alpha value (the opacity) as a double between 0 and 1. 
<p>Definition at line <a class="el" href="a03919.html#l00077">77</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2b4352218989a94f8c2e7e0f90b4cb54"></a><!-- doxytag: member="vtkScalarsToColors::GetLuminance" ref="2b4352218989a94f8c2e7e0f90b4cb54" args="(double x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkScalarsToColors::GetLuminance           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map one value through the lookup table and return the luminance 0.3*red + 0.59*green + 0.11*blue as a double between 0 and 1. Returns the luminance value for the specified scalar value. 
<p>Definition at line <a class="el" href="a03919.html#l00085">85</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2afeaaabab179b2a27d999efe9e435c9"></a><!-- doxytag: member="vtkScalarsToColors::SetAlpha" ref="2afeaaabab179b2a27d999efe9e435c9" args="(double alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkScalarsToColors::SetAlpha           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>alpha</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify an additional opacity (alpha) value to blend with. Values != 1 modify the resulting color consistent with the requested form of the output. This is typically used by an actor in order to blend its opacity. 
</div>
</div><p>
<a class="anchor" name="442712bab9f77430efbb5085adbb5c4a"></a><!-- doxytag: member="vtkScalarsToColors::GetAlpha" ref="442712bab9f77430efbb5085adbb5c4a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkScalarsToColors::GetAlpha           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify an additional opacity (alpha) value to blend with. Values != 1 modify the resulting color consistent with the requested form of the output. This is typically used by an actor in order to blend its opacity. 
</div>
</div><p>
<a class="anchor" name="5945270cbafaca66e96a7d5bf4f296a9"></a><!-- doxytag: member="vtkScalarsToColors::MapScalars" ref="5945270cbafaca66e96a7d5bf4f296a9" args="(vtkDataArray *scalars, int colorMode, int component)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a01784.html">vtkUnsignedCharArray</a>* vtkScalarsToColors::MapScalars           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00356.html">vtkDataArray</a> *&nbsp;</td>
          <td class="paramname"> <em>scalars</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>colorMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>component</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>
An internal method maps a data array into a 4-component, unsigned char RGBA array. The color mode determines the behavior of mapping. If VTK_COLOR_MODE_DEFAULT is set, then unsigned char data arrays are treated as colors (and converted to RGBA if necessary); otherwise, the data is mapped through this instance of ScalarsToColors. The offset is used for data arrays with more than one component; it indicates which component to use to do the blending. When the component argument is -1, then the this object uses its own selected technique to change a vector into a scalar to map. 
</div>
</div><p>
<a class="anchor" name="8f9902d16313703d5c2307de253e9475"></a><!-- doxytag: member="vtkScalarsToColors::SetVectorMode" ref="8f9902d16313703d5c2307de253e9475" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkScalarsToColors::SetVectorMode           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change mode that maps vectors by magnitude vs. component. 
</div>
</div><p>
<a class="anchor" name="764af3895c7c385c727ecfab634dafc3"></a><!-- doxytag: member="vtkScalarsToColors::GetVectorMode" ref="764af3895c7c385c727ecfab634dafc3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkScalarsToColors::GetVectorMode           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change mode that maps vectors by magnitude vs. component. 
</div>
</div><p>
<a class="anchor" name="885bea7953e64453af2c887f45fd1638"></a><!-- doxytag: member="vtkScalarsToColors::SetVectorModeToMagnitude" ref="885bea7953e64453af2c887f45fd1638" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkScalarsToColors::SetVectorModeToMagnitude           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change mode that maps vectors by magnitude vs. component. 
</div>
</div><p>
<a class="anchor" name="8442f18f45ad67d02a8f07206a6cc18c"></a><!-- doxytag: member="vtkScalarsToColors::SetVectorModeToComponent" ref="8442f18f45ad67d02a8f07206a6cc18c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkScalarsToColors::SetVectorModeToComponent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change mode that maps vectors by magnitude vs. component. 
</div>
</div><p>
<a class="anchor" name="84e5bf389c6b97ead8994ad5b3342d39"></a><!-- doxytag: member="vtkScalarsToColors::SetVectorComponent" ref="84e5bf389c6b97ead8994ad5b3342d39" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkScalarsToColors::SetVectorComponent           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the mapper does not select which component of a vector to map to colors, you can specify it here. 
</div>
</div><p>
<a class="anchor" name="2eaabacc7efd0f34c96e4b90cbaaaef5"></a><!-- doxytag: member="vtkScalarsToColors::GetVectorComponent" ref="2eaabacc7efd0f34c96e4b90cbaaaef5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkScalarsToColors::GetVectorComponent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the mapper does not select which component of a vector to map to colors, you can specify it here. 
</div>
</div><p>
<a class="anchor" name="230b480d75ccb46eba21b9227e3c7347"></a><!-- doxytag: member="vtkScalarsToColors::MapScalarsThroughTable" ref="230b480d75ccb46eba21b9227e3c7347" args="(vtkDataArray *scalars, unsigned char *output, int outputFormat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkScalarsToColors::MapScalarsThroughTable           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00356.html">vtkDataArray</a> *&nbsp;</td>
          <td class="paramname"> <em>scalars</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>output</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>outputFormat</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map a set of scalars through the lookup table in a single operation. The output format can be set to VTK_RGBA (4 components), VTK_RGB (3 components), VTK_LUMINANCE (1 component, greyscale), or VTK_LUMINANCE_ALPHA (2 components) If not supplied, the output format defaults to RGBA. 
</div>
</div><p>
<a class="anchor" name="132666b3f651d4605123271d21104fbb"></a><!-- doxytag: member="vtkScalarsToColors::MapScalarsThroughTable" ref="132666b3f651d4605123271d21104fbb" args="(vtkDataArray *scalars, unsigned char *output)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkScalarsToColors::MapScalarsThroughTable           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00356.html">vtkDataArray</a> *&nbsp;</td>
          <td class="paramname"> <em>scalars</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>output</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Map a set of scalars through the lookup table in a single operation. The output format can be set to VTK_RGBA (4 components), VTK_RGB (3 components), VTK_LUMINANCE (1 component, greyscale), or VTK_LUMINANCE_ALPHA (2 components) If not supplied, the output format defaults to RGBA. 
<p>Definition at line <a class="el" href="a03919.html#l00145">145</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="70cfc9d108f22861f34c658d2f9dae94"></a><!-- doxytag: member="vtkScalarsToColors::MapScalarsThroughTable2" ref="70cfc9d108f22861f34c658d2f9dae94" args="(void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkScalarsToColors::MapScalarsThroughTable2           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>output</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputDataType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numberOfValues</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputIncrement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>outputFormat</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
An internal method typically not used in applications. 
<p>Implemented in <a class="el" href="a00980.html#edaf98c923929d7ba8756a5501bced79">vtkLookupTable</a>, <a class="el" href="a00981.html#08b1ec07a3eaa2863e2b1a221bc3fd27">vtkLookupTableWithEnabling</a>, and <a class="el" href="a00290.html#dd8ae556ed47bf1b45771a03aa9b4fe5">vtkColorTransferFunction</a>.</p>

</div>
</div><p>
<a class="anchor" name="5a273622a4374fbaaabc990e29793413"></a><!-- doxytag: member="vtkScalarsToColors::ConvertUnsignedCharToRGBA" ref="5a273622a4374fbaaabc990e29793413" args="(vtkUnsignedCharArray *colors, int numComp, int numTuples)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a01784.html">vtkUnsignedCharArray</a>* vtkScalarsToColors::ConvertUnsignedCharToRGBA           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01784.html">vtkUnsignedCharArray</a> *&nbsp;</td>
          <td class="paramname"> <em>colors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numComp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numTuples</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>
An internal method used to convert a color array to RGBA. The method instantiates a <a class="el" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> and returns it. The user is responsible for managing the memory. 
</div>
</div><p>
<a class="anchor" name="5d69196de595f9e7d710b0c2fc9b4de4"></a><!-- doxytag: member="vtkScalarsToColors::UsingLogScale" ref="5d69196de595f9e7d710b0c2fc9b4de4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkScalarsToColors::UsingLogScale           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This should return 1 is the subclass is using log scale for mapping scalars to colors. Default implementation returns 0. 
<p>Reimplemented in <a class="el" href="a00980.html#72cf759accd067baee7fc905be7459b9">vtkLookupTable</a>.</p>

<p>Definition at line <a class="el" href="a03919.html#l00170">170</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="0a9439427bf94db934e4602d8dcd722d"></a><!-- doxytag: member="vtkScalarsToColors::Alpha" ref="0a9439427bf94db934e4602d8dcd722d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01513.html#0a9439427bf94db934e4602d8dcd722d">vtkScalarsToColors::Alpha</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03919.html#l00177">177</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="27cf24c9aa63d76552f5627e73eaf22d"></a><!-- doxytag: member="vtkScalarsToColors::VectorMode" ref="27cf24c9aa63d76552f5627e73eaf22d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a01513.html#27cf24c9aa63d76552f5627e73eaf22d">vtkScalarsToColors::VectorMode</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03919.html#l00180">180</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="db42af10cb736f95ca7d9732f9654d99"></a><!-- doxytag: member="vtkScalarsToColors::UseMagnitude" ref="db42af10cb736f95ca7d9732f9654d99" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a01513.html#db42af10cb736f95ca7d9732f9654d99">vtkScalarsToColors::UseMagnitude</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03919.html#l00184">184</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="89dab901fdf36cb8e60be1b652fc4123"></a><!-- doxytag: member="vtkScalarsToColors::VectorComponent" ref="89dab901fdf36cb8e60be1b652fc4123" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a01513.html#89dab901fdf36cb8e60be1b652fc4123">vtkScalarsToColors::VectorComponent</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03919.html#l00185">185</a> of file <a class="el" href="a03919.html">vtkScalarsToColors.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Common/<a class="el" href="a03919.html">vtkScalarsToColors.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:32:43 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>