<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_d1aed8900ec9d9a2c165e57f18bd6f10.html">axes</a> </div> </div> <div class="contents"> <h1>AxisModelLinear.h</h1><a href="AxisModelLinear_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="l00013"></a>00013 <span class="preprocessor">#ifndef _AxisModelLinear_H_</span> <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define _AxisModelLinear_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span> <a name="l00016"></a>00016 <span class="preprocessor">#include "<a class="code" href="AxisModelBase_8h.html" title="hippodraw::AxisModelBase class interface">AxisModelBase.h</a>"</span> <a name="l00017"></a>00017 <a name="l00018"></a>00018 <span class="keyword">namespace </span>hippodraw { <a name="l00019"></a>00019 <a name="l00027"></a><a class="code" href="classhippodraw_1_1AxisModelLinear.html">00027</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1AxisModelLinear.html" title="Given a range, calculates a model for an axis with a linear scale.">AxisModelLinear</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> <a name="l00028"></a>00028 { <a name="l00029"></a>00029 <span class="keyword">public</span>: <a name="l00030"></a>00030 <a name="l00033"></a>00033 <a class="code" href="classhippodraw_1_1AxisModelLinear.html" title="Given a range, calculates a model for an axis with a linear scale.">AxisModelLinear</a> ( <a class="code" href="AxisLoc_8h.html#a9b53735ee323795d625bf1a39a5c3407" title="The base class for the binner hierarchy.">AxisLoc</a> label, <a class="code" href="AxisLoc_8h.html#a9b53735ee323795d625bf1a39a5c3407" title="The base class for the binner hierarchy.">AxisLoc</a> scale ); <a name="l00034"></a>00034 <a name="l00037"></a>00037 <a class="code" href="classhippodraw_1_1AxisModelLinear.html" title="Given a range, calculates a model for an axis with a linear scale.">AxisModelLinear</a>( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> & axis_model ); <a name="l00038"></a>00038 <a name="l00040"></a>00040 ~<a class="code" href="classhippodraw_1_1AxisModelLinear.html" title="Given a range, calculates a model for an axis with a linear scale.">AxisModelLinear</a>(); <a name="l00041"></a>00041 <a name="l00044"></a>00044 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> * <a class="code" href="namespacenum__util.html#a8d145d73a173083711a3829a2bc75f5c">clone</a>() <span class="keyword">const</span>; <a name="l00045"></a>00045 <a name="l00046"></a>00046 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> needPMag () <span class="keyword">const</span>; <a name="l00047"></a>00047 <a name="l00049"></a>00049 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLog() <span class="keyword">const</span>; <a name="l00050"></a>00050 <a name="l00053"></a>00053 <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> & adjustValues ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & ); <a name="l00054"></a>00054 <a name="l00056"></a>00056 <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> & adjustLogValues(); <a name="l00057"></a>00057 <a name="l00058"></a>00058 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> calcLow ( <span class="keywordtype">int</span> parm, <span class="keywordtype">bool</span> dragging = <span class="keyword">false</span> ); <a name="l00059"></a>00059 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> calcHigh ( <span class="keywordtype">int</span> parm, <span class="keywordtype">bool</span> dragging = <span class="keyword">false</span> ); <a name="l00060"></a>00060 <a name="l00061"></a>00061 }; <a name="l00062"></a>00062 <a name="l00063"></a>00063 } <span class="comment">// namespace hippodraw</span> <a name="l00064"></a>00064 <a name="l00065"></a>00065 <span class="preprocessor">#endif // _AxisModelLinear_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>