Sophie

Sophie

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

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_6dcc65b7c74f97460af44109581e51d3.html">reps</a>
  </div>
</div>
<div class="contents">
<h1>ColorBoxPointRep.h</h1><a href="ColorBoxPointRep_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 _ColorBoxPointRep_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _ColorBoxPointRep_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="PointRepBase_8h.html" title="hippodraw::PointRepBase class interface">PointRepBase.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">class </span>BinaryTransform;
<a name="l00020"></a>00020 <span class="keyword">class </span>PeriodicBinaryTransform;
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="keyword">namespace </span>hippodraw {
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="keyword">class </span>BinToColor;
<a name="l00025"></a>00025 
<a name="l00037"></a><a class="code" href="classhippodraw_1_1ColorBoxPointRep.html">00037</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1ColorBoxPointRep.html" title="A PointRep class that draws a colored box to represent the value.">ColorBoxPointRep</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1PointRepBase.html" title="The base class for the point representation hierarchy.">PointRepBase</a>
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 <span class="keyword">private</span>:
<a name="l00040"></a>00040 
<a name="l00043"></a><a class="code" href="classhippodraw_1_1ColorBoxPointRep.html#af6ee8b4728924aae2186f96d4ca8c1c6">00043</a>   <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> * m_bin_to_color;
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 
<a name="l00047"></a>00047   <span class="keyword">static</span> <span class="keywordtype">void</span> rotate ( <span class="keywordtype">double</span> &amp; lat, <span class="keywordtype">double</span> &amp; lon,
<a name="l00048"></a>00048                        <span class="keywordtype">double</span> alpha, <span class="keywordtype">double</span> beta, <span class="keywordtype">double</span> gamma, <span class="keywordtype">bool</span> negative=<span class="keyword">true</span>);
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 
<a name="l00052"></a><a class="code" href="classhippodraw_1_1ColorBoxPointRep.html#a83d55f7a8f730f479c333d80ca07e447">00052</a>   <span class="keywordtype">bool</span> m_need_background;
<a name="l00053"></a>00053 
<a name="l00055"></a><a class="code" href="classhippodraw_1_1ColorBoxPointRep.html#a8e33650f069f777557e51153e1d413d3">00055</a>   <span class="keywordtype">bool</span> m_box_edge;
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="keyword">public</span>:
<a name="l00058"></a>00058 
<a name="l00060"></a>00060   <a class="code" href="classhippodraw_1_1ColorBoxPointRep.html" title="A PointRep class that draws a colored box to represent the value.">ColorBoxPointRep</a>( );
<a name="l00061"></a>00061 
<a name="l00063"></a>00063   <a class="code" href="classhippodraw_1_1ColorBoxPointRep.html" title="A PointRep class that draws a colored box to represent the value.">ColorBoxPointRep</a>( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1ColorBoxPointRep.html" title="A PointRep class that draws a colored box to represent the value.">ColorBoxPointRep</a> &amp; point_rep );
<a name="l00064"></a>00064 
<a name="l00066"></a>00066   ~<a class="code" href="classhippodraw_1_1ColorBoxPointRep.html" title="A PointRep class that draws a colored box to represent the value.">ColorBoxPointRep</a>();
<a name="l00067"></a>00067 
<a name="l00070"></a>00070   <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1RepBase.html" title="The base class for the point representation hierarchy.">RepBase</a> * <a class="code" href="namespacenum__util.html#a8d145d73a173083711a3829a2bc75f5c">clone</a>();
<a name="l00071"></a>00071 
<a name="l00072"></a>00072   <span class="keyword">virtual</span> <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> * getValueTransform ( ) <span class="keyword">const</span>;
<a name="l00073"></a>00073   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setValueTransform ( <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> * );
<a name="l00074"></a>00074 
<a name="l00075"></a>00075   <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawProjectedValues ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * ntuple,
<a name="l00076"></a>00076                                      <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * transform,
<a name="l00077"></a>00077                                      <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view );
<a name="l00078"></a>00078 
<a name="l00081"></a>00081   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> uses ( <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880" title="A few common colors.">Color::Value</a> ) <span class="keyword">const</span>;
<a name="l00082"></a>00082 
<a name="l00083"></a>00083   <span class="keyword">virtual</span>  <span class="keywordtype">void</span> setBoxEdge( <span class="keywordtype">bool</span> show );
<a name="l00084"></a>00084 
<a name="l00085"></a>00085 };
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 } <span class="comment">// namespace hippodraw</span>
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="preprocessor">#endif // _ColorBoxPointRep_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>