<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_6dcc65b7c74f97460af44109581e51d3.html">reps</a> </div> </div> <div class="contents"> <h1>ErrorBarRep.h</h1><a href="ErrorBarRep_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 _ErrorBarRep_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _ErrorBarRep_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="RepBase_8h.html" title="hippodraw::RepBase class interface">RepBase.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="l00028"></a><a class="code" href="classhippodraw_1_1ErrorBarRep.html">00028</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1ErrorBarRep.html" title="A rep to draw error bars, owned by point reps.">ErrorBarRep</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1RepBase.html" title="The base class for the point representation hierarchy.">RepBase</a> <a name="l00029"></a>00029 { <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="keyword">private</span>: <a name="l00032"></a>00032 <a name="l00034"></a><a class="code" href="classhippodraw_1_1ErrorBarRep.html#a0f2c5fdf0a88d6b2cd2d017b21b8096c">00034</a> std::vector< double > m_x_err; <a name="l00035"></a>00035 <a name="l00037"></a><a class="code" href="classhippodraw_1_1ErrorBarRep.html#a96b725a47d784dd9dee9a608b57ee81e">00037</a> std::vector< double > m_y_err; <a name="l00038"></a>00038 <a name="l00041"></a><a class="code" href="classhippodraw_1_1ErrorBarRep.html#abef5690fcbd119e1d21e1c3fb029b710">00041</a> <span class="keywordtype">bool</span> m_x_flag; <a name="l00042"></a>00042 <a name="l00045"></a><a class="code" href="classhippodraw_1_1ErrorBarRep.html#a4ccd42bda77a1b13b995ac3ccf9d662f">00045</a> <span class="keywordtype">bool</span> m_y_flag; <a name="l00046"></a>00046 <a name="l00048"></a><a class="code" href="classhippodraw_1_1ErrorBarRep.html#abedd9e4d36b29623422f6834c95d0fcd">00048</a> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> m_x_range; <a name="l00049"></a>00049 <a name="l00051"></a><a class="code" href="classhippodraw_1_1ErrorBarRep.html#a47a24e0919ab61b0776d358f254fe1ec">00051</a> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> m_y_range; <a name="l00052"></a>00052 <a name="l00053"></a>00053 <a name="l00056"></a>00056 <span class="keywordtype">void</span> drawXError ( <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> error, <a name="l00057"></a>00057 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> & t ); <a name="l00058"></a>00058 <a name="l00061"></a>00061 <span class="keywordtype">void</span> drawYError ( <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> error, <a name="l00062"></a>00062 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> & t ); <a name="l00063"></a>00063 <a name="l00064"></a>00064 <span class="keyword">public</span>: <a name="l00065"></a>00065 <a name="l00070"></a>00070 <a class="code" href="classhippodraw_1_1ErrorBarRep.html" title="A rep to draw error bars, owned by point reps.">ErrorBarRep</a> ( ); <a name="l00071"></a>00071 <a name="l00072"></a>00072 <span class="comment">// Take the default copy constructor</span> <a name="l00073"></a>00073 <span class="comment">// ErrorBarRep ( const ErrorBarRep & point_rep );</span> <a name="l00074"></a>00074 <a name="l00076"></a>00076 ~<a class="code" href="classhippodraw_1_1ErrorBarRep.html" title="A rep to draw error bars, owned by point reps.">ErrorBarRep</a>(); <a name="l00077"></a>00077 <a name="l00080"></a>00080 <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="l00081"></a>00081 <a name="l00083"></a>00083 <span class="keywordtype">void</span> setXError ( <span class="keywordtype">bool</span> ); <a name="l00084"></a>00084 <a name="l00086"></a>00086 <span class="keywordtype">void</span> setYError ( <span class="keywordtype">bool</span> ); <a name="l00087"></a>00087 <a name="l00088"></a>00088 <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="l00089"></a>00089 <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="l00090"></a>00090 <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view ); <a name="l00091"></a>00091 <a name="l00092"></a>00092 <span class="keyword">private</span>: <a name="l00093"></a>00093 <a name="l00096"></a>00096 <span class="keywordtype">void</span> getRanges ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view ); <a name="l00097"></a>00097 <a name="l00098"></a>00098 }; <a name="l00099"></a>00099 <a name="l00100"></a>00100 } <span class="comment">// namespace hippodraw</span> <a name="l00101"></a>00101 <a name="l00102"></a>00102 <span class="preprocessor">#endif // _ErrorBarRep_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>