<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>ColumnPointRep.h</h1><a href="ColumnPointRep_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 _ColumnPointRep_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _ColumnPointRep_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="l00032"></a><a class="code" href="classhippodraw_1_1ColumnPointRep.html">00032</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1ColumnPointRep.html" title="A PointRep class that draws a column to represent the value.">ColumnPointRep</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="l00033"></a>00033 { <a name="l00034"></a>00034 <span class="keyword">protected</span>: <a name="l00035"></a>00035 <a name="l00039"></a><a class="code" href="classhippodraw_1_1ColumnPointRep.html#a7d3ac378fc5a1cde555c9a3fdac2523d">00039</a> std::vector< double > m_x; <a name="l00040"></a>00040 <a name="l00044"></a><a class="code" href="classhippodraw_1_1ColumnPointRep.html#a76b3ab311a8436e2124aff4ed63ffdd1">00044</a> std::vector< double > m_y; <a name="l00045"></a>00045 <a name="l00048"></a>00048 <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawValues ( <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view ) <span class="keyword">const</span>; <a name="l00049"></a>00049 <a name="l00050"></a>00050 <span class="keyword">private</span>: <a name="l00051"></a>00051 <a name="l00054"></a><a class="code" href="classhippodraw_1_1ColumnPointRep.html#aa9764ca1ce1312bf25cf40790c3fa284">00054</a> <a class="code" href="namespacehippodraw_1_1Line.html#addb2fa415e015ee482fa2cd9eba96af7" title="Line style constants.">hippodraw::Line::Style</a> m_line_style; <a name="l00055"></a>00055 <a name="l00058"></a><a class="code" href="classhippodraw_1_1ColumnPointRep.html#a4ccd42bda77a1b13b995ac3ccf9d662f">00058</a> <span class="keywordtype">bool</span> m_y_flag; <a name="l00059"></a>00059 <a name="l00061"></a><a class="code" href="classhippodraw_1_1ColumnPointRep.html#a0a8fe56285a72768e14f52cd7d86cbfd">00061</a> <span class="keywordtype">bool</span> m_clear_flag; <a name="l00062"></a>00062 <a name="l00063"></a>00063 <span class="keyword">public</span>: <a name="l00064"></a>00064 <a name="l00066"></a>00066 <a class="code" href="classhippodraw_1_1ColumnPointRep.html" title="A PointRep class that draws a column to represent the value.">ColumnPointRep</a>(); <a name="l00067"></a>00067 <a name="l00069"></a>00069 <a class="code" href="classhippodraw_1_1ColumnPointRep.html" title="A PointRep class that draws a column to represent the value.">ColumnPointRep</a>( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1ColumnPointRep.html" title="A PointRep class that draws a column to represent the value.">ColumnPointRep</a> & point_rep ); <a name="l00070"></a>00070 <a name="l00072"></a>00072 ~<a class="code" href="classhippodraw_1_1ColumnPointRep.html" title="A PointRep class that draws a column to represent the value.">ColumnPointRep</a>(); <a name="l00073"></a>00073 <a name="l00076"></a>00076 <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="l00077"></a>00077 <a name="l00080"></a>00080 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setColor ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Color.html" title="A Color class for creating the color object following the standard RGB color space...">Color</a> & color ); <a name="l00081"></a>00081 <a name="l00084"></a>00084 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setSize ( <span class="keywordtype">float</span> value ); <a name="l00085"></a>00085 <a name="l00088"></a>00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setStyle ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> style ); <a name="l00089"></a>00089 <a name="l00092"></a>00092 <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getStyle ( ) <span class="keyword">const</span>; <a name="l00093"></a>00093 <a name="l00097"></a>00097 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setErrorOn ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">bool</span> yes = <span class="keyword">true</span> ); <a name="l00098"></a>00098 <a name="l00099"></a>00099 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> yError ( ) <span class="keyword">const</span>; <a name="l00100"></a>00100 <a name="l00101"></a>00101 <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="l00102"></a>00102 <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="l00103"></a>00103 <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view ); <a name="l00104"></a>00104 <a name="l00107"></a>00107 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> uses ( <a class="code" href="namespacehippodraw_1_1Line.html#addb2fa415e015ee482fa2cd9eba96af7" title="Line style constants.">hippodraw::Line::Style</a> ) <span class="keyword">const</span>; <a name="l00108"></a>00108 <a name="l00109"></a>00109 <a name="l00110"></a>00110 }; <a name="l00111"></a>00111 <a name="l00112"></a>00112 } <span class="comment">// namespace hippodraw</span> <a name="l00113"></a>00113 <a name="l00114"></a>00114 <span class="preprocessor">#endif // _ColumnPointRep_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>