<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>CutRangeRep.h</h1><a href="CutRangeRep_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 _CutRangeRep_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _CutRangeRep_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="PointRepBase_8h.html" title="hippodraw::PointRepBase class interface">PointRepBase.h</a>"</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="keyword">namespace </span>hippodraw { <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="keyword">class </span>TupleCut; <a name="l00022"></a>00022 <a name="l00029"></a><a class="code" href="classhippodraw_1_1CutRangeRep.html">00029</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1CutRangeRep.html" title="A derived class of PointRepBase class that draws a representation of a cut range...">CutRangeRep</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="l00030"></a>00030 { <a name="l00031"></a>00031 <span class="keyword">private</span>: <a name="l00032"></a>00032 <a name="l00035"></a><a class="code" href="classhippodraw_1_1CutRangeRep.html#ac95d4265e7b9d9368b68706e0c3c702c">00035</a> <span class="keyword">typedef</span> std::vector < TupleCut > <a class="code" href="classhippodraw_1_1CutRangeRep.html#ac95d4265e7b9d9368b68706e0c3c702c" title="The type of container for TupleCut objects.">CutList_t</a>; <a name="l00036"></a>00036 <a name="l00040"></a><a class="code" href="classhippodraw_1_1CutRangeRep.html#a1c2feed36aaa9baed5108683a08333a9">00040</a> <a class="code" href="classhippodraw_1_1CutRangeRep.html#ac95d4265e7b9d9368b68706e0c3c702c" title="The type of container for TupleCut objects.">CutList_t</a> m_cut_list; <a name="l00041"></a>00041 <a name="l00044"></a>00044 <span class="keywordtype">void</span> drawNormalRange ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & x_range, <a name="l00045"></a>00045 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & y_range, <a name="l00046"></a>00046 <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> & tb, <a name="l00047"></a>00047 <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> & view ); <a name="l00048"></a>00048 <a name="l00051"></a>00051 <span class="keywordtype">void</span> drawInvertedRange1D ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & x_range, <a name="l00052"></a>00052 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & y_range, <a name="l00053"></a>00053 <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> & tb, <a name="l00054"></a>00054 <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> & view ); <a name="l00055"></a>00055 <a name="l00058"></a>00058 <span class="keywordtype">void</span> drawInvertedRange2D ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & x_range, <a name="l00059"></a>00059 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & y_range, <a name="l00060"></a>00060 <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> & transform, <a name="l00061"></a>00061 <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> & view ); <a name="l00062"></a>00062 <a name="l00065"></a>00065 <span class="keywordtype">void</span> throwRangeException (); <a name="l00066"></a>00066 <a name="l00067"></a>00067 <span class="keyword">public</span>: <a name="l00068"></a>00068 <a name="l00070"></a>00070 <a class="code" href="classhippodraw_1_1CutRangeRep.html" title="A derived class of PointRepBase class that draws a representation of a cut range...">CutRangeRep</a>( ); <a name="l00071"></a>00071 <a name="l00073"></a>00073 <a class="code" href="classhippodraw_1_1CutRangeRep.html" title="A derived class of PointRepBase class that draws a representation of a cut range...">CutRangeRep</a>( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1CutRangeRep.html" title="A derived class of PointRepBase class that draws a representation of a cut range...">CutRangeRep</a> & point_rep ); <a name="l00074"></a>00074 <a name="l00078"></a>00078 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1CutRangeRep.html" title="A derived class of PointRepBase class that draws a representation of a cut range...">CutRangeRep</a> * <a class="code" href="namespacenum__util.html#a8d145d73a173083711a3829a2bc75f5c">clone</a>(); <a name="l00079"></a>00079 <a name="l00084"></a>00084 <span class="keywordtype">void</span> drawProjectedValues ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & x_range, <a name="l00085"></a>00085 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & y_range, <a name="l00086"></a>00086 <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> & tb, <a name="l00087"></a>00087 <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> & view ); <a name="l00088"></a>00088 <a name="l00089"></a>00089 <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="l00090"></a>00090 <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="l00091"></a>00091 <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view ); <a name="l00092"></a>00092 <a name="l00095"></a>00095 <span class="keyword">const</span> std::vector < TupleCut > & getCuts () <span class="keyword">const</span>; <a name="l00096"></a>00096 <a name="l00099"></a>00099 <span class="keywordtype">void</span> addCut ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> & cut ); <a name="l00100"></a>00100 <a name="l00103"></a>00103 <span class="keywordtype">void</span> setCutRangeAt ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & range, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i ); <a name="l00104"></a>00104 <a name="l00107"></a>00107 <span class="keywordtype">void</span> toggleInverted ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i ); <a name="l00108"></a>00108 <a name="l00111"></a>00111 <span class="keywordtype">void</span> setEnabled ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i, <span class="keywordtype">bool</span> yes ); <a name="l00112"></a>00112 <a name="l00113"></a>00113 }; <a name="l00114"></a>00114 <a name="l00115"></a>00115 } <span class="comment">// namespace hippodraw</span> <a name="l00116"></a>00116 <a name="l00117"></a>00117 <span class="preprocessor">#endif // _CutRangeRep_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>