Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 228

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_e91d7d57230b93275afa36a649c1c346.html">colorreps</a>
  </div>
</div>
<div class="contents">
<h1>BinToColor.h</h1><a href="BinToColor_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span>
<a name="l00002"></a>00002 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef _BinToColor_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _BinToColor_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="Range_8h.html" title="hippodraw::Range class interface">axes/Range.h</a>&quot;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &quot;<a class="code" href="Color_8h.html" title="Color class interface.">graphics/Color.h</a>&quot;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="keyword">namespace </span>hippodraw {
<a name="l00021"></a>00021 
<a name="l00030"></a><a class="code" href="classhippodraw_1_1BinToColor.html">00030</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a>
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 
<a name="l00033"></a>00033  <span class="keyword">protected</span>:
<a name="l00034"></a>00034 
<a name="l00036"></a><a class="code" href="classhippodraw_1_1BinToColor.html#adb41893ba19e889e56c559f25fc1a68a">00036</a>   std::string m_name;
<a name="l00037"></a>00037 
<a name="l00046"></a><a class="code" href="classhippodraw_1_1BinToColor.html#a81832d0db8b53d015516aadc7b13060b">00046</a>   std::vector &lt; double &gt; m_control_points;
<a name="l00047"></a>00047 
<a name="l00050"></a><a class="code" href="classhippodraw_1_1BinToColor.html#ae9fd181c15aa94a45d97274d011e7b26">00050</a>   <span class="keywordtype">double</span> m_dv;
<a name="l00051"></a>00051 
<a name="l00054"></a><a class="code" href="classhippodraw_1_1BinToColor.html#a48e433b9625c7e774073dce89c270905">00054</a>   <span class="keywordtype">double</span>  m_vmin;
<a name="l00055"></a>00055 
<a name="l00058"></a>00058   <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> * name );
<a name="l00059"></a>00059  
<a name="l00062"></a>00062   <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> ( <span class="keyword">const</span> std::string &amp;);
<a name="l00063"></a>00063 
<a name="l00064"></a>00064  <span class="keyword">public</span>:
<a name="l00065"></a>00065 
<a name="l00067"></a>00067   <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> &amp; bin_to_color );
<a name="l00068"></a>00068 
<a name="l00070"></a>00070   <span class="keyword">virtual</span> ~<a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a>();
<a name="l00071"></a>00071 
<a name="l00073"></a>00073   <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> * <a class="code" href="namespacenum__util.html#a8d145d73a173083711a3829a2bc75f5c">clone</a> () <span class="keyword">const</span> = 0;
<a name="l00074"></a>00074 
<a name="l00077"></a>00077   <span class="keyword">const</span> std::string &amp; name () <span class="keyword">const</span>;
<a name="l00078"></a>00078 
<a name="l00080"></a>00080   <span class="keywordtype">void</span> setRange( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> &amp; r );
<a name="l00081"></a>00081 
<a name="l00084"></a>00084   <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> getRange () <span class="keyword">const</span>;
<a name="l00085"></a>00085 
<a name="l00089"></a>00089   <span class="keyword">virtual</span> <span class="keywordtype">void</span> doubleToColor ( <span class="keywordtype">double</span> value, <a class="code" href="classhippodraw_1_1Color.html" title="A Color class for creating the color object following the standard RGB color space...">Color</a> &amp; color ) <span class="keyword">const</span> = 0;
<a name="l00090"></a>00090 
<a name="l00095"></a>00095   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasControlPoints () <span class="keyword">const</span>;
<a name="l00096"></a>00096 
<a name="l00102"></a>00102   <span class="keyword">const</span> std::vector &lt; double &gt; &amp; getControlPoints () <span class="keyword">const</span>;
<a name="l00103"></a>00103 
<a name="l00107"></a>00107   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setControlPoints ( <span class="keyword">const</span> std::vector &lt; double &gt; &amp; points );
<a name="l00108"></a>00108 
<a name="l00114"></a>00114   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isUserDefined () <span class="keyword">const</span>;
<a name="l00115"></a>00115 
<a name="l00121"></a>00121   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> acceptChangeColor () <span class="keyword">const</span>;
<a name="l00122"></a>00122 
<a name="l00123"></a>00123 };
<a name="l00124"></a>00124 
<a name="l00125"></a>00125 } <span class="comment">// namespace hippodraw</span>
<a name="l00126"></a>00126 
<a name="l00127"></a>00127 <span class="preprocessor">#endif // _BinToColor_H_</span>
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>