Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 3326

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ITK: itk::Functor::ScalarToRGBPixelFunctor&lt; TScalar &gt; Class Template Reference</title>
<link href="DoxygenStyle.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">


<!--  Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 -->
<center>
<a href="index.html" class="qindex">Main Page</a>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<a href="pages.html" class="qindex">Concepts</a></center>


<!-- Generated by Doxygen 1.5.9 -->
  <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="namespaceitk_1_1Functor.html">Functor</a>::<a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">ScalarToRGBPixelFunctor</a>
  </div>
<div class="contents">
<h1>itk::Functor::ScalarToRGBPixelFunctor&lt; TScalar &gt; Class Template Reference</h1><!-- doxytag: class="itk::Functor::ScalarToRGBPixelFunctor" --><a class="el" href="namespaceitk_1_1Function.html">Function</a> object which maps a scalar value into an RGB pixel value.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a>&gt;</code>
<p>

<p>
<a href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor-members.html">List of all members.</a><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 unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#87618fbee809b2bf22996993d85c435d">RGBComponentType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1RGBPixel.html">RGBPixel</a><br class="typebreak">
&lt; <a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#87618fbee809b2bf22996993d85c435d">RGBComponentType</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#e58939b6ffb73de8f071d266ae6245b5">RGBPixelType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef TScalar&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#57bf2096a22dc5ae221f69739b1dd464">ScalarType</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1RGBPixel.html">RGBPixelType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#d063569903fe303ec8d95b12c177add0">operator()</a> (const TScalar &amp;) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#65499792ce60964689bb0d87b81038d1">ScalarToRGBPixelFunctor</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#7059d7f0419b875cb21c0e15c10ca227">SetBigEndian</a> ()</td></tr>

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

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

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class TScalar&gt;<br>
 class itk::Functor::ScalarToRGBPixelFunctor&lt; TScalar &gt;</h3>

<a class="el" href="namespaceitk_1_1Function.html">Function</a> object which maps a scalar value into an RGB pixel value. 
<p>
This class is useful for visualizing labeled images which cannot be mapped succefully into grayscale images. Images of unsigned long integers, for example may have too many graylevels to visualize effectively.<p>
The hashing scheme used is designed to spread close scalar values very different colors by using the least significant bits (fastest changing) of the scalar type to determine the color. Because labeled images may typically use sequential values, it is desirable that those values result in easily discernable colors. 
<p>Definition at line <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html#l00042">42</a> of file <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="87618fbee809b2bf22996993d85c435d"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::RGBComponentType" ref="87618fbee809b2bf22996993d85c435d" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned char <a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::<a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#87618fbee809b2bf22996993d85c435d">RGBComponentType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html#l00046">46</a> of file <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e58939b6ffb73de8f071d266ae6245b5"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::RGBPixelType" ref="e58939b6ffb73de8f071d266ae6245b5" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classitk_1_1RGBPixel.html">RGBPixel</a>&lt;<a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#87618fbee809b2bf22996993d85c435d">RGBComponentType</a>&gt; <a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::<a class="el" href="classitk_1_1RGBPixel.html">RGBPixelType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html#l00050">50</a> of file <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="57bf2096a22dc5ae221f69739b1dd464"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::ScalarType" ref="57bf2096a22dc5ae221f69739b1dd464" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef TScalar <a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::<a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html#57bf2096a22dc5ae221f69739b1dd464">ScalarType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html#l00051">51</a> of file <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="65499792ce60964689bb0d87b81038d1"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::ScalarToRGBPixelFunctor" ref="65499792ce60964689bb0d87b81038d1" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::<a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">ScalarToRGBPixelFunctor</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bcf1d8d0cebaa4f6fd8fd64582e10130"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::~ScalarToRGBPixelFunctor" ref="bcf1d8d0cebaa4f6fd8fd64582e10130" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::~<a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">ScalarToRGBPixelFunctor</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html#l00046">46</a> of file <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d063569903fe303ec8d95b12c177add0"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::operator()" ref="d063569903fe303ec8d95b12c177add0" args="(const TScalar &amp;) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1RGBPixel.html">RGBPixelType</a> <a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::operator()           </td>
          <td>(</td>
          <td class="paramtype">const TScalar &amp;&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="7059d7f0419b875cb21c0e15c10ca227"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::SetBigEndian" ref="7059d7f0419b875cb21c0e15c10ca227" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::SetBigEndian           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html#l00059">59</a> of file <a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f6825f060fe33465fe54501681314257"></a><!-- doxytag: member="itk::Functor::ScalarToRGBPixelFunctor::SetLittleEndian" ref="f6825f060fe33465fe54501681314257" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TScalar &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1Functor_1_1ScalarToRGBPixelFunctor.html">itk::Functor::ScalarToRGBPixelFunctor</a>&lt; TScalar &gt;::SetLittleEndian           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="itkScalarToRGBPixelFunctor_8h_source.html">itkScalarToRGBPixelFunctor.h</a></ul>
</div>
<hr><address><small>
Generated at Fri May 8 08:53:41 2009 for ITK  by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img 
src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen"
align="middle" border=0 width=110 height=53>
</a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>