<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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_58b38df2e31e2ca35feeee31429c3534.html">projectors</a> </div> </div> <div class="contents"> <h1>Hist2DProjImp.h</h1><a href="Hist2DProjImp_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 _Hist2DProjImp_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _Hist2DProjImp_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="BinningProjector_8h.html" title="hippodraw::BinningProjector class interface">BinningProjector.h</a>"</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="Range_8h.html" title="hippodraw::Range class interface">axes/Range.h</a>"</span> <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="keyword">namespace </span>hippodraw { <a name="l00022"></a>00022 <a name="l00033"></a><a class="code" href="classhippodraw_1_1Hist2DProjImp.html">00033</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1Hist2DProjImp.html" title="A derived class of BinningProjector projects to a two dimensional histogram.">Hist2DProjImp</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1BinningProjector.html" title="The BinningProjector is an abstract class provides most of the functionality for...">BinningProjector</a> <a name="l00034"></a>00034 { <a name="l00035"></a>00035 <a name="l00036"></a>00036 <span class="keyword">private</span>: <a name="l00037"></a>00037 <a name="l00039"></a><a class="code" href="classhippodraw_1_1Hist2DProjImp.html#aa7c2ad747c5d73f3a0848617f5f99beb">00039</a> std::string m_z_label_entries; <a name="l00040"></a>00040 <a name="l00042"></a><a class="code" href="classhippodraw_1_1Hist2DProjImp.html#a9a66e1cbb1e9755f6d85c1155543027d">00042</a> std::string m_z_label_density; <a name="l00043"></a>00043 <a name="l00045"></a><a class="code" href="classhippodraw_1_1Hist2DProjImp.html#a76bd6c407599246f6a0bea8273f4b354">00045</a> <span class="keyword">mutable</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> m_value_range; <a name="l00046"></a>00046 <a name="l00047"></a>00047 <span class="keyword">protected</span>: <a name="l00048"></a>00048 <a name="l00050"></a>00050 <a class="code" href="classhippodraw_1_1Hist2DProjImp.html" title="A derived class of BinningProjector projects to a two dimensional histogram.">Hist2DProjImp</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Hist2DProjImp.html" title="A derived class of BinningProjector projects to a two dimensional histogram.">Hist2DProjImp</a> & projector ); <a name="l00051"></a>00051 <a name="l00055"></a>00055 <span class="keyword">virtual</span> <span class="keywordtype">void</span> checkScaling (); <a name="l00056"></a>00056 <a name="l00058"></a>00058 <span class="keywordtype">void</span> setZLabel(); <a name="l00059"></a>00059 <a name="l00061"></a>00061 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addPointReps (); <a name="l00062"></a>00062 <a name="l00065"></a>00065 <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> dataRangeOnValue () <span class="keyword">const</span>; <a name="l00066"></a>00066 <a name="l00069"></a>00069 <span class="keywordtype">double</span> getPosOnValue () <span class="keyword">const</span>; <a name="l00070"></a>00070 <a name="l00071"></a>00071 <span class="keyword">public</span>: <a name="l00072"></a>00072 <a name="l00074"></a>00074 <a class="code" href="classhippodraw_1_1Hist2DProjImp.html" title="A derived class of BinningProjector projects to a two dimensional histogram.">Hist2DProjImp</a>(); <a name="l00075"></a>00075 <a name="l00077"></a>00077 <span class="keyword">virtual</span> ~<a class="code" href="classhippodraw_1_1Hist2DProjImp.html" title="A derived class of BinningProjector projects to a two dimensional histogram.">Hist2DProjImp</a>(); <a name="l00078"></a>00078 <a name="l00082"></a>00082 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> valueRange() <span class="keyword">const</span>; <a name="l00083"></a>00083 <a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRange( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">bool</span> ); <a name="l00086"></a>00086 <a name="l00087"></a>00087 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> preferredRange ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> ) <span class="keyword">const</span>; <a name="l00088"></a>00088 <a name="l00095"></a>00095 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & setBinWidth ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">double</span> v ); <a name="l00096"></a>00096 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setOffset ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">double</span> v ); <a name="l00097"></a>00097 <a name="l00100"></a>00100 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isValueBinned () <span class="keyword">const</span>; <a name="l00101"></a>00101 <a name="l00103"></a>00103 <span class="keyword">const</span> std::string & getZLabel() <span class="keyword">const</span>; <a name="l00104"></a>00104 <a name="l00106"></a>00106 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasZAxis() <span class="keyword">const</span>; <a name="l00107"></a>00107 <a name="l00110"></a>00110 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> wantsScaleFactor ( <span class="keyword">const</span> std::string & axis ) <span class="keyword">const</span>; <a name="l00111"></a>00111 <a name="l00112"></a>00112 }; <a name="l00113"></a>00113 <a name="l00114"></a>00114 } <span class="comment">// namespace hippodraw</span> <a name="l00115"></a>00115 <a name="l00116"></a>00116 <span class="preprocessor">#endif // _Hist2DProjImp_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>