Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 2283

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_4a8869a1c3a722e926803cb2dc6e642c.html">plotters</a>
  </div>
</div>
<div class="contents">
<h1>XyPlotter.cxx</h1><a href="XyPlotter_8cxx.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00012"></a>00012 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#include &quot;msdevstudio/MSconfig.h&quot;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#endif</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &quot;<a class="code" href="XyPlotter_8h.html" title="hippodraw::XyPlotter class interface">XyPlotter.h</a>&quot;</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="preprocessor">#include &quot;<a class="code" href="CompositePlotter_8h.html" title="hippodraw::CompositePlotter class interface">CompositePlotter.h</a>&quot;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#include &quot;<a class="code" href="AxisModelBase_8h.html" title="hippodraw::AxisModelBase class interface">axes/AxisModelBase.h</a>&quot;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &quot;<a class="code" href="DataRep_8h.html" title="hippodraw::DataRep class interface.">datareps/DataRep.h</a>&quot;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="NTuple_8h.html" title="hippodraw::NTuple class interface.">datasrcs/NTuple.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="TupleCut_8h.html" title="hippodraw::TupleCut class interface">datasrcs/TupleCut.h</a>&quot;</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="ViewBase_8h.html" title="hippodraw::ViewBase class interface">graphics/ViewBase.h</a>&quot;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;<a class="code" href="ProjectorBase_8h.html" title="hippodraw::ProjectorBase class interface.">projectors/ProjectorBase.h</a>&quot;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;<a class="code" href="PeriodicBinaryTransform_8h.html" title="hippodraw::PeriodicBinaryTransform class interface">transforms/PeriodicBinaryTransform.h</a>&quot;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;<a class="code" href="AxisRep2D_8h.html" title="hippodraw::AxisRep2D class interface">reps/AxisRep2D.h</a>&quot;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &quot;<a class="code" href="AxisRepColor_8h.html" title="hippodraw::AxisRepColor class interface">reps/AxisRepColor.h</a>&quot;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;<a class="code" href="RepBase_8h.html" title="hippodraw::RepBase class interface">reps/RepBase.h</a>&quot;</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;cassert&gt;</span>
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="preprocessor">#ifdef ITERATOR_MEMBER_DEFECT</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="keyword">using namespace </span>std;
<a name="l00037"></a>00037 <span class="preprocessor">#else</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="keyword">using</span> std::list;
<a name="l00039"></a>00039 <span class="keyword">using</span> std::string;
<a name="l00040"></a>00040 <span class="keyword">using</span> std::vector;
<a name="l00041"></a>00041 <span class="preprocessor">#endif</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a>00043 <span class="keyword">using namespace </span>hippodraw;
<a name="l00044"></a>00044 
<a name="l00045"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ad6b810e4bc5a488e8c0b4b9c33e4fcc7">00045</a> XyPlotter::XyPlotter (  <span class="keyword">const</span> std::string &amp; name  )
<a name="l00046"></a>00046   : <a class="code" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy.">PlotterBase</a> ( name )
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> = <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> ();
<a name="l00049"></a>00049   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.push_back ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> );
<a name="l00050"></a>00050   <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> = <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1AxisRep2D.html" title="The class for the 2D axes drawing.">AxisRep2D</a> ();
<a name="l00051"></a>00051   <a class="code" href="classhippodraw_1_1XyPlotter.html#af81e7dd35d6e1a6eb2910b5e5b8d17e6" title="Flag to indicate if the view size of the plot can be changed.">view_change_allowed</a> = <span class="keyword">true</span>;
<a name="l00052"></a>00052 
<a name="l00053"></a>00053   <a class="code" href="classhippodraw_1_1XyPlotter.html#aaf057a90c0e3f5e2805ae21f77d3f23b" title="Additional margin set by user in the plotter.">m_margin_top</a> = 0.0;
<a name="l00054"></a>00054   <a class="code" href="classhippodraw_1_1XyPlotter.html#a64977ed4ec1562731ad54e8ba997a3d1">m_margin_bottom</a> = 0.0;
<a name="l00055"></a>00055   <a class="code" href="classhippodraw_1_1XyPlotter.html#afbc56590339313005b110bbbe469fc69">m_margin_left</a> = 0.0;
<a name="l00056"></a>00056   <a class="code" href="classhippodraw_1_1XyPlotter.html#aef13c61110a8a03bc9275574f66f282e">m_margin_z</a> = 0.0;
<a name="l00057"></a>00057 
<a name="l00058"></a>00058   <a class="code" href="classhippodraw_1_1XyPlotter.html#a898250c4f703358cb79ee3b909d347f0" title="Default shape for XyPlotter is 360*180 or 256*256.">m_hammer_shape</a>.reserve(3);
<a name="l00059"></a>00059   <a class="code" href="classhippodraw_1_1XyPlotter.html#a898250c4f703358cb79ee3b909d347f0" title="Default shape for XyPlotter is 360*180 or 256*256.">m_hammer_shape</a>.push_back(360);
<a name="l00060"></a>00060   <a class="code" href="classhippodraw_1_1XyPlotter.html#a898250c4f703358cb79ee3b909d347f0" title="Default shape for XyPlotter is 360*180 or 256*256.">m_hammer_shape</a>.push_back(180);
<a name="l00061"></a>00061   <a class="code" href="classhippodraw_1_1XyPlotter.html#a898250c4f703358cb79ee3b909d347f0" title="Default shape for XyPlotter is 360*180 or 256*256.">m_hammer_shape</a>.push_back(2);
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 
<a name="l00064"></a>00064   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5da36aa2c0d3f2692b57e94db9822de8">m_lambert_shape</a>.reserve(3);
<a name="l00065"></a>00065   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5da36aa2c0d3f2692b57e94db9822de8">m_lambert_shape</a>.push_back(256);
<a name="l00066"></a>00066   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5da36aa2c0d3f2692b57e94db9822de8">m_lambert_shape</a>.push_back(256);
<a name="l00067"></a>00067   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5da36aa2c0d3f2692b57e94db9822de8">m_lambert_shape</a>.push_back(2);
<a name="l00068"></a>00068   
<a name="l00069"></a>00069   <a class="code" href="classhippodraw_1_1XyPlotter.html#a59459d49213fb017601d883c948067a6" title="Flag to indicat that the drawrect and marginrect need to be updated.">m_need_update</a> = <span class="keyword">false</span>;
<a name="l00070"></a>00070 }
<a name="l00071"></a>00071 
<a name="l00072"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a91e078bc746b9f92da3d5bbb8b761605">00072</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ad6b810e4bc5a488e8c0b4b9c33e4fcc7" title="The default constructor.">XyPlotter::XyPlotter</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1XyPlotter.html" title="A Plotter class that plots points in 2 dimensions and option a third dimension in...">XyPlotter</a> &amp; plotter )
<a name="l00073"></a>00073   : <a class="code" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy.">PlotterBase</a> ( plotter )
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a62e4ad0bd8430cb77896170749953f2a" title="The clone function returns an object of its own kind which is a copy of this object...">clone</a> ();
<a name="l00076"></a>00076   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.push_back ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> );
<a name="l00077"></a>00077   <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> = <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1AxisRep2D.html" title="The class for the 2D axes drawing.">AxisRep2D</a> ();
<a name="l00078"></a>00078   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; setAllAxisModels ();
<a name="l00079"></a>00079   <a class="code" href="classhippodraw_1_1XyPlotter.html#af81e7dd35d6e1a6eb2910b5e5b8d17e6" title="Flag to indicate if the view size of the plot can be changed.">view_change_allowed</a> = <span class="keyword">true</span>;
<a name="l00080"></a>00080 
<a name="l00081"></a>00081   <a class="code" href="classhippodraw_1_1XyPlotter.html#aaf057a90c0e3f5e2805ae21f77d3f23b" title="Additional margin set by user in the plotter.">m_margin_top</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#aaf057a90c0e3f5e2805ae21f77d3f23b" title="Additional margin set by user in the plotter.">m_margin_top</a>;
<a name="l00082"></a>00082   <a class="code" href="classhippodraw_1_1XyPlotter.html#a64977ed4ec1562731ad54e8ba997a3d1">m_margin_bottom</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#a64977ed4ec1562731ad54e8ba997a3d1">m_margin_bottom</a>;
<a name="l00083"></a>00083   <a class="code" href="classhippodraw_1_1XyPlotter.html#afbc56590339313005b110bbbe469fc69">m_margin_left</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#afbc56590339313005b110bbbe469fc69">m_margin_left</a>;
<a name="l00084"></a>00084   <a class="code" href="classhippodraw_1_1XyPlotter.html#aef13c61110a8a03bc9275574f66f282e">m_margin_z</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#aef13c61110a8a03bc9275574f66f282e">m_margin_z</a>;
<a name="l00085"></a>00085 
<a name="l00086"></a>00086   <a class="code" href="classhippodraw_1_1XyPlotter.html#a898250c4f703358cb79ee3b909d347f0" title="Default shape for XyPlotter is 360*180 or 256*256.">m_hammer_shape</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#a898250c4f703358cb79ee3b909d347f0" title="Default shape for XyPlotter is 360*180 or 256*256.">m_hammer_shape</a>;
<a name="l00087"></a>00087   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5da36aa2c0d3f2692b57e94db9822de8">m_lambert_shape</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#a5da36aa2c0d3f2692b57e94db9822de8">m_lambert_shape</a>;
<a name="l00088"></a>00088 
<a name="l00089"></a>00089   <a class="code" href="classhippodraw_1_1XyPlotter.html#a59459d49213fb017601d883c948067a6" title="Flag to indicat that the drawrect and marginrect need to be updated.">m_need_update</a> = plotter.<a class="code" href="classhippodraw_1_1XyPlotter.html#a59459d49213fb017601d883c948067a6" title="Flag to indicat that the drawrect and marginrect need to be updated.">m_need_update</a>;
<a name="l00090"></a>00090 }
<a name="l00091"></a>00091 
<a name="l00092"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a4b6336959739c52f1daea22765504ba8">00092</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b6336959739c52f1daea22765504ba8" title="The destructor.">XyPlotter::~XyPlotter</a>()
<a name="l00093"></a>00093 {
<a name="l00094"></a>00094   PlotterList_t ::iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin();
<a name="l00095"></a>00095   <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> * model = (*first) -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4380b8cb65adc1511aec737d5a0366c7" title="Returns the AxisModelBase derived class for the specified axis.">getAxisModel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">Axes::X</a> );
<a name="l00096"></a>00096   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00097"></a>00097     <span class="keyword">delete</span> *first++;
<a name="l00098"></a>00098   }
<a name="l00099"></a>00099   <span class="keyword">delete</span> model;
<a name="l00100"></a>00100   <span class="keyword">delete</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a>;
<a name="l00101"></a>00101 }
<a name="l00102"></a>00102 
<a name="l00103"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a62e4ad0bd8430cb77896170749953f2a">00103</a> <a class="code" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy.">PlotterBase</a> * <a class="code" href="classhippodraw_1_1XyPlotter.html#a62e4ad0bd8430cb77896170749953f2a" title="The clone function returns an object of its own kind which is a copy of this object...">XyPlotter::clone</a>()
<a name="l00104"></a>00104 {
<a name="l00105"></a>00105   <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#ad6b810e4bc5a488e8c0b4b9c33e4fcc7" title="The default constructor.">XyPlotter</a>( *<span class="keyword">this</span> );
<a name="l00106"></a>00106 }
<a name="l00107"></a>00107 
<a name="l00108"></a>00108 <span class="keywordtype">void</span>
<a name="l00109"></a>00109 <a class="code" href="classhippodraw_1_1XyPlotter.html#a98fd3a4a3a62abbfbd5a202a553b0c28" title="Checks if auto scaling is required and does an auto scale on contained plotters as...">XyPlotter::</a>
<a name="l00110"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a98fd3a4a3a62abbfbd5a202a553b0c28">00110</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a98fd3a4a3a62abbfbd5a202a553b0c28" title="Checks if auto scaling is required and does an auto scale on contained plotters as...">checkAutoScale</a> ()
<a name="l00111"></a>00111 {
<a name="l00112"></a>00112   PlotterList_t::size_type <a class="code" href="namespacenum__util.html#a137f48a49d12a7dae8ba7c86db2a0c01">size</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.size ();
<a name="l00113"></a>00113 
<a name="l00114"></a>00114   <span class="keywordtype">bool</span> yes = <span class="keyword">false</span>;
<a name="l00115"></a>00115   <span class="keywordflow">for</span> ( PlotterList_t::size_type i = 0; i &lt; size; i++ ) {
<a name="l00116"></a>00116     <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a> [ i ];
<a name="l00117"></a>00117     <span class="keywordtype">bool</span> y = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a98fd3a4a3a62abbfbd5a202a553b0c28" title="Checks if auto scaling is required and does an auto scale on contained plotters as...">checkAutoScale</a> ();
<a name="l00118"></a>00118     yes |= y;
<a name="l00119"></a>00119   }
<a name="l00120"></a>00120 
<a name="l00121"></a>00121   <span class="keywordflow">if</span> ( yes ) {
<a name="l00122"></a>00122     <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.front ();
<a name="l00123"></a>00123     <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> * model = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4380b8cb65adc1511aec737d5a0366c7" title="Returns the AxisModelBase derived class for the specified axis.">getAxisModel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">Axes::X</a> );
<a name="l00124"></a>00124     model -&gt; setEmpty ();
<a name="l00125"></a>00125     <span class="keywordflow">for</span> ( PlotterList_t::size_type i = 0; i &lt; size; i++ ) {
<a name="l00126"></a>00126       plotter = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a> [ i ];
<a name="l00127"></a>00127       plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">autoScale</a> ( model, <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">Axes::X</a> );
<a name="l00128"></a>00128       plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">autoScale</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a5596231eabd6cf29050967d5ac83ad84" title="Y axis.">Axes::Y</a> );
<a name="l00129"></a>00129       <span class="keywordflow">if</span> ( plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a0d9e4bd8bdbab8f6b817cb804da4db7a" title="Returns true if the plotter has an axis of specified type.">hasAxis</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">Axes::Z</a> ) &amp;&amp;
<a name="l00130"></a>00130            plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ab8491ab85e69b66a4b15eb134e232448" title="Returns true if auto-ranging is enabled, otherwise returns false.">isAutoRanging</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">Axes::Z</a> ) ) {
<a name="l00131"></a>00131         plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">autoScale</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">Axes::Z</a> );
<a name="l00132"></a>00132       }
<a name="l00133"></a>00133       plotter -&gt; setAutoScaled (  <span class="keyword">true</span> );
<a name="l00134"></a>00134     }
<a name="l00135"></a>00135   }
<a name="l00136"></a>00136 }
<a name="l00137"></a>00137 
<a name="l00138"></a>00138 <span class="keywordtype">void</span>
<a name="l00139"></a>00139 <a class="code" href="classhippodraw_1_1XyPlotter.html#aec8619ce99343c1d1f5da36ede61fbec" title="Prepares for drawing.">XyPlotter::</a>
<a name="l00140"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aec8619ce99343c1d1f5da36ede61fbec">00140</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aec8619ce99343c1d1f5da36ede61fbec" title="Prepares for drawing.">prepareToDraw</a> ( )
<a name="l00141"></a>00141 {
<a name="l00142"></a>00142   <a class="code" href="classhippodraw_1_1XyPlotter.html#a98fd3a4a3a62abbfbd5a202a553b0c28" title="Checks if auto scaling is required and does an auto scale on contained plotters as...">checkAutoScale</a> ();
<a name="l00143"></a>00143 
<a name="l00144"></a>00144   PlotterList_t::size_type <a class="code" href="namespacenum__util.html#a137f48a49d12a7dae8ba7c86db2a0c01">size</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.size ();
<a name="l00145"></a>00145 
<a name="l00146"></a>00146   <span class="keywordflow">for</span> ( PlotterList_t::size_type i = 0; i &lt; size; i++ ) {
<a name="l00147"></a>00147     <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a> [ i ];
<a name="l00148"></a>00148     <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aec8619ce99343c1d1f5da36ede61fbec" title="Prepares for drawing.">prepareToDraw</a> ();
<a name="l00149"></a>00149   }
<a name="l00150"></a>00150 }
<a name="l00151"></a>00151 
<a name="l00152"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ad81fbda38c94508013ff5aa951a815ea">00152</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#ad81fbda38c94508013ff5aa951a815ea" title="Starts the drawing in view view.">XyPlotter::drawIn</a> ( <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view )
<a name="l00153"></a>00153 {
<a name="l00154"></a>00154   <span class="comment">// m_need_update is set by inspector. update the draw rect of the view. </span>
<a name="l00155"></a>00155   <span class="keywordflow">if</span> (<a class="code" href="classhippodraw_1_1XyPlotter.html#a59459d49213fb017601d883c948067a6" title="Flag to indicat that the drawrect and marginrect need to be updated.">m_need_update</a>) {
<a name="l00156"></a>00156     view-&gt;<a class="code" href="classhippodraw_1_1ViewBase.html#a99b750f9db95d9b46b2d5e8824d5a33f" title="Update the drawing Rectangle in the devices coordinate system.">updateDrawRect</a>();
<a name="l00157"></a>00157     <a class="code" href="classhippodraw_1_1XyPlotter.html#a59459d49213fb017601d883c948067a6" title="Flag to indicat that the drawrect and marginrect need to be updated.">m_need_update</a> = <span class="keyword">false</span>;
<a name="l00158"></a>00158   }
<a name="l00159"></a>00159 
<a name="l00160"></a>00160   <span class="comment">// Draw values before drawing axis.</span>
<a name="l00161"></a>00161   <a class="code" href="classhippodraw_1_1XyPlotter.html#a1046674b222298546ce869dfbb186f86" title="Draws the projected values.">drawProjValues</a> ( view );
<a name="l00162"></a>00162 
<a name="l00163"></a>00163   <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a>-&gt;<a class="code" href="classhippodraw_1_1AxisRepBase.html#a6e70c150193b74615808df2aabfafbed" title="Every class which draws has its beginPlot function.">beginPlot</a> ( *view );
<a name="l00164"></a>00164   <span class="keywordtype">bool</span> do_y = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.size() == 1;
<a name="l00165"></a>00165   <span class="keywordflow">if</span> ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> &gt;= 0 ) do_y |= <span class="keyword">true</span>;
<a name="l00166"></a>00166   <a class="code" href="classhippodraw_1_1PlotterBase.html#a8cb35b14d5cda79027198edf1a164d78" title="The abstract data space.">m_user_rect</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; calcUserRectangle ();
<a name="l00167"></a>00167   <a class="code" href="classhippodraw_1_1PlotterBase.html#a0b290432870ee08bb488c05ad46e86f8" title="The raw rectangle before transform.">m_raw_rect</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; calcRawRectangle();
<a name="l00168"></a>00168 
<a name="l00169"></a>00169   <span class="comment">/* Draws last because it uses a larger font. */</span>
<a name="l00170"></a>00170   <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a>-&gt;<a class="code" href="classhippodraw_1_1AxisRepBase.html#a23fc2659ca12567bf4196c1c680cf89e" title="Draws the title.">drawTitle</a>( *view, ( <a class="code" href="classhippodraw_1_1PlotterBase.html#a85b5b28ec973f933b9ed1328f2756def" title="The main label; the title of the plot.">m_title</a> == <span class="stringliteral">&quot;%t&quot;</span> ) ?
<a name="l00171"></a>00171                          <a class="code" href="classhippodraw_1_1PlotterBase.html#a5c6c10f52e919ac9799a63f799c44760" title="Gets the title to be displayed.">getTitle</a> () : <a class="code" href="classhippodraw_1_1PlotterBase.html#a85b5b28ec973f933b9ed1328f2756def" title="The main label; the title of the plot.">m_title</a> );
<a name="l00172"></a>00172 
<a name="l00173"></a>00173   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; drawAxisRep ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a>, view, do_y, <span class="keyword">true</span> );
<a name="l00174"></a>00174 
<a name="l00175"></a>00175 
<a name="l00176"></a>00176 }
<a name="l00177"></a>00177 
<a name="l00178"></a>00178 <span class="keywordtype">void</span>
<a name="l00179"></a>00179 <a class="code" href="classhippodraw_1_1XyPlotter.html#a95940c7f2c0013c99ac25bf10da30447" title="Draws cross-hairs.">XyPlotter::</a>
<a name="l00180"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a95940c7f2c0013c99ac25bf10da30447">00180</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a95940c7f2c0013c99ac25bf10da30447" title="Draws cross-hairs.">drawCrossHairs</a> ( <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view )
<a name="l00181"></a>00181 {
<a name="l00182"></a>00182   <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * transform = <a class="code" href="classhippodraw_1_1XyPlotter.html#a6f6cfd143891cd8d5b814b11e350011a" title="Returns the transform object used by the plotter.">getTransform</a> ();
<a name="l00183"></a>00183 
<a name="l00184"></a>00184   <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a>-&gt;<a class="code" href="classhippodraw_1_1AxisRepBase.html#ae9d149455fcf9e48a4af9a0d3abef142" title="Draws the cross hairs after transformation.">drawCrossHairs</a> ( <a class="code" href="classhippodraw_1_1PlotterBase.html#a97668bf26e3751e6e7c30ef2b55a972f" title="The x position of the cross hair.">m_crossX</a>, <a class="code" href="classhippodraw_1_1PlotterBase.html#a50d630e092b37fd1d799301aaad6a550" title="The y position of the cross hair.">m_crossY</a>, *transform, *view );
<a name="l00185"></a>00185 }
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 <a class="code" href="classhippodraw_1_1NTuple.html" title="A DataSource class implemented with std::vector&amp;lt;double&amp;gt; to store the column...">NTuple</a> *
<a name="l00188"></a>00188 <a class="code" href="classhippodraw_1_1XyPlotter.html#a68e4ca34a0c4aa4d4eeaa0e521fe6386" title="Creates an DataSource representation of the plotted data.">XyPlotter::</a>
<a name="l00189"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a68e4ca34a0c4aa4d4eeaa0e521fe6386">00189</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a68e4ca34a0c4aa4d4eeaa0e521fe6386" title="Creates an DataSource representation of the plotted data.">createNTuple</a> ()<span class="keyword"> const</span>
<a name="l00190"></a>00190 <span class="keyword"></span>{
<a name="l00191"></a>00191   <a class="code" href="classhippodraw_1_1NTuple.html" title="A DataSource class implemented with std::vector&amp;lt;double&amp;gt; to store the column...">NTuple</a> * ntuple = <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a68e4ca34a0c4aa4d4eeaa0e521fe6386" title="Creates an DataSource representation of the plotted data.">createNTuple</a> ();
<a name="l00192"></a>00192 
<a name="l00193"></a>00193   <span class="keyword">const</span> <span class="keywordtype">string</span> &amp; label_x = <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4e1c99a43c56d2b631cea4f039c8f91" title="Returns the label for the specified axis.">getLabel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">Axes::X</a> );
<a name="l00194"></a>00194   ntuple -&gt; setLabelAt ( label_x, 0 );
<a name="l00195"></a>00195   <span class="keywordflow">if</span> ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a0d9e4bd8bdbab8f6b817cb804da4db7a" title="Returns true if the plotter has an axis of specified type.">hasAxis</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">Axes::Z</a> ) ) {
<a name="l00196"></a>00196     <span class="keyword">const</span> <span class="keywordtype">string</span> &amp; label_y = <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4e1c99a43c56d2b631cea4f039c8f91" title="Returns the label for the specified axis.">getLabel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a5596231eabd6cf29050967d5ac83ad84" title="Y axis.">Axes::Y</a> );
<a name="l00197"></a>00197     ntuple -&gt; setLabelAt ( label_y, 1 );
<a name="l00198"></a>00198     <span class="keyword">const</span> <span class="keywordtype">string</span> &amp; label_z = <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4e1c99a43c56d2b631cea4f039c8f91" title="Returns the label for the specified axis.">getLabel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">Axes::Z</a> );
<a name="l00199"></a>00199     ntuple -&gt; setLabelAt ( label_z, 2 );
<a name="l00200"></a>00200   }
<a name="l00201"></a>00201   <span class="keywordflow">else</span> {
<a name="l00202"></a>00202     <a class="code" href="classhippodraw_1_1ProjectorBase.html" title="The base class for the Projector hierarchy.">ProjectorBase</a> * projector = <a class="code" href="classhippodraw_1_1XyPlotter.html#ad21611548a8b5dc96d82032aa4a886e1" title="Returns the active projector.">activeProjector</a> ();
<a name="l00203"></a>00203     <span class="keyword">const</span> <span class="keywordtype">string</span> &amp; label_y = projector -&gt; getYLabel ( <span class="keyword">true</span> );
<a name="l00204"></a>00204     ntuple -&gt; setLabelAt ( label_y, 1 );
<a name="l00205"></a>00205   }
<a name="l00206"></a>00206   <span class="keywordflow">return</span> ntuple;
<a name="l00207"></a>00207 }
<a name="l00208"></a>00208 
<a name="l00209"></a>00209 <span class="keywordtype">bool</span>
<a name="l00210"></a>00210 <a class="code" href="classhippodraw_1_1XyPlotter.html#ac8f11cf756d29fbe26657e1bbeb7f7a5" title="Returns true.">XyPlotter::</a>
<a name="l00211"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ac8f11cf756d29fbe26657e1bbeb7f7a5">00211</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ac8f11cf756d29fbe26657e1bbeb7f7a5" title="Returns true.">wantsPixmap</a> ( )<span class="keyword"> const</span>
<a name="l00212"></a>00212 <span class="keyword"></span>{
<a name="l00213"></a>00213   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a0d9e4bd8bdbab8f6b817cb804da4db7a" title="Returns true if the plotter has an axis of specified type.">hasAxis</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">Axes::Z</a> );
<a name="l00214"></a>00214 }
<a name="l00215"></a>00215 
<a name="l00216"></a>00216 <span class="keywordtype">void</span>
<a name="l00217"></a>00217 <a class="code" href="classhippodraw_1_1XyPlotter.html#a04cd59885508cb37663b54c844bd97ae" title="Sets the display of the Z axis on.">XyPlotter::</a>
<a name="l00218"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a04cd59885508cb37663b54c844bd97ae">00218</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a04cd59885508cb37663b54c844bd97ae" title="Sets the display of the Z axis on.">setEnableZ</a> ( <span class="keywordtype">bool</span> yes )
<a name="l00219"></a>00219 {
<a name="l00220"></a>00220   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a04cd59885508cb37663b54c844bd97ae" title="Sets the display of the Z axis on.">setEnableZ</a> ( yes );
<a name="l00221"></a>00221 
<a name="l00222"></a>00222   assert ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> );
<a name="l00223"></a>00223   <span class="keyword">delete</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a>;
<a name="l00224"></a>00224   <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> = <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1AxisRepColor.html" title="The class for the 2D axes drawing with color.">AxisRepColor</a> ();
<a name="l00225"></a>00225 }
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 <span class="keywordtype">void</span>
<a name="l00228"></a>00228 <a class="code" href="classhippodraw_1_1XyPlotter.html#a7d032ee09fe35149db972589e0ebd4c4" title="Set the font to be used to override the default while drawing axis label.">XyPlotter::</a>
<a name="l00229"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a7d032ee09fe35149db972589e0ebd4c4">00229</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a7d032ee09fe35149db972589e0ebd4c4" title="Set the font to be used to override the default while drawing axis label.">setLabelFont</a> ( <a class="code" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a>* font, <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axes )
<a name="l00230"></a>00230 {
<a name="l00231"></a>00231   <span class="keywordflow">if</span>( axes == <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">hippodraw::Axes::X</a> )
<a name="l00232"></a>00232     <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; setXLabelFont( font );
<a name="l00233"></a>00233   <span class="keywordflow">else</span> <span class="keywordflow">if</span>( axes == <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a5596231eabd6cf29050967d5ac83ad84" title="Y axis.">hippodraw::Axes::Y</a> )
<a name="l00234"></a>00234     <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; setYLabelFont( font );
<a name="l00235"></a>00235   <span class="keywordflow">else</span> <span class="keywordflow">if</span>( axes == <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">hippodraw::Axes::Z</a> )
<a name="l00236"></a>00236     <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; setZLabelFont( font );
<a name="l00237"></a>00237 }
<a name="l00238"></a>00238 
<a name="l00239"></a>00239 <a class="code" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a>*
<a name="l00240"></a>00240 <a class="code" href="classhippodraw_1_1XyPlotter.html#afc1ccf4fead69ae3ef56a0228871ab65" title="What font is being used to override the default while drawing axis label.">XyPlotter::</a>
<a name="l00241"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#afc1ccf4fead69ae3ef56a0228871ab65">00241</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#afc1ccf4fead69ae3ef56a0228871ab65" title="What font is being used to override the default while drawing axis label.">labelFont</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axes )<span class="keyword"> const</span>
<a name="l00242"></a>00242 <span class="keyword"></span>{
<a name="l00243"></a>00243   <span class="keywordflow">if</span>( axes == <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">hippodraw::Axes::X</a> )
<a name="l00244"></a>00244     <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; xLabelFont();
<a name="l00245"></a>00245   <span class="keywordflow">else</span> <span class="keywordflow">if</span>( axes == <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a5596231eabd6cf29050967d5ac83ad84" title="Y axis.">hippodraw::Axes::Y</a> )
<a name="l00246"></a>00246     <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; yLabelFont();
<a name="l00247"></a>00247   <span class="keywordflow">else</span> <span class="keywordflow">if</span>( axes == <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7aa70478ce277ffc322f8e1e3418e07355" title="Z axis.">hippodraw::Axes::Z</a> )
<a name="l00248"></a>00248     <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; zLabelFont();
<a name="l00249"></a>00249 
<a name="l00250"></a>00250   <span class="keywordflow">return</span> 0;
<a name="l00251"></a>00251 }
<a name="l00252"></a>00252 
<a name="l00253"></a>00253 
<a name="l00254"></a>00254 <span class="keywordtype">void</span>
<a name="l00255"></a>00255 <a class="code" href="classhippodraw_1_1XyPlotter.html#afc0083c6e938d254d54ebbd74ff45a31" title="Set the font to be used to override the default while drawing title.">XyPlotter::</a>
<a name="l00256"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#afc0083c6e938d254d54ebbd74ff45a31">00256</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#afc0083c6e938d254d54ebbd74ff45a31" title="Set the font to be used to override the default while drawing title.">setTitleFont</a>( <a class="code" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a>* font )
<a name="l00257"></a>00257 {
<a name="l00258"></a>00258   <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#afc0083c6e938d254d54ebbd74ff45a31" title="Set the font to be used to override the default while drawing title.">setTitleFont</a>( font );
<a name="l00259"></a>00259 }
<a name="l00260"></a>00260         
<a name="l00261"></a>00261 
<a name="l00262"></a>00262 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> *
<a name="l00263"></a>00263 <a class="code" href="classhippodraw_1_1XyPlotter.html#a26fff3ef0bc60d9b870b8bdd49bfaeb9" title="What font is being used to override the default while drawing title of plot.">XyPlotter::</a>
<a name="l00264"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a26fff3ef0bc60d9b870b8bdd49bfaeb9">00264</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a26fff3ef0bc60d9b870b8bdd49bfaeb9" title="What font is being used to override the default while drawing title of plot.">titleFont</a>( )<span class="keyword"> const</span>
<a name="l00265"></a>00265 <span class="keyword"></span>{
<a name="l00266"></a>00266   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2860de1b00357d2134f742761d89d494" title="The axes model graphical representation.">m_axis_rep</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a26fff3ef0bc60d9b870b8bdd49bfaeb9" title="What font is being used to override the default while drawing title of plot.">titleFont</a>();
<a name="l00267"></a>00267 }
<a name="l00268"></a>00268 
<a name="l00269"></a>00269 <span class="keywordtype">void</span>
<a name="l00270"></a>00270 <a class="code" href="classhippodraw_1_1XyPlotter.html#a4d512360c330999c76f53a88c9896634" title="Sets the active plot.">XyPlotter::</a>
<a name="l00271"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a4d512360c330999c76f53a88c9896634">00271</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a4d512360c330999c76f53a88c9896634" title="Sets the active plot.">setActivePlot</a> ( <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> redraw )
<a name="l00272"></a>00272 {
<a name="l00273"></a>00273   <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> = index;
<a name="l00274"></a>00274   <span class="keywordtype">bool</span> done = <span class="keyword">false</span>;
<a name="l00275"></a>00275   PlotterList_t::iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin();
<a name="l00276"></a>00276   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00277"></a>00277     <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00278"></a>00278     <span class="keywordflow">if</span> ( index &lt; 0 ) {
<a name="l00279"></a>00279       plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4d512360c330999c76f53a88c9896634" title="Sets the active plot.">setActivePlot</a> ( -1, redraw );
<a name="l00280"></a>00280       <span class="keywordflow">continue</span>;
<a name="l00281"></a>00281     }
<a name="l00282"></a>00282     <span class="keywordflow">else</span> {
<a name="l00283"></a>00283       <span class="keywordtype">int</span> num = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ();
<a name="l00284"></a>00284       <span class="keywordflow">if</span> ( index &lt; num &amp;&amp; 
<a name="l00285"></a>00285            done == <span class="keyword">false</span> ) {
<a name="l00286"></a>00286         plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4d512360c330999c76f53a88c9896634" title="Sets the active plot.">setActivePlot</a> ( index, redraw );
<a name="l00287"></a>00287         <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> = plotter;
<a name="l00288"></a>00288         done = <span class="keyword">true</span>;
<a name="l00289"></a>00289       }
<a name="l00290"></a>00290       <span class="keywordflow">else</span> {
<a name="l00291"></a>00291         plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4d512360c330999c76f53a88c9896634" title="Sets the active plot.">setActivePlot</a> ( -2, redraw );
<a name="l00292"></a>00292         index -= num;
<a name="l00293"></a>00293       }
<a name="l00294"></a>00294     }
<a name="l00295"></a>00295   }
<a name="l00296"></a>00296 
<a name="l00297"></a>00297 }
<a name="l00298"></a>00298 
<a name="l00299"></a>00299 <span class="keywordtype">int</span>
<a name="l00300"></a>00300 <a class="code" href="classhippodraw_1_1XyPlotter.html#af17d91d1b3039f791a5045d18386944d" title="Returns the index of the active DataRep object.">XyPlotter::</a>
<a name="l00301"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#af17d91d1b3039f791a5045d18386944d">00301</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#af17d91d1b3039f791a5045d18386944d" title="Returns the index of the active DataRep object.">activePlotIndex</a> ()<span class="keyword"> const</span>
<a name="l00302"></a>00302 <span class="keyword"></span>{
<a name="l00303"></a>00303   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a>;
<a name="l00304"></a>00304 }
<a name="l00305"></a>00305 
<a name="l00306"></a>00306 <span class="keywordtype">void</span>
<a name="l00307"></a>00307 <a class="code" href="classhippodraw_1_1XyPlotter.html#a3f6282f04deb4b8117d58c43e0658650" title="Adds the DataRep object to the plotter.">XyPlotter::</a>
<a name="l00308"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a3f6282f04deb4b8117d58c43e0658650">00308</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a3f6282f04deb4b8117d58c43e0658650" title="Adds the DataRep object to the plotter.">addDataRep</a> ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep )
<a name="l00309"></a>00309 {
<a name="l00310"></a>00310   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a3f6282f04deb4b8117d58c43e0658650" title="Adds the DataRep object to the plotter.">addDataRep</a> ( rep );
<a name="l00311"></a>00311   rep -&gt; <a class="code" href="classhippodraw_1_1Observable.html#a935717d80cde1bfe272cd0c5e256ee7b" title="Adds an Observer to the Observer list.">addObserver</a> ( <span class="keyword">this</span> );
<a name="l00312"></a>00312 
<a name="l00313"></a>00313   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> number = <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ();
<a name="l00314"></a>00314   <span class="keywordflow">if</span> ( number == 1 ) {
<a name="l00315"></a>00315     <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> = 0;
<a name="l00316"></a>00316   }
<a name="l00317"></a>00317   <span class="keywordflow">else</span> {
<a name="l00318"></a>00318     <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> = -1;
<a name="l00319"></a>00319   }
<a name="l00320"></a>00320   <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">autoScale</a> ();
<a name="l00321"></a>00321 
<a name="l00322"></a>00322   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00323"></a>00323 }
<a name="l00324"></a>00324 
<a name="l00325"></a>00325 <span class="keywordtype">void</span>
<a name="l00326"></a>00326 <a class="code" href="classhippodraw_1_1XyPlotter.html#aa65d0fde4282d13281f3a11d35ec75f7" title="Adds the DataRep object to the plotter.">XyPlotter::</a>
<a name="l00327"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aa65d0fde4282d13281f3a11d35ec75f7">00327</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aa65d0fde4282d13281f3a11d35ec75f7" title="Adds the DataRep object to the plotter.">addDataRepStacked</a> ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep )
<a name="l00328"></a>00328 {
<a name="l00329"></a>00329   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> = <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> ();
<a name="l00330"></a>00330   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.push_back ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> );
<a name="l00331"></a>00331   <a class="code" href="classhippodraw_1_1XyPlotter.html#a3f6282f04deb4b8117d58c43e0658650" title="Adds the DataRep object to the plotter.">addDataRep</a> ( rep );
<a name="l00332"></a>00332 
<a name="l00333"></a>00333   <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.front ();
<a name="l00334"></a>00334   <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> * model = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4380b8cb65adc1511aec737d5a0366c7" title="Returns the AxisModelBase derived class for the specified axis.">getAxisModel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">Axes::X</a> );
<a name="l00335"></a>00335   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#acee0bde3eb632973deec04bc2fc53435" title="Sets the AxisModel on the specified axis.">setAxisModel</a> ( model, <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7a58833a3110c570fb05130d40c365d1e4" title="X axis.">Axes::X</a> );
<a name="l00336"></a>00336 
<a name="l00337"></a>00337   <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> = -1;
<a name="l00338"></a>00338 
<a name="l00339"></a>00339   <a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b" title="Sets the auto-ranging status for all axes to flag.">setAutoRanging</a> ( <span class="keyword">true</span> );
<a name="l00340"></a>00340   <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">autoScale</a> ();
<a name="l00341"></a>00341 
<a name="l00342"></a>00342   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00343"></a>00343 }
<a name="l00344"></a>00344 
<a name="l00345"></a>00345 <span class="keywordtype">void</span>
<a name="l00346"></a>00346 <a class="code" href="classhippodraw_1_1XyPlotter.html#af4bc9fadfafa309e8bc3d2005d7a7647" title="Removes the DataRep object from the plotter.">XyPlotter::</a>
<a name="l00347"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#af4bc9fadfafa309e8bc3d2005d7a7647">00347</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#af4bc9fadfafa309e8bc3d2005d7a7647" title="Removes the DataRep object from the plotter.">removeDataRep</a> ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep )
<a name="l00348"></a>00348 {
<a name="l00349"></a>00349   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#af4bc9fadfafa309e8bc3d2005d7a7647" title="Removes the DataRep object from the plotter.">removeDataRep</a> ( rep );
<a name="l00350"></a>00350   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00351"></a>00351 }
<a name="l00352"></a>00352 
<a name="l00353"></a>00353 <span class="keywordtype">void</span>
<a name="l00354"></a>00354 <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">XyPlotter::</a>
<a name="l00355"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb">00355</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">autoScale</a> ()
<a name="l00356"></a>00356 {
<a name="l00357"></a>00357   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a1f831891fb89a83d0cb560cc5877e2bb" title="Sets the Range on each axis that has the auto range flag set to include all the data...">autoScale</a> ();
<a name="l00358"></a>00358   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00359"></a>00359 }
<a name="l00360"></a>00360 
<a name="l00361"></a>00361 <span class="keywordtype">void</span>
<a name="l00362"></a>00362 <a class="code" href="classhippodraw_1_1XyPlotter.html#ae1217432c5c19ab98a3ebdc3b778c78c" title="Sets the object that will do the value to color transform, if any.">XyPlotter::</a>
<a name="l00363"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ae1217432c5c19ab98a3ebdc3b778c78c">00363</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ae1217432c5c19ab98a3ebdc3b778c78c" title="Sets the object that will do the value to color transform, if any.">setValueRep</a> ( <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> * rep )
<a name="l00364"></a>00364 {
<a name="l00365"></a>00365   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ae1217432c5c19ab98a3ebdc3b778c78c" title="Sets the object that will do the value to color transform, if any.">setValueRep</a> ( rep );
<a name="l00366"></a>00366   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00367"></a>00367 }
<a name="l00368"></a>00368 
<a name="l00369"></a>00369 <span class="keywordtype">void</span>
<a name="l00370"></a>00370 <a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b" title="Sets the auto-ranging status for all axes to flag.">XyPlotter::</a>
<a name="l00371"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b">00371</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b" title="Sets the auto-ranging status for all axes to flag.">setAutoRanging</a> ( <span class="keywordtype">bool</span> flag )
<a name="l00372"></a>00372 {
<a name="l00373"></a>00373   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b" title="Sets the auto-ranging status for all axes to flag.">setAutoRanging</a> ( flag );
<a name="l00374"></a>00374   <span class="keywordflow">if</span> ( flag == <span class="keyword">true</span> ) <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00375"></a>00375 }
<a name="l00376"></a>00376 
<a name="l00377"></a>00377 <span class="keywordtype">void</span>
<a name="l00378"></a>00378 <a class="code" href="classhippodraw_1_1XyPlotter.html#a39813a74a7f39f4ddd149727f703d962" title="Sets the reverse status for the X axis to flag.">XyPlotter::</a>
<a name="l00379"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a39813a74a7f39f4ddd149727f703d962">00379</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a39813a74a7f39f4ddd149727f703d962" title="Sets the reverse status for the X axis to flag.">setReverse</a> ( <span class="keywordtype">bool</span> flag )
<a name="l00380"></a>00380 {
<a name="l00381"></a>00381   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a39813a74a7f39f4ddd149727f703d962" title="Sets the reverse status for the X axis to flag.">setReverse</a> ( flag );
<a name="l00382"></a>00382   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00383"></a>00383 }
<a name="l00384"></a>00384 
<a name="l00385"></a>00385 
<a name="l00386"></a>00386 <span class="keywordtype">void</span>
<a name="l00387"></a>00387 <a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b" title="Sets the auto-ranging status for all axes to flag.">XyPlotter::</a>
<a name="l00388"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#af716fc112a02a08771ad20838fe7e95a">00388</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b" title="Sets the auto-ranging status for all axes to flag.">setAutoRanging</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">bool</span> flag )
<a name="l00389"></a>00389 {
<a name="l00390"></a>00390   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a7114611a60723148eed3039fb515811b" title="Sets the auto-ranging status for all axes to flag.">setAutoRanging</a> ( axis, flag );
<a name="l00391"></a>00391   <span class="keywordflow">if</span> ( flag == <span class="keyword">true</span> ) <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00392"></a>00392 }
<a name="l00393"></a>00393 
<a name="l00394"></a>00394 <span class="keywordtype">void</span>
<a name="l00395"></a>00395 <a class="code" href="classhippodraw_1_1XyPlotter.html#a78b74f631dc0bb20ca4cc13a38530046" title="Sets the transform object and redraws.">XyPlotter::</a>
<a name="l00396"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a78b74f631dc0bb20ca4cc13a38530046">00396</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a78b74f631dc0bb20ca4cc13a38530046" title="Sets the transform object and redraws.">setTransform</a> ( <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="l00397"></a>00397 {
<a name="l00398"></a>00398   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a78b74f631dc0bb20ca4cc13a38530046" title="Sets the transform object and redraws.">setTransform</a> ( transform );
<a name="l00399"></a>00399   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00400"></a>00400 }
<a name="l00401"></a>00401 
<a name="l00402"></a>00402 <a class="code" href="classhippodraw_1_1NTuple.html" title="A DataSource class implemented with std::vector&amp;lt;double&amp;gt; to store the column...">NTuple</a> *
<a name="l00403"></a>00403 <a class="code" href="classhippodraw_1_1XyPlotter.html#af7f9abccb407ab516a8f0bcdea7ff19b" title="Creates a NTuple for a PickTable.">XyPlotter::</a>
<a name="l00404"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#af7f9abccb407ab516a8f0bcdea7ff19b">00404</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#af7f9abccb407ab516a8f0bcdea7ff19b" title="Creates a NTuple for a PickTable.">createPickTuple</a> ()
<a name="l00405"></a>00405 {
<a name="l00406"></a>00406   <a class="code" href="classhippodraw_1_1NTuple.html" title="A DataSource class implemented with std::vector&amp;lt;double&amp;gt; to store the column...">NTuple</a> * ntuple =  <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#af7f9abccb407ab516a8f0bcdea7ff19b" title="Creates a NTuple for a PickTable.">createPickTuple</a> ();
<a name="l00407"></a>00407 
<a name="l00408"></a>00408   <span class="keywordtype">string</span> <a class="code" href="classhippodraw_1_1PlotterBase.html#a11c23a386abb9eb8a42f0c2c2835d640" title="Returns the name of the plotter.">name</a> ( <span class="stringliteral">&quot;Pick table for &quot;</span> );
<a name="l00409"></a>00409   <span class="keyword">const</span> <span class="keywordtype">string</span> &amp; title = <a class="code" href="classhippodraw_1_1PlotterBase.html#a5c6c10f52e919ac9799a63f799c44760" title="Gets the title to be displayed.">getTitle</a> ();
<a name="l00410"></a>00410   name += title;
<a name="l00411"></a>00411   ntuple -&gt; setName ( name );
<a name="l00412"></a>00412   ntuple -&gt; <a class="code" href="classhippodraw_1_1PlotterBase.html#abc79cf0667bbb5c93fca3f01b52c7b57" title="Sets the title to be displayed.">setTitle</a> ( name );
<a name="l00413"></a>00413 
<a name="l00414"></a>00414   <span class="keywordflow">return</span> ntuple;
<a name="l00415"></a>00415 }
<a name="l00416"></a>00416 
<a name="l00417"></a>00417 <span class="keywordtype">void</span>
<a name="l00418"></a>00418 <a class="code" href="classhippodraw_1_1XyPlotter.html#aa49419e9a7975c9772fcdd835531cddf" title="Fills the picked data point.">XyPlotter::</a>
<a name="l00419"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aa49419e9a7975c9772fcdd835531cddf">00419</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aa49419e9a7975c9772fcdd835531cddf" title="Fills the picked data point.">fillPickedPointFrom</a> ( <span class="keywordtype">double</span> mx, <span class="keywordtype">double</span> my, 
<a name="l00420"></a>00420                       std::vector &lt; double &gt; &amp; picked )<span class="keyword"> const</span>
<a name="l00421"></a>00421 <span class="keyword"></span>{
<a name="l00422"></a>00422   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; fillPickedPoint ( mx, my, picked );
<a name="l00423"></a>00423 }
<a name="l00424"></a>00424 
<a name="l00425"></a>00425 <span class="keywordtype">void</span>
<a name="l00426"></a>00426 <a class="code" href="classhippodraw_1_1XyPlotter.html#a8f99313cde7a3c2ffbfa0cf5bdf6c864" title="Sets the low end of the Range of data displayed.">XyPlotter::</a>
<a name="l00427"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a8f99313cde7a3c2ffbfa0cf5bdf6c864">00427</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a8f99313cde7a3c2ffbfa0cf5bdf6c864" title="Sets the low end of the Range of data displayed.">setLowRange</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a>  <a class="code" href="namespacenum__util.html#af7e893a8c6a5f6a426480fc85cda4fa1">type</a>,
<a name="l00428"></a>00428               <span class="keywordtype">int</span> parm, <span class="keywordtype">bool</span> dragging )
<a name="l00429"></a>00429 {
<a name="l00430"></a>00430   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a8f99313cde7a3c2ffbfa0cf5bdf6c864" title="Sets the low end of the Range of data displayed.">setLowRange</a> ( type, parm, dragging );
<a name="l00431"></a>00431   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00432"></a>00432 }
<a name="l00433"></a>00433 
<a name="l00434"></a>00434 <span class="keywordtype">void</span>
<a name="l00435"></a>00435 <a class="code" href="classhippodraw_1_1XyPlotter.html#a0de191cc0a8dd007b14edd64fb173d1f" title="Sets the high end of the Range of data displayed.">XyPlotter::</a>
<a name="l00436"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a0de191cc0a8dd007b14edd64fb173d1f">00436</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a0de191cc0a8dd007b14edd64fb173d1f" title="Sets the high end of the Range of data displayed.">setHighRange</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> <a class="code" href="namespacenum__util.html#af7e893a8c6a5f6a426480fc85cda4fa1">type</a>,
<a name="l00437"></a>00437                <span class="keywordtype">int</span> parm, <span class="keywordtype">bool</span> dragging )
<a name="l00438"></a>00438 {
<a name="l00439"></a>00439   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a0de191cc0a8dd007b14edd64fb173d1f" title="Sets the high end of the Range of data displayed.">setHighRange</a> ( type, parm, dragging );
<a name="l00440"></a>00440   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00441"></a>00441 }
<a name="l00442"></a>00442 
<a name="l00443"></a>00443 <span class="keywordtype">void</span>
<a name="l00444"></a>00444 <a class="code" href="classhippodraw_1_1XyPlotter.html#a2dc89fead71976cbd30cb283e97eeadf" title="Sets the scaling attribute of the AxisModelBase object.">XyPlotter::</a>
<a name="l00445"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a2dc89fead71976cbd30cb283e97eeadf">00445</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2dc89fead71976cbd30cb283e97eeadf" title="Sets the scaling attribute of the AxisModelBase object.">setScaling</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">bool</span> on )
<a name="l00446"></a>00446 {
<a name="l00447"></a>00447   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a2dc89fead71976cbd30cb283e97eeadf" title="Sets the scaling attribute of the AxisModelBase object.">setScaling</a> ( axis, on );
<a name="l00448"></a>00448   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00449"></a>00449 }
<a name="l00450"></a>00450 
<a name="l00451"></a>00451 <span class="keywordtype">double</span>
<a name="l00452"></a>00452 <a class="code" href="classhippodraw_1_1XyPlotter.html#a92b295524262e25d2f5ae55a22ac3c87" title="Returns the aspect ratio.">XyPlotter::</a>
<a name="l00453"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a92b295524262e25d2f5ae55a22ac3c87">00453</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a92b295524262e25d2f5ae55a22ac3c87" title="Returns the aspect ratio.">getAspectRatio</a> ()<span class="keyword"> const</span>
<a name="l00454"></a>00454 <span class="keyword"></span>{
<a name="l00455"></a>00455   <span class="keywordtype">double</span> ratio = <a class="code" href="classhippodraw_1_1PlotterBase.html#ad84d23b5a05e55058568b441e66eee59" title="The aspect ratio.">m_aspect_ratio</a>;
<a name="l00456"></a>00456   PlotterList_t::size_type <a class="code" href="namespacenum__util.html#a137f48a49d12a7dae8ba7c86db2a0c01">size</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.size ();
<a name="l00457"></a>00457   <span class="keywordflow">if</span> ( ratio == 0.0 ) {
<a name="l00458"></a>00458     <span class="keywordflow">for</span> ( PlotterList_t::size_type i = 0; i &lt; size; i++ ) {
<a name="l00459"></a>00459       <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a> [ i ];
<a name="l00460"></a>00460       <span class="keywordtype">double</span> r = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a92b295524262e25d2f5ae55a22ac3c87" title="Returns the aspect ratio.">getAspectRatio</a> ();
<a name="l00461"></a>00461 
<a name="l00462"></a>00462       <span class="keywordflow">if</span> ( r != 0.0 ) {
<a name="l00463"></a>00463         ratio = r;
<a name="l00464"></a>00464         <span class="keywordflow">break</span>;
<a name="l00465"></a>00465       }
<a name="l00466"></a>00466     }
<a name="l00467"></a>00467   }
<a name="l00468"></a>00468 
<a name="l00469"></a>00469   <span class="keywordflow">return</span> ratio;
<a name="l00470"></a>00470 }
<a name="l00471"></a>00471 
<a name="l00472"></a>00472 <span class="keywordtype">void</span>
<a name="l00473"></a>00473 <a class="code" href="classhippodraw_1_1XyPlotter.html#ac5c54df7ed3b930268c8d7752c101725" title="Updates the plotter.">XyPlotter::</a>
<a name="l00474"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ac5c54df7ed3b930268c8d7752c101725">00474</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ac5c54df7ed3b930268c8d7752c101725" title="Updates the plotter.">update</a> ()
<a name="l00475"></a>00475 {
<a name="l00476"></a>00476   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ac5c54df7ed3b930268c8d7752c101725" title="Updates the plotter.">update</a> ();
<a name="l00477"></a>00477 }
<a name="l00478"></a>00478 
<a name="l00479"></a>00479 <span class="keywordtype">void</span>
<a name="l00480"></a>00480 <a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef8422610021dfc48f172392cee432a" title="Sets the representation.">XyPlotter::</a>
<a name="l00481"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef8422610021dfc48f172392cee432a">00481</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef8422610021dfc48f172392cee432a" title="Sets the representation.">setRepresentation</a> ( <a class="code" href="classhippodraw_1_1RepBase.html" title="The base class for the point representation hierarchy.">RepBase</a> * rep )
<a name="l00482"></a>00482 {
<a name="l00483"></a>00483   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef8422610021dfc48f172392cee432a" title="Sets the representation.">setRepresentation</a> ( rep );
<a name="l00484"></a>00484 }
<a name="l00485"></a>00485 
<a name="l00486"></a>00486 <a class="code" href="classhippodraw_1_1RepBase.html" title="The base class for the point representation hierarchy.">RepBase</a> *
<a name="l00487"></a>00487 <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4725f011a8b3d69168621a683bc3526" title="Returns the representation used by the plotter.">XyPlotter::</a>
<a name="l00488"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aa4725f011a8b3d69168621a683bc3526">00488</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4725f011a8b3d69168621a683bc3526" title="Returns the representation used by the plotter.">representation</a> ()<span class="keyword"> const</span>
<a name="l00489"></a>00489 <span class="keyword"></span>{
<a name="l00490"></a>00490   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4725f011a8b3d69168621a683bc3526" title="Returns the representation used by the plotter.">representation</a> ();
<a name="l00491"></a>00491 }
<a name="l00492"></a>00492 
<a name="l00493"></a>00493 <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> *
<a name="l00494"></a>00494 <a class="code" href="classhippodraw_1_1XyPlotter.html#a4380b8cb65adc1511aec737d5a0366c7" title="Returns the AxisModelBase derived class for the specified axis.">XyPlotter::</a>
<a name="l00495"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a4380b8cb65adc1511aec737d5a0366c7">00495</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a4380b8cb65adc1511aec737d5a0366c7" title="Returns the AxisModelBase derived class for the specified axis.">getAxisModel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00496"></a>00496 <span class="keyword"></span>{
<a name="l00497"></a>00497   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4380b8cb65adc1511aec737d5a0366c7" title="Returns the AxisModelBase derived class for the specified axis.">getAxisModel</a> ( axis );
<a name="l00498"></a>00498 }
<a name="l00499"></a>00499 
<a name="l00500"></a>00500 <span class="keywordtype">void</span>
<a name="l00501"></a>00501 <a class="code" href="classhippodraw_1_1XyPlotter.html#acee0bde3eb632973deec04bc2fc53435" title="Sets the AxisModel on the specified axis.">XyPlotter::</a>
<a name="l00502"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#acee0bde3eb632973deec04bc2fc53435">00502</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#acee0bde3eb632973deec04bc2fc53435" title="Sets the AxisModel on the specified axis.">setAxisModel</a> ( <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> * model, <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )
<a name="l00503"></a>00503 {
<a name="l00504"></a>00504   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#acee0bde3eb632973deec04bc2fc53435" title="Sets the AxisModel on the specified axis.">setAxisModel</a> ( model, axis );
<a name="l00505"></a>00505 }
<a name="l00506"></a>00506 
<a name="l00507"></a>00507 <span class="keywordtype">void</span>
<a name="l00508"></a>00508 <a class="code" href="classhippodraw_1_1XyPlotter.html#a41def2e9cbc6b5be5674c5666e8d7593" title="Sets the display of the error bars on or off.">XyPlotter::</a>
<a name="l00509"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a41def2e9cbc6b5be5674c5666e8d7593">00509</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a41def2e9cbc6b5be5674c5666e8d7593" title="Sets the display of the error bars on or off.">setErrorDisplay</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">bool</span> yes )
<a name="l00510"></a>00510 {
<a name="l00511"></a>00511   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a41def2e9cbc6b5be5674c5666e8d7593" title="Sets the display of the error bars on or off.">setErrorDisplay</a> ( axis, yes );
<a name="l00512"></a>00512 }
<a name="l00513"></a>00513 
<a name="l00514"></a>00514 <span class="keywordtype">bool</span>
<a name="l00515"></a>00515 <a class="code" href="classhippodraw_1_1XyPlotter.html#abdbb06436fbe743c4a98c0aa81201a1f" title="Returns the state of error bar display on specified axis.">XyPlotter::</a>
<a name="l00516"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#abdbb06436fbe743c4a98c0aa81201a1f">00516</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#abdbb06436fbe743c4a98c0aa81201a1f" title="Returns the state of error bar display on specified axis.">errorDisplay</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00517"></a>00517 <span class="keyword"></span>{
<a name="l00518"></a>00518   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#abdbb06436fbe743c4a98c0aa81201a1f" title="Returns the state of error bar display on specified axis.">errorDisplay</a> ( axis );
<a name="l00519"></a>00519 }
<a name="l00520"></a>00520 
<a name="l00521"></a>00521 <span class="keywordtype">void</span>
<a name="l00522"></a>00522 <a class="code" href="classhippodraw_1_1XyPlotter.html#ab6ac85edb978c2ec1253028e606d539d" title="Sets the representation&amp;#39;s color.">XyPlotter::</a>
<a name="l00523"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ab6ac85edb978c2ec1253028e606d539d">00523</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ab6ac85edb978c2ec1253028e606d539d" title="Sets the representation&amp;#39;s color.">setRepColor</a> ( <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> &amp; color )
<a name="l00524"></a>00524 {
<a name="l00525"></a>00525   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ab6ac85edb978c2ec1253028e606d539d" title="Sets the representation&amp;#39;s color.">setRepColor</a> ( color );
<a name="l00526"></a>00526 }
<a name="l00527"></a>00527 
<a name="l00528"></a>00528 <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> &amp;
<a name="l00529"></a>00529 <a class="code" href="classhippodraw_1_1XyPlotter.html#a58c024c8fd78de08608756b0b3af2a18" title="Returns the color used for the representation.">XyPlotter::</a>
<a name="l00530"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a58c024c8fd78de08608756b0b3af2a18">00530</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a58c024c8fd78de08608756b0b3af2a18" title="Returns the color used for the representation.">repColor</a> ()<span class="keyword"> const</span>
<a name="l00531"></a>00531 <span class="keyword"></span>{
<a name="l00532"></a>00532   <span class="keywordtype">int</span> index = <a class="code" href="classhippodraw_1_1XyPlotter.html#af17d91d1b3039f791a5045d18386944d" title="Returns the index of the active DataRep object.">activePlotIndex</a> ();
<a name="l00533"></a>00533   <span class="keywordflow">if</span> ( index &lt; 0 ) index = 0;
<a name="l00534"></a>00534   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( index );
<a name="l00535"></a>00535 
<a name="l00536"></a>00536   <span class="keywordflow">return</span> rep -&gt; getRepColor ();
<a name="l00537"></a>00537 }
<a name="l00538"></a>00538 
<a name="l00539"></a>00539 <span class="keywordtype">void</span>
<a name="l00540"></a>00540 <a class="code" href="classhippodraw_1_1XyPlotter.html#a1046674b222298546ce869dfbb186f86" title="Draws the projected values.">XyPlotter::</a>
<a name="l00541"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a1046674b222298546ce869dfbb186f86">00541</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a1046674b222298546ce869dfbb186f86" title="Draws the projected values.">drawProjValues</a> ( <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view )
<a name="l00542"></a>00542 {
<a name="l00543"></a>00543   PlotterList_t::iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin();
<a name="l00544"></a>00544 
<a name="l00545"></a>00545   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00546"></a>00546     <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> = *first++;
<a name="l00547"></a>00547     <a class="code" href="classhippodraw_1_1PlotterBase.html#a8cb35b14d5cda79027198edf1a164d78" title="The abstract data space.">m_user_rect</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; calcUserRectangle ( );
<a name="l00548"></a>00548     <a class="code" href="classhippodraw_1_1PlotterBase.html#a0b290432870ee08bb488c05ad46e86f8" title="The raw rectangle before transform.">m_raw_rect</a> = <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; calcRawRectangle();
<a name="l00549"></a>00549     <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a1046674b222298546ce869dfbb186f86" title="Draws the projected values.">drawProjValues</a> ( view );
<a name="l00550"></a>00550   }
<a name="l00551"></a>00551 }
<a name="l00552"></a>00552 
<a name="l00553"></a>00553 <span class="keywordtype">bool</span>
<a name="l00554"></a>00554 <a class="code" href="classhippodraw_1_1XyPlotter.html#a7f6e06088d836edfcbd58abc6a696067" title="Returns true if the axes have already been auto-scaled.">XyPlotter::</a>
<a name="l00555"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a7f6e06088d836edfcbd58abc6a696067">00555</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a7f6e06088d836edfcbd58abc6a696067" title="Returns true if the axes have already been auto-scaled.">hasAutoScaled</a> ()<span class="keyword"> const</span>
<a name="l00556"></a>00556 <span class="keyword"></span>{
<a name="l00557"></a>00557   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a7f6e06088d836edfcbd58abc6a696067" title="Returns true if the axes have already been auto-scaled.">hasAutoScaled</a> ();
<a name="l00558"></a>00558 }
<a name="l00559"></a>00559 
<a name="l00560"></a>00560 <span class="keywordtype">bool</span>
<a name="l00561"></a>00561 <a class="code" href="classhippodraw_1_1XyPlotter.html#a8c6600847e9f9d7567e12d2854174a0c" title="Returns true if the plotter has zoom feature on the Y axis otherwise it returns false...">XyPlotter::</a>
<a name="l00562"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a8c6600847e9f9d7567e12d2854174a0c">00562</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a8c6600847e9f9d7567e12d2854174a0c" title="Returns true if the plotter has zoom feature on the Y axis otherwise it returns false...">hasZoomY</a> ()<span class="keyword"> const</span>
<a name="l00563"></a>00563 <span class="keyword"></span>{
<a name="l00564"></a>00564   <span class="keywordtype">int</span> retVal = 1;
<a name="l00565"></a>00565   
<a name="l00566"></a>00566   <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.size () ; i++ )
<a name="l00567"></a>00567     {
<a name="l00568"></a>00568       retVal = retVal * ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>[i] -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a8c6600847e9f9d7567e12d2854174a0c" title="Returns true if the plotter has zoom feature on the Y axis otherwise it returns false...">hasZoomY</a> () ); 
<a name="l00569"></a>00569     }
<a name="l00570"></a>00570   <span class="keywordflow">return</span> retVal != 0;
<a name="l00571"></a>00571 }
<a name="l00572"></a>00572 
<a name="l00573"></a>00573 <span class="keywordtype">bool</span>
<a name="l00574"></a>00574 <a class="code" href="classhippodraw_1_1XyPlotter.html#a31579875c6ccc59185e3503446d4a09a" title="Returns true if the selected DataRep object has bindings to a DataSource, otherwise...">XyPlotter::</a>
<a name="l00575"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a31579875c6ccc59185e3503446d4a09a">00575</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a31579875c6ccc59185e3503446d4a09a" title="Returns true if the selected DataRep object has bindings to a DataSource, otherwise...">hasNTupleBindings</a> ()<span class="keyword"> const</span>
<a name="l00576"></a>00576 <span class="keyword"></span>{
<a name="l00577"></a>00577   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a31579875c6ccc59185e3503446d4a09a" title="Returns true if the selected DataRep object has bindings to a DataSource, otherwise...">hasNTupleBindings</a> ();
<a name="l00578"></a>00578 }
<a name="l00579"></a>00579 
<a name="l00580"></a>00580 <span class="keywordtype">void</span>
<a name="l00581"></a>00581 <a class="code" href="classhippodraw_1_1XyPlotter.html#a78efd83b13a596d06130bbd830a3576a" title="Check if Axis needs to be scaled or not.">XyPlotter::</a>
<a name="l00582"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a78efd83b13a596d06130bbd830a3576a">00582</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a78efd83b13a596d06130bbd830a3576a" title="Check if Axis needs to be scaled or not.">checkAxisScaling</a> ( )
<a name="l00583"></a>00583 {
<a name="l00584"></a>00584   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a78efd83b13a596d06130bbd830a3576a" title="Check if Axis needs to be scaled or not.">checkAxisScaling</a> ();
<a name="l00585"></a>00585 }
<a name="l00586"></a>00586 
<a name="l00587"></a>00587 <a class="code" href="classhippodraw_1_1ProjectorBase.html" title="The base class for the Projector hierarchy.">ProjectorBase</a> *
<a name="l00588"></a>00588 <a class="code" href="classhippodraw_1_1XyPlotter.html#a128cb21ff41cef271076868d688097f3" title="Returns the i-th projector.">XyPlotter::</a>
<a name="l00589"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a128cb21ff41cef271076868d688097f3">00589</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a128cb21ff41cef271076868d688097f3" title="Returns the i-th projector.">getProjector</a> ( <span class="keywordtype">int</span> i )<span class="keyword"> const</span>
<a name="l00590"></a>00590 <span class="keyword"></span>{
<a name="l00591"></a>00591   <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( i );
<a name="l00592"></a>00592 
<a name="l00593"></a>00593   <span class="keywordflow">return</span> rep -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a128cb21ff41cef271076868d688097f3" title="Returns the i-th projector.">getProjector</a> ();
<a name="l00594"></a>00594 }
<a name="l00595"></a>00595 
<a name="l00596"></a>00596 <a class="code" href="classhippodraw_1_1ProjectorBase.html" title="The base class for the Projector hierarchy.">ProjectorBase</a> *
<a name="l00597"></a>00597 <a class="code" href="classhippodraw_1_1XyPlotter.html#ad21611548a8b5dc96d82032aa4a886e1" title="Returns the active projector.">XyPlotter::</a>
<a name="l00598"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ad21611548a8b5dc96d82032aa4a886e1">00598</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ad21611548a8b5dc96d82032aa4a886e1" title="Returns the active projector.">activeProjector</a> ()<span class="keyword"> const</span>
<a name="l00599"></a>00599 <span class="keyword"></span>{
<a name="l00600"></a>00600   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ad21611548a8b5dc96d82032aa4a886e1" title="Returns the active projector.">activeProjector</a> ();
<a name="l00601"></a>00601 }
<a name="l00602"></a>00602 
<a name="l00603"></a>00603 <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> *
<a name="l00604"></a>00604 <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">XyPlotter::</a>
<a name="l00605"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84">00605</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( <span class="keywordtype">int</span> index )<span class="keyword"> const</span>
<a name="l00606"></a>00606 <span class="keyword"></span>{
<a name="l00607"></a>00607   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = 0;
<a name="l00608"></a>00608   PlotterList_t::const_iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin ();
<a name="l00609"></a>00609   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00610"></a>00610     <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00611"></a>00611     <span class="keywordtype">int</span> num = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ();
<a name="l00612"></a>00612     <span class="keywordflow">if</span> ( index &lt; num ) {
<a name="l00613"></a>00613       rep = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( index );
<a name="l00614"></a>00614       <span class="keywordflow">break</span>;
<a name="l00615"></a>00615     }
<a name="l00616"></a>00616     index -= num;
<a name="l00617"></a>00617   }
<a name="l00618"></a>00618 
<a name="l00619"></a>00619   <span class="keywordflow">return</span> rep;
<a name="l00620"></a>00620 }
<a name="l00621"></a>00621 
<a name="l00622"></a>00622 <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> *
<a name="l00623"></a>00623 <a class="code" href="classhippodraw_1_1XyPlotter.html#a51131bded80446fbc146ad11c7fe0ada" title="Returns the selected DataRep.">XyPlotter::</a>
<a name="l00624"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a51131bded80446fbc146ad11c7fe0ada">00624</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a51131bded80446fbc146ad11c7fe0ada" title="Returns the selected DataRep.">getTarget</a> ()<span class="keyword"> const</span>
<a name="l00625"></a>00625 <span class="keyword"></span>{
<a name="l00626"></a>00626   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = 0;
<a name="l00627"></a>00627 
<a name="l00628"></a>00628   <span class="keywordflow">if</span> ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> &gt;= 0 ) {
<a name="l00629"></a>00629     rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> );
<a name="l00630"></a>00630   }
<a name="l00631"></a>00631   <span class="keywordflow">else</span> {
<a name="l00632"></a>00632     PlotterList_t::const_iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin();
<a name="l00633"></a>00633     <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end() ) {
<a name="l00634"></a>00634       <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00635"></a>00635       <span class="keywordtype">int</span> number = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ();
<a name="l00636"></a>00636       <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; number; i++ ) {
<a name="l00637"></a>00637         <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * r = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( i );
<a name="l00638"></a>00638         <span class="keywordflow">if</span> ( r -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aebf751e2a68740e204b55814ff2d39ea" title="Returns true if receiving object is target-able.">isTargetable</a> () ) {
<a name="l00639"></a>00639           rep = r;
<a name="l00640"></a>00640           <span class="keywordflow">break</span>;
<a name="l00641"></a>00641         }
<a name="l00642"></a>00642       }
<a name="l00643"></a>00643       <span class="keywordflow">if</span> ( rep != 0 ) <span class="keywordflow">break</span>;
<a name="l00644"></a>00644     }
<a name="l00645"></a>00645   }
<a name="l00646"></a>00646 
<a name="l00647"></a>00647   <span class="keywordflow">return</span> rep;
<a name="l00648"></a>00648 }
<a name="l00649"></a>00649 
<a name="l00650"></a>00650 <span class="keywordtype">int</span>
<a name="l00651"></a>00651 <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">XyPlotter::</a>
<a name="l00652"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2">00652</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ()<span class="keyword"> const</span>
<a name="l00653"></a>00653 <span class="keyword"></span>{
<a name="l00654"></a>00654   <span class="keywordtype">int</span> number = 0;
<a name="l00655"></a>00655   PlotterList_t::const_iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin();
<a name="l00656"></a>00656 
<a name="l00657"></a>00657   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end() ) {
<a name="l00658"></a>00658     <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00659"></a>00659     number += plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ();
<a name="l00660"></a>00660   }
<a name="l00661"></a>00661 
<a name="l00662"></a>00662   <span class="keywordflow">return</span> number;
<a name="l00663"></a>00663 }
<a name="l00664"></a>00664 
<a name="l00665"></a>00665 <span class="keywordtype">bool</span>
<a name="l00666"></a>00666 <a class="code" href="classhippodraw_1_1XyPlotter.html#aebf751e2a68740e204b55814ff2d39ea" title="Returns true if receiving object is target-able.">XyPlotter::</a>
<a name="l00667"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aebf751e2a68740e204b55814ff2d39ea">00667</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aebf751e2a68740e204b55814ff2d39ea" title="Returns true if receiving object is target-able.">isTargetable</a> ()<span class="keyword"> const</span>
<a name="l00668"></a>00668 <span class="keyword"></span>{
<a name="l00669"></a>00669   <span class="keywordtype">bool</span> yes = <span class="keyword">false</span>;
<a name="l00670"></a>00670 
<a name="l00671"></a>00671   <span class="keywordflow">if</span> ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> &gt;= 0 ) {
<a name="l00672"></a>00672     <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a674b98d19c87e2a55d81276ee74ca606" title="Index to the active plotter.">m_active_index</a> );
<a name="l00673"></a>00673     assert ( rep != 0 );
<a name="l00674"></a>00674     yes = rep -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aebf751e2a68740e204b55814ff2d39ea" title="Returns true if receiving object is target-able.">isTargetable</a> ();
<a name="l00675"></a>00675   }
<a name="l00676"></a>00676   <span class="keywordflow">else</span> {
<a name="l00677"></a>00677     <span class="keywordtype">int</span> count = 0;
<a name="l00678"></a>00678     PlotterList_t::const_iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin();
<a name="l00679"></a>00679     <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end() ) {
<a name="l00680"></a>00680       <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00681"></a>00681       <span class="keywordtype">int</span> number = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ();
<a name="l00682"></a>00682       <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; number; i++ ) {
<a name="l00683"></a>00683         <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( i );
<a name="l00684"></a>00684         <span class="keywordflow">if</span> ( rep -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aebf751e2a68740e204b55814ff2d39ea" title="Returns true if receiving object is target-able.">isTargetable</a> () ) count++;
<a name="l00685"></a>00685       }
<a name="l00686"></a>00686     }
<a name="l00687"></a>00687     yes = count == 1;
<a name="l00688"></a>00688   }
<a name="l00689"></a>00689 
<a name="l00690"></a>00690   <span class="keywordflow">return</span> yes;
<a name="l00691"></a>00691 }
<a name="l00692"></a>00692 
<a name="l00693"></a>00693 <span class="keywordtype">int</span>
<a name="l00694"></a>00694 <a class="code" href="classhippodraw_1_1XyPlotter.html#a714ed4a3657382a7197820607693ffb1" title="Returns the index of the selected DataRep object.">XyPlotter::</a>
<a name="l00695"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a714ed4a3657382a7197820607693ffb1">00695</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a714ed4a3657382a7197820607693ffb1" title="Returns the index of the selected DataRep object.">indexOf</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep )<span class="keyword"> const</span>
<a name="l00696"></a>00696 <span class="keyword"></span>{
<a name="l00697"></a>00697   <span class="keywordtype">int</span> index = 0;
<a name="l00698"></a>00698   PlotterList_t::const_iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin ();
<a name="l00699"></a>00699   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00700"></a>00700     <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00701"></a>00701     <span class="keywordtype">int</span> num = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained by the plotter.">getNumDataReps</a> ();
<a name="l00702"></a>00702     <span class="keywordtype">int</span> i = plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a714ed4a3657382a7197820607693ffb1" title="Returns the index of the selected DataRep object.">indexOf</a> ( rep );
<a name="l00703"></a>00703     <span class="keywordflow">if</span> ( i &gt;= 0 ) {
<a name="l00704"></a>00704       index += i;
<a name="l00705"></a>00705       <span class="keywordflow">break</span>;
<a name="l00706"></a>00706     }
<a name="l00707"></a>00707     index += num;
<a name="l00708"></a>00708   }
<a name="l00709"></a>00709 
<a name="l00710"></a>00710   <span class="keywordflow">return</span> index;
<a name="l00711"></a>00711 }
<a name="l00712"></a>00712 
<a name="l00713"></a>00713 <span class="keywordtype">double</span>
<a name="l00714"></a>00714 <a class="code" href="classhippodraw_1_1XyPlotter.html#a7404ee6a4ff3cfc632b32c520560c163" title="Returns the bins with of the target DataRep object.">XyPlotter::</a>
<a name="l00715"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a7404ee6a4ff3cfc632b32c520560c163">00715</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a7404ee6a4ff3cfc632b32c520560c163" title="Returns the bins with of the target DataRep object.">getBinWidth</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00716"></a>00716 <span class="keyword"></span>{
<a name="l00717"></a>00717   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a7404ee6a4ff3cfc632b32c520560c163" title="Returns the bins with of the target DataRep object.">getBinWidth</a> ( axis );
<a name="l00718"></a>00718 }
<a name="l00719"></a>00719 
<a name="l00720"></a>00720 <span class="keywordtype">void</span>
<a name="l00721"></a>00721 <a class="code" href="classhippodraw_1_1XyPlotter.html#ab00342247f9d5d6ef93f21a1853c055a" title="Sets the bin width.">XyPlotter::</a>
<a name="l00722"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ab00342247f9d5d6ef93f21a1853c055a">00722</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ab00342247f9d5d6ef93f21a1853c055a" title="Sets the bin width.">setBinWidth</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">double</span> width )
<a name="l00723"></a>00723 {
<a name="l00724"></a>00724   <span class="keywordtype">int</span> index = <a class="code" href="classhippodraw_1_1XyPlotter.html#af17d91d1b3039f791a5045d18386944d" title="Returns the index of the active DataRep object.">activePlotIndex</a> ();
<a name="l00725"></a>00725 
<a name="l00726"></a>00726   <span class="keywordflow">if</span> ( index &lt; 0 ) {
<a name="l00727"></a>00727     PlotterList_t::iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin ();
<a name="l00728"></a>00728     <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00729"></a>00729       <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00730"></a>00730       plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ab00342247f9d5d6ef93f21a1853c055a" title="Sets the bin width.">setBinWidth</a> ( axis, width );
<a name="l00731"></a>00731     }
<a name="l00732"></a>00732   }
<a name="l00733"></a>00733   <span class="keywordflow">else</span> {
<a name="l00734"></a>00734     <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> cur_range = <a class="code" href="classhippodraw_1_1XyPlotter.html#a2e02fc30c09ce8abbb8cb702623fb22f" title="Returns the range on the specified axis.">getRange</a> (axis, <span class="keyword">false</span> );
<a name="l00735"></a>00735     <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( index );
<a name="l00736"></a>00736     <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> &amp; range = rep -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ab00342247f9d5d6ef93f21a1853c055a" title="Sets the bin width.">setBinWidth</a> ( axis, width );
<a name="l00737"></a>00737     cur_range.<a class="code" href="classhippodraw_1_1Range.html#ab05916911b0d4c4c64403cef68d336b4" title="Forms the union with the range range.">setUnion</a> ( range );
<a name="l00738"></a>00738     <a class="code" href="classhippodraw_1_1XyPlotter.html#a189d730969d2a516bcebcce4d21514b4" title="Sets the range on the specified axis.">setRange</a> ( axis, cur_range, <span class="keyword">false</span>, <span class="keyword">false</span> );
<a name="l00739"></a>00739   }
<a name="l00740"></a>00740 }
<a name="l00741"></a>00741 
<a name="l00742"></a>00742 <span class="keywordtype">void</span>
<a name="l00743"></a>00743 <a class="code" href="classhippodraw_1_1XyPlotter.html#ad20897c5c8bd47f5d4005989bead0e55" title="Resets the bins.">XyPlotter::</a>
<a name="l00744"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ad20897c5c8bd47f5d4005989bead0e55">00744</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ad20897c5c8bd47f5d4005989bead0e55" title="Resets the bins.">reset</a> ( )
<a name="l00745"></a>00745 {
<a name="l00746"></a>00746   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ad20897c5c8bd47f5d4005989bead0e55" title="Resets the bins.">reset</a> ( );
<a name="l00747"></a>00747 }
<a name="l00748"></a>00748 
<a name="l00749"></a>00749 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> &amp;
<a name="l00750"></a>00750 <a class="code" href="classhippodraw_1_1XyPlotter.html#a2e02fc30c09ce8abbb8cb702623fb22f" title="Returns the range on the specified axis.">XyPlotter::</a>
<a name="l00751"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a2e02fc30c09ce8abbb8cb702623fb22f">00751</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2e02fc30c09ce8abbb8cb702623fb22f" title="Returns the range on the specified axis.">getRange</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">bool</span> scaled )<span class="keyword"> const</span>
<a name="l00752"></a>00752 <span class="keyword"></span>{
<a name="l00753"></a>00753   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a2e02fc30c09ce8abbb8cb702623fb22f" title="Returns the range on the specified axis.">getRange</a> ( axis, scaled );
<a name="l00754"></a>00754 }
<a name="l00755"></a>00755 
<a name="l00756"></a>00756 <span class="keywordtype">void</span>
<a name="l00757"></a>00757 <a class="code" href="classhippodraw_1_1XyPlotter.html#a189d730969d2a516bcebcce4d21514b4" title="Sets the range on the specified axis.">XyPlotter::</a>
<a name="l00758"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a189d730969d2a516bcebcce4d21514b4">00758</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a189d730969d2a516bcebcce4d21514b4" title="Sets the range on the specified axis.">setRange</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> &amp; range,
<a name="l00759"></a>00759            <span class="keywordtype">bool</span> scaled, <span class="keywordtype">bool</span> adjust_width )
<a name="l00760"></a>00760 {
<a name="l00761"></a>00761   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a189d730969d2a516bcebcce4d21514b4" title="Sets the range on the specified axis.">setRange</a> ( axis, range, scaled, adjust_width );
<a name="l00762"></a>00762 }
<a name="l00763"></a>00763 
<a name="l00764"></a>00764 <span class="keywordtype">double</span>
<a name="l00765"></a>00765 <a class="code" href="classhippodraw_1_1XyPlotter.html#aa5b5490fdf63b59bef2d37c6e21ca38d" title="Returns the offset on designated axis, similarly to getBinWidth.">XyPlotter::</a>
<a name="l00766"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aa5b5490fdf63b59bef2d37c6e21ca38d">00766</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aa5b5490fdf63b59bef2d37c6e21ca38d" title="Returns the offset on designated axis, similarly to getBinWidth.">getOffset</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00767"></a>00767 <span class="keyword"></span>{
<a name="l00768"></a>00768   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aa5b5490fdf63b59bef2d37c6e21ca38d" title="Returns the offset on designated axis, similarly to getBinWidth.">getOffset</a> ( axis );
<a name="l00769"></a>00769 }
<a name="l00770"></a>00770 
<a name="l00771"></a>00771 <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> *
<a name="l00772"></a>00772 <a class="code" href="classhippodraw_1_1XyPlotter.html#a6f6cfd143891cd8d5b814b11e350011a" title="Returns the transform object used by the plotter.">XyPlotter::</a>
<a name="l00773"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a6f6cfd143891cd8d5b814b11e350011a">00773</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a6f6cfd143891cd8d5b814b11e350011a" title="Returns the transform object used by the plotter.">getTransform</a> ()<span class="keyword"> const</span>
<a name="l00774"></a>00774 <span class="keyword"></span>{
<a name="l00775"></a>00775   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a6f6cfd143891cd8d5b814b11e350011a" title="Returns the transform object used by the plotter.">getTransform</a> ();
<a name="l00776"></a>00776 }
<a name="l00777"></a>00777 
<a name="l00778"></a>00778 <span class="keywordtype">void</span>
<a name="l00779"></a>00779 <a class="code" href="classhippodraw_1_1XyPlotter.html#a73127ff94c2b867a57f5ab0635f7e892" title="Adds data values to the plot.">XyPlotter::</a>
<a name="l00780"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a73127ff94c2b867a57f5ab0635f7e892">00780</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a73127ff94c2b867a57f5ab0635f7e892" title="Adds data values to the plot.">addValues</a> ( <span class="keyword">const</span> std::vector &lt; double &gt; &amp; v )
<a name="l00781"></a>00781 {
<a name="l00782"></a>00782   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a73127ff94c2b867a57f5ab0635f7e892" title="Adds data values to the plot.">addValues</a> ( v );
<a name="l00783"></a>00783 }
<a name="l00784"></a>00784 
<a name="l00785"></a>00785 <span class="keyword">const</span> <span class="keywordtype">string</span> &amp;
<a name="l00786"></a>00786 <a class="code" href="classhippodraw_1_1XyPlotter.html#a57fef2f1bd9f6694f624780e76edc3d3" title="Returns the internal label.">XyPlotter::</a>
<a name="l00787"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a57fef2f1bd9f6694f624780e76edc3d3">00787</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a57fef2f1bd9f6694f624780e76edc3d3" title="Returns the internal label.">getInternalLabel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00788"></a>00788 <span class="keyword"></span>{
<a name="l00789"></a>00789   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a57fef2f1bd9f6694f624780e76edc3d3" title="Returns the internal label.">getInternalLabel</a> ( axis );
<a name="l00790"></a>00790 }
<a name="l00791"></a>00791 
<a name="l00792"></a>00792 <span class="keyword">const</span> <span class="keywordtype">string</span> &amp;
<a name="l00793"></a>00793 <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4e1c99a43c56d2b631cea4f039c8f91" title="Returns the label for the specified axis.">XyPlotter::</a>
<a name="l00794"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aa4e1c99a43c56d2b631cea4f039c8f91">00794</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4e1c99a43c56d2b631cea4f039c8f91" title="Returns the label for the specified axis.">getLabel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00795"></a>00795 <span class="keyword"></span>{
<a name="l00796"></a>00796   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aa4e1c99a43c56d2b631cea4f039c8f91" title="Returns the label for the specified axis.">getLabel</a> ( axis );
<a name="l00797"></a>00797 }
<a name="l00798"></a>00798 
<a name="l00799"></a>00799 <span class="keywordtype">void</span>
<a name="l00800"></a>00800 <a class="code" href="classhippodraw_1_1XyPlotter.html#aeea71544232b164b9fdf1534b4b70a30" title="Sets the label of the specified axis to value.">XyPlotter::</a>
<a name="l00801"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aeea71544232b164b9fdf1534b4b70a30">00801</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aeea71544232b164b9fdf1534b4b70a30" title="Sets the label of the specified axis to value.">setLabel</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keyword">const</span> std::string &amp; value )
<a name="l00802"></a>00802 {
<a name="l00803"></a>00803   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aeea71544232b164b9fdf1534b4b70a30" title="Sets the label of the specified axis to value.">setLabel</a> ( axis, value );
<a name="l00804"></a>00804   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00805"></a>00805 }
<a name="l00806"></a>00806 
<a name="l00807"></a>00807 <span class="keywordtype">int</span>
<a name="l00808"></a>00808 <a class="code" href="classhippodraw_1_1XyPlotter.html#a8e2544f7315631c6c4357d2f09bdcafc" title="Returns the number of entries in the contained DataRep.">XyPlotter::</a>
<a name="l00809"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a8e2544f7315631c6c4357d2f09bdcafc">00809</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a8e2544f7315631c6c4357d2f09bdcafc" title="Returns the number of entries in the contained DataRep.">getNumberOfEntries</a> ()<span class="keyword"> const</span>
<a name="l00810"></a>00810 <span class="keyword"></span>{
<a name="l00811"></a>00811   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a8e2544f7315631c6c4357d2f09bdcafc" title="Returns the number of entries in the contained DataRep.">getNumberOfEntries</a> ();
<a name="l00812"></a>00812 }
<a name="l00813"></a>00813 
<a name="l00814"></a>00814 <span class="keywordtype">double</span>
<a name="l00815"></a>00815 <a class="code" href="classhippodraw_1_1XyPlotter.html#a8d76a4540cacd4ae9faad779555b43f1" title="Returns the smallest positive number from the data.">XyPlotter::</a>
<a name="l00816"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a8d76a4540cacd4ae9faad779555b43f1">00816</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a8d76a4540cacd4ae9faad779555b43f1" title="Returns the smallest positive number from the data.">getPosRange</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00817"></a>00817 <span class="keyword"></span>{
<a name="l00818"></a>00818   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a8d76a4540cacd4ae9faad779555b43f1" title="Returns the smallest positive number from the data.">getPosRange</a> ( axis );
<a name="l00819"></a>00819 }
<a name="l00820"></a>00820 
<a name="l00821"></a>00821 <span class="keywordtype">bool</span>
<a name="l00822"></a>00822 <a class="code" href="classhippodraw_1_1XyPlotter.html#a0d9e4bd8bdbab8f6b817cb804da4db7a" title="Returns true if the plotter has an axis of specified type.">XyPlotter::</a>
<a name="l00823"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a0d9e4bd8bdbab8f6b817cb804da4db7a">00823</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a0d9e4bd8bdbab8f6b817cb804da4db7a" title="Returns true if the plotter has an axis of specified type.">hasAxis</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00824"></a>00824 <span class="keyword"></span>{
<a name="l00825"></a>00825   <span class="keywordtype">bool</span> yes = <span class="keyword">false</span>;
<a name="l00826"></a>00826   PlotterList_t::const_iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin ();
<a name="l00827"></a>00827 
<a name="l00828"></a>00828   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00829"></a>00829     <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00830"></a>00830     yes |= plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a0d9e4bd8bdbab8f6b817cb804da4db7a" title="Returns true if the plotter has an axis of specified type.">hasAxis</a> ( axis );
<a name="l00831"></a>00831   }
<a name="l00832"></a>00832 
<a name="l00833"></a>00833   <span class="keywordflow">return</span> yes;
<a name="l00834"></a>00834 }
<a name="l00835"></a>00835 
<a name="l00836"></a>00836 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1BinToColor.html" title="The base class for the value to the color transformation.">BinToColor</a> *
<a name="l00837"></a>00837 <a class="code" href="classhippodraw_1_1XyPlotter.html#ab8a5addcc6ba76e42ed603f1b91116f2" title="Returns the value to color representation.">XyPlotter::</a>
<a name="l00838"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ab8a5addcc6ba76e42ed603f1b91116f2">00838</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ab8a5addcc6ba76e42ed603f1b91116f2" title="Returns the value to color representation.">getValueRep</a> ()<span class="keyword"> const</span>
<a name="l00839"></a>00839 <span class="keyword"></span>{
<a name="l00840"></a>00840   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ab8a5addcc6ba76e42ed603f1b91116f2" title="Returns the value to color representation.">getValueRep</a> ();
<a name="l00841"></a>00841 }
<a name="l00842"></a>00842 
<a name="l00843"></a>00843 <span class="keywordtype">bool</span>
<a name="l00844"></a>00844 <a class="code" href="classhippodraw_1_1XyPlotter.html#ab8491ab85e69b66a4b15eb134e232448" title="Returns true if auto-ranging is enabled, otherwise returns false.">XyPlotter::</a>
<a name="l00845"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ab8491ab85e69b66a4b15eb134e232448">00845</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ab8491ab85e69b66a4b15eb134e232448" title="Returns true if auto-ranging is enabled, otherwise returns false.">isAutoRanging</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis )<span class="keyword"> const</span>
<a name="l00846"></a>00846 <span class="keyword"></span>{
<a name="l00847"></a>00847   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ab8491ab85e69b66a4b15eb134e232448" title="Returns true if auto-ranging is enabled, otherwise returns false.">isAutoRanging</a> ( axis );
<a name="l00848"></a>00848 }
<a name="l00849"></a>00849 
<a name="l00850"></a>00850 <span class="keywordtype">bool</span>
<a name="l00851"></a>00851 <a class="code" href="classhippodraw_1_1XyPlotter.html#ae718dede3bf99e22fda98c1f66c0e07a" title="Returns true if reverse is enabled, otherwise returns false.">XyPlotter::</a>
<a name="l00852"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ae718dede3bf99e22fda98c1f66c0e07a">00852</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ae718dede3bf99e22fda98c1f66c0e07a" title="Returns true if reverse is enabled, otherwise returns false.">isReverse</a> ( )<span class="keyword"> const</span>
<a name="l00853"></a>00853 <span class="keyword"></span>{
<a name="l00854"></a>00854   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ae718dede3bf99e22fda98c1f66c0e07a" title="Returns true if reverse is enabled, otherwise returns false.">isReverse</a> ( );
<a name="l00855"></a>00855 }
<a name="l00856"></a>00856 
<a name="l00857"></a>00857 
<a name="l00858"></a>00858 <span class="keywordtype">void</span>
<a name="l00859"></a>00859 <a class="code" href="classhippodraw_1_1XyPlotter.html#a1173096dcede86c16b1417216b2353fa" title="Transpose the X and Y axis of matrix representation.">XyPlotter::</a>
<a name="l00860"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a1173096dcede86c16b1417216b2353fa">00860</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a1173096dcede86c16b1417216b2353fa" title="Transpose the X and Y axis of matrix representation.">matrixTranspose</a> ( <span class="keywordtype">bool</span> yes )
<a name="l00861"></a>00861 {
<a name="l00862"></a>00862   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a1173096dcede86c16b1417216b2353fa" title="Transpose the X and Y axis of matrix representation.">matrixTranspose</a> ( yes );
<a name="l00863"></a>00863 }
<a name="l00864"></a>00864 
<a name="l00865"></a>00865 <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> *
<a name="l00866"></a>00866 <a class="code" href="classhippodraw_1_1XyPlotter.html#a666709c994dc9582b8127aefa106fe48" title="Returns the selected DataRep.">XyPlotter::</a>
<a name="l00867"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a666709c994dc9582b8127aefa106fe48">00867</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a666709c994dc9582b8127aefa106fe48" title="Returns the selected DataRep.">selectedDataRep</a> ()<span class="keyword"> const</span>
<a name="l00868"></a>00868 <span class="keyword"></span>{
<a name="l00869"></a>00869   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a666709c994dc9582b8127aefa106fe48" title="Returns the selected DataRep.">selectedDataRep</a> ();
<a name="l00870"></a>00870 }
<a name="l00871"></a>00871 
<a name="l00872"></a>00872 <span class="keywordtype">void</span>
<a name="l00873"></a>00873 <a class="code" href="classhippodraw_1_1XyPlotter.html#a8d3ee403f19665d591dcef5ded72c474" title="Sets automatic generation of axis ticks.">XyPlotter::</a>
<a name="l00874"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a8d3ee403f19665d591dcef5ded72c474">00874</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a8d3ee403f19665d591dcef5ded72c474" title="Sets automatic generation of axis ticks.">setAutoTicks</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">bool</span> yes )
<a name="l00875"></a>00875 {
<a name="l00876"></a>00876   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a8d3ee403f19665d591dcef5ded72c474" title="Sets automatic generation of axis ticks.">setAutoTicks</a> ( axis, yes );
<a name="l00877"></a>00877 }
<a name="l00878"></a>00878 
<a name="l00879"></a>00879 <span class="keywordtype">void</span>
<a name="l00880"></a>00880 <a class="code" href="classhippodraw_1_1XyPlotter.html#aaf31fb93955fc242a314848ce497f942" title="Sets the ticks for the specified axis.">XyPlotter::</a>
<a name="l00881"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aaf31fb93955fc242a314848ce497f942">00881</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aaf31fb93955fc242a314848ce497f942" title="Sets the ticks for the specified axis.">setTicks</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keyword">const</span> std::vector &lt; AxisTick &gt; &amp; ticks )
<a name="l00882"></a>00882 {
<a name="l00883"></a>00883   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aaf31fb93955fc242a314848ce497f942" title="Sets the ticks for the specified axis.">setTicks</a> ( axis, ticks );
<a name="l00884"></a>00884 }
<a name="l00885"></a>00885 
<a name="l00886"></a>00886 <span class="keywordtype">void</span>
<a name="l00887"></a>00887 <a class="code" href="classhippodraw_1_1XyPlotter.html#a23673cf7c41de3abcb4795d140ed8ac5" title="Sets the number of bins.">XyPlotter::</a>
<a name="l00888"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a23673cf7c41de3abcb4795d140ed8ac5">00888</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a23673cf7c41de3abcb4795d140ed8ac5" title="Sets the number of bins.">setNumberOfBins</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> number )
<a name="l00889"></a>00889 {
<a name="l00890"></a>00890   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a23673cf7c41de3abcb4795d140ed8ac5" title="Sets the number of bins.">setNumberOfBins</a> ( axis, number );
<a name="l00891"></a>00891 }
<a name="l00892"></a>00892 
<a name="l00893"></a>00893 <span class="keywordtype">void</span>
<a name="l00894"></a>00894 <a class="code" href="classhippodraw_1_1XyPlotter.html#aabcc71f2884f3667c1410685d5a887fa" title="Sets the offset.">XyPlotter::</a>
<a name="l00895"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aabcc71f2884f3667c1410685d5a887fa">00895</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aabcc71f2884f3667c1410685d5a887fa" title="Sets the offset.">setOffset</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <span class="keywordtype">double</span> offset )
<a name="l00896"></a>00896 {
<a name="l00897"></a>00897   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aabcc71f2884f3667c1410685d5a887fa" title="Sets the offset.">setOffset</a> ( axis, offset );
<a name="l00898"></a>00898 }
<a name="l00899"></a>00899 
<a name="l00900"></a>00900 <span class="keywordtype">void</span>
<a name="l00901"></a>00901 <a class="code" href="classhippodraw_1_1XyPlotter.html#a5b81abdea0d1d0dfa774c79bb8f30716" title="Fills the cuts vector with the TupleCuts contained by the DataRep objects.">XyPlotter::</a>
<a name="l00902"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a5b81abdea0d1d0dfa774c79bb8f30716">00902</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a5b81abdea0d1d0dfa774c79bb8f30716" title="Fills the cuts vector with the TupleCuts contained by the DataRep objects.">fillCutList</a> ( std::vector &lt; const TupleCut * &gt; &amp; cuts )<span class="keyword"> const</span>
<a name="l00903"></a>00903 <span class="keyword"></span>{
<a name="l00904"></a>00904   PlotterList_t::const_iterator first = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.begin();
<a name="l00905"></a>00905   <span class="keywordflow">while</span> ( first != <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.end () ) {
<a name="l00906"></a>00906     <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1CompositePlotter.html" title="A class for containing one or more DataRep objects in a single composite plot.">CompositePlotter</a> * plotter = *first++;
<a name="l00907"></a>00907     plotter -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a5b81abdea0d1d0dfa774c79bb8f30716" title="Fills the cuts vector with the TupleCuts contained by the DataRep objects.">fillCutList</a> ( cuts );
<a name="l00908"></a>00908   }
<a name="l00909"></a>00909 }
<a name="l00910"></a>00910 
<a name="l00911"></a>00911 <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> *
<a name="l00912"></a>00912 <a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695" title="Returns the TupleCut object at position i.">XyPlotter::</a>
<a name="l00913"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695">00913</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695" title="Returns the TupleCut object at position i.">getCutAt</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i )
<a name="l00914"></a>00914 {
<a name="l00915"></a>00915   vector &lt; const TupleCut * &gt; cuts;
<a name="l00916"></a>00916   <a class="code" href="classhippodraw_1_1XyPlotter.html#a5b81abdea0d1d0dfa774c79bb8f30716" title="Fills the cuts vector with the TupleCuts contained by the DataRep objects.">fillCutList</a> ( cuts );
<a name="l00917"></a>00917   <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> * cut = const_cast &lt; <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> * &gt; ( cuts[i] );
<a name="l00918"></a>00918 
<a name="l00919"></a>00919   <span class="keywordflow">return</span> cut;
<a name="l00920"></a>00920 }
<a name="l00921"></a>00921 
<a name="l00922"></a>00922 <span class="keywordtype">void</span>
<a name="l00923"></a>00923 <a class="code" href="classhippodraw_1_1XyPlotter.html#a654cbf7e62bd00f0803420f58e1c05a5" title="Sets the Range of the TupleCut object indexed by i.">XyPlotter::</a>
<a name="l00924"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a654cbf7e62bd00f0803420f58e1c05a5">00924</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a654cbf7e62bd00f0803420f58e1c05a5" title="Sets the Range of the TupleCut object indexed by i.">setCutRangeAt</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> &amp; range, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i )
<a name="l00925"></a>00925 {
<a name="l00926"></a>00926   <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> * cut = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695" title="Returns the TupleCut object at position i.">getCutAt</a> ( i );
<a name="l00927"></a>00927   cut -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a189d730969d2a516bcebcce4d21514b4" title="Sets the range on the specified axis.">setRange</a> ( range );
<a name="l00928"></a>00928 
<a name="l00929"></a>00929   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( 0 );
<a name="l00930"></a>00930   rep -&gt; setDirty ();
<a name="l00931"></a>00931 
<a name="l00932"></a>00932   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00933"></a>00933 }
<a name="l00934"></a>00934 
<a name="l00935"></a>00935 <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a>
<a name="l00936"></a>00936 <a class="code" href="classhippodraw_1_1XyPlotter.html#aed3b511e4e35766f819840dce26d2536" title="Gets the object of current XyPlotter is a TupleCut object, get the range of it.">XyPlotter::</a>
<a name="l00937"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aed3b511e4e35766f819840dce26d2536">00937</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aed3b511e4e35766f819840dce26d2536" title="Gets the object of current XyPlotter is a TupleCut object, get the range of it.">getCutRange</a> ()
<a name="l00938"></a>00938 {
<a name="l00939"></a>00939   <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> * cut = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695" title="Returns the TupleCut object at position i.">getCutAt</a> ( 0 );
<a name="l00940"></a>00940   <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> range = cut -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a2e02fc30c09ce8abbb8cb702623fb22f" title="Returns the range on the specified axis.">getRange</a> ();
<a name="l00941"></a>00941   
<a name="l00942"></a>00942   <span class="keywordflow">return</span> range;
<a name="l00943"></a>00943 }
<a name="l00944"></a>00944 
<a name="l00945"></a>00945 
<a name="l00946"></a>00946 
<a name="l00947"></a>00947 
<a name="l00948"></a>00948 <span class="keywordtype">void</span>
<a name="l00949"></a>00949 <a class="code" href="classhippodraw_1_1XyPlotter.html#a057d3e485bb582e1fec0198d70633725" title="Sets the TupleCut object indexed by i to be inverted.">XyPlotter::</a>
<a name="l00950"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a057d3e485bb582e1fec0198d70633725">00950</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a057d3e485bb582e1fec0198d70633725" title="Sets the TupleCut object indexed by i to be inverted.">setCutInverted</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i, <span class="keywordtype">bool</span> yes )
<a name="l00951"></a>00951 {
<a name="l00952"></a>00952   <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> * cut = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695" title="Returns the TupleCut object at position i.">getCutAt</a> ( i );
<a name="l00953"></a>00953   cut -&gt; setInversion ( yes );
<a name="l00954"></a>00954 
<a name="l00955"></a>00955   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( 0 );
<a name="l00956"></a>00956   rep -&gt; setDirty ();
<a name="l00957"></a>00957 
<a name="l00958"></a>00958   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00959"></a>00959 }
<a name="l00960"></a>00960 
<a name="l00961"></a>00961 <span class="keywordtype">void</span>
<a name="l00962"></a>00962 <a class="code" href="classhippodraw_1_1XyPlotter.html#a2e613fb9e0f68add6ff5354d6d4a44d5" title="Sets the TupleCut object index by i to be enabled.">XyPlotter::</a>
<a name="l00963"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a2e613fb9e0f68add6ff5354d6d4a44d5">00963</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a2e613fb9e0f68add6ff5354d6d4a44d5" title="Sets the TupleCut object index by i to be enabled.">setCutEnabled</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i, <span class="keywordtype">bool</span> yes )
<a name="l00964"></a>00964 {
<a name="l00965"></a>00965   <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> * cut = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695" title="Returns the TupleCut object at position i.">getCutAt</a> ( i );
<a name="l00966"></a>00966   cut -&gt; setEnabled ( yes );
<a name="l00967"></a>00967   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = <a class="code" href="classhippodraw_1_1XyPlotter.html#a4b915f5fbccdb544a5de6b3e72dbec84" title="Returns the DataRep object at index.">getDataRep</a> ( 0 );
<a name="l00968"></a>00968   rep -&gt; setDirty ();
<a name="l00969"></a>00969 
<a name="l00970"></a>00970   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00971"></a>00971 }
<a name="l00972"></a>00972 
<a name="l00973"></a>00973 
<a name="l00974"></a>00974 <span class="keyword">const</span> std::vector &lt;double&gt; &amp;
<a name="l00975"></a>00975 <a class="code" href="classhippodraw_1_1XyPlotter.html#a789df676ac5afdee5cc8873d276a48e7" title="Returns all Z values.">XyPlotter::</a>
<a name="l00976"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a789df676ac5afdee5cc8873d276a48e7">00976</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a789df676ac5afdee5cc8873d276a48e7" title="Returns all Z values.">getZValues</a>()
<a name="l00977"></a>00977 {
<a name="l00978"></a>00978   <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * transform = <a class="code" href="classhippodraw_1_1XyPlotter.html#a6f6cfd143891cd8d5b814b11e350011a" title="Returns the transform object used by the plotter.">getTransform</a> ();
<a name="l00979"></a>00979   <a class="code" href="classhippodraw_1_1ProjectorBase.html" title="The base class for the Projector hierarchy.">ProjectorBase</a> * proj = <a class="code" href="classhippodraw_1_1XyPlotter.html#ad21611548a8b5dc96d82032aa4a886e1" title="Returns the active projector.">activeProjector</a> ();
<a name="l00980"></a>00980   
<a name="l00981"></a>00981   <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html" title="A transform that transforms coordinates from one 2D coordinate system to another...">BinaryTransform</a> * bt 
<a name="l00982"></a>00982     = dynamic_cast &lt;<span class="keyword">const</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html" title="A transform that transforms coordinates from one 2D coordinate system to another...">BinaryTransform</a> *&gt; ( transform );
<a name="l00983"></a>00983 
<a name="l00984"></a>00984   <span class="keywordflow">if</span> ( bt-&gt;<a class="code" href="classhippodraw_1_1BinaryTransform.html#ae0d9b140b2b3e410478fe5554dc6a57b" title="Sets whether this transform is periodic.">isPeriodic</a>() )
<a name="l00985"></a>00985     {
<a name="l00986"></a>00986       <span class="keywordflow">return</span> ( proj -&gt; getZAfterTransform (transform) );
<a name="l00987"></a>00987     }
<a name="l00988"></a>00988   <span class="keywordflow">else</span>
<a name="l00989"></a>00989     {
<a name="l00990"></a>00990       <span class="keywordflow">return</span> ( proj -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a789df676ac5afdee5cc8873d276a48e7" title="Returns all Z values.">getZValues</a>() );
<a name="l00991"></a>00991     }
<a name="l00992"></a>00992   
<a name="l00993"></a>00993 }
<a name="l00994"></a>00994 
<a name="l00995"></a>00995 
<a name="l00996"></a>00996 
<a name="l00997"></a>00997 <span class="keyword">const</span> std::vector &lt; unsigned int &gt; &amp;
<a name="l00998"></a>00998 <a class="code" href="classhippodraw_1_1XyPlotter.html#a9a090bb6929f23e3542b01974b466644">XyPlotter::</a>
<a name="l00999"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a9a090bb6929f23e3542b01974b466644">00999</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a9a090bb6929f23e3542b01974b466644">getShape</a>()
<a name="l01000"></a>01000 {
<a name="l01001"></a>01001   <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * transform = <a class="code" href="classhippodraw_1_1XyPlotter.html#a6f6cfd143891cd8d5b814b11e350011a" title="Returns the transform object used by the plotter.">getTransform</a> ();
<a name="l01002"></a>01002   <a class="code" href="classhippodraw_1_1ProjectorBase.html" title="The base class for the Projector hierarchy.">ProjectorBase</a> * proj = <a class="code" href="classhippodraw_1_1XyPlotter.html#ad21611548a8b5dc96d82032aa4a886e1" title="Returns the active projector.">activeProjector</a> ();
<a name="l01003"></a>01003   
<a name="l01004"></a>01004   <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html" title="A transform that transforms coordinates from one 2D coordinate system to another...">BinaryTransform</a> * bt 
<a name="l01005"></a>01005     = dynamic_cast &lt; <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html" title="A transform that transforms coordinates from one 2D coordinate system to another...">BinaryTransform</a> * &gt; ( transform );
<a name="l01006"></a>01006   
<a name="l01007"></a>01007   <span class="comment">// Hammer or lambert</span>
<a name="l01008"></a>01008   <span class="keywordflow">if</span> ( bt -&gt; isPeriodic() )
<a name="l01009"></a>01009     {
<a name="l01010"></a>01010       <span class="keywordflow">if</span> ( bt-&gt;<a class="code" href="classhippodraw_1_1BinaryTransform.html#a299aa8f5d7a9f67aaf79055093c635c9" title="Returns the aspect ratio.">aspectRatio</a>() == 1.0 ) <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a5da36aa2c0d3f2692b57e94db9822de8">m_lambert_shape</a>;
<a name="l01011"></a>01011       <span class="keywordflow">else</span> <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a898250c4f703358cb79ee3b909d347f0" title="Default shape for XyPlotter is 360*180 or 256*256.">m_hammer_shape</a>;
<a name="l01012"></a>01012     }
<a name="l01013"></a>01013   <span class="keywordflow">else</span>
<a name="l01014"></a>01014     {
<a name="l01015"></a>01015       <span class="keywordflow">return</span> ( proj -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a9a090bb6929f23e3542b01974b466644">getShape</a>() );
<a name="l01016"></a>01016     }
<a name="l01017"></a>01017 }
<a name="l01018"></a>01018 
<a name="l01019"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#adcd7528ae55be990cf3268c28c7b285a">01019</a> <span class="keywordtype">bool</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#adcd7528ae55be990cf3268c28c7b285a" title="Get the inversion state of the cut.">XyPlotter::getCutInversion</a> ()
<a name="l01020"></a>01020 {
<a name="l01021"></a>01021   <a class="code" href="classhippodraw_1_1TupleCut.html" title="The class expresses a cut on a DataSource, i.e.">TupleCut</a> * cut = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5473ad7dbb84d30aea02973c61fbf695" title="Returns the TupleCut object at position i.">getCutAt</a> ( 0 );
<a name="l01022"></a>01022   <span class="keywordflow">return</span> cut-&gt; getInversion ();
<a name="l01023"></a>01023 }
<a name="l01024"></a>01024 
<a name="l01025"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aa3a3ccbc0581befe51f41f4207e3d01f">01025</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#aa3a3ccbc0581befe51f41f4207e3d01f" title="Sets the box-edge flag to flag.">XyPlotter::setBoxEdge</a>(<span class="keywordtype">bool</span> flag)
<a name="l01026"></a>01026 {
<a name="l01027"></a>01027   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aa3a3ccbc0581befe51f41f4207e3d01f" title="Sets the box-edge flag to flag.">setBoxEdge</a>(flag);
<a name="l01028"></a>01028   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l01029"></a>01029 }
<a name="l01030"></a>01030 
<a name="l01031"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a42bf55194d0a042dd2701fc797d71845">01031</a> <span class="keywordtype">bool</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a42bf55194d0a042dd2701fc797d71845" title="Gets the box edge flag to update Inspector.">XyPlotter::getBoxEdge</a> ()
<a name="l01032"></a>01032 {
<a name="l01033"></a>01033   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a>-&gt;<a class="code" href="classhippodraw_1_1CompositePlotter.html#a42bf55194d0a042dd2701fc797d71845" title="Gets the box edge status to update the inspector.">getBoxEdge</a>();
<a name="l01034"></a>01034 }
<a name="l01035"></a>01035 
<a name="l01036"></a>01036 
<a name="l01037"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ac20cb4443c6157ddc031a884efc9e11d">01037</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#ac20cb4443c6157ddc031a884efc9e11d" title="Sets the show-grid flag to flag.">XyPlotter::setShowGrid</a>( <span class="keywordtype">bool</span> flag )
<a name="l01038"></a>01038 {
<a name="l01039"></a>01039   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#ac20cb4443c6157ddc031a884efc9e11d" title="Sets the show-grid flag to flag.">setShowGrid</a> ( flag );
<a name="l01040"></a>01040   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l01041"></a>01041 }
<a name="l01042"></a>01042 
<a name="l01043"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a55bf0345137bdda942eb3aeca1af4e6e">01043</a> <span class="keywordtype">bool</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a55bf0345137bdda942eb3aeca1af4e6e" title="Gets the show-grid flag to update Inspector.">XyPlotter::getShowGrid</a>()
<a name="l01044"></a>01044 {
<a name="l01045"></a>01045   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a55bf0345137bdda942eb3aeca1af4e6e" title="Gets the show-grid flag to update Inspector.">getShowGrid</a> ();
<a name="l01046"></a>01046 }
<a name="l01047"></a>01047 
<a name="l01048"></a>01048 
<a name="l01049"></a>01049 <span class="keywordtype">void</span>
<a name="l01050"></a>01050 <a class="code" href="classhippodraw_1_1XyPlotter.html#a9307172f633cda713dd356a1f2cf0cbb" title="Sets the fits transform object.">XyPlotter::</a>
<a name="l01051"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a9307172f633cda713dd356a1f2cf0cbb">01051</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a9307172f633cda713dd356a1f2cf0cbb" title="Sets the fits transform object.">setFitsTransform</a> ( <span class="keyword">const</span> std::string &amp; transform )
<a name="l01052"></a>01052 {
<a name="l01053"></a>01053   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a9307172f633cda713dd356a1f2cf0cbb" title="Sets the fits transform object.">setFitsTransform</a> ( transform );
<a name="l01054"></a>01054 }
<a name="l01055"></a>01055 
<a name="l01056"></a>01056 <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> *
<a name="l01057"></a>01057 <a class="code" href="classhippodraw_1_1XyPlotter.html#a3128d6ded43402fcb25231cfa5ecfa03" title="Returns the fits transform object.">XyPlotter::</a>
<a name="l01058"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a3128d6ded43402fcb25231cfa5ecfa03">01058</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a3128d6ded43402fcb25231cfa5ecfa03" title="Returns the fits transform object.">getFitsTransform</a> ()<span class="keyword"> const</span>
<a name="l01059"></a>01059 <span class="keyword"></span>{
<a name="l01060"></a>01060   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a3128d6ded43402fcb25231cfa5ecfa03" title="Returns the fits transform object.">getFitsTransform</a> ();
<a name="l01061"></a>01061 }
<a name="l01062"></a>01062 
<a name="l01063"></a>01063 <span class="keywordtype">void</span>
<a name="l01064"></a>01064 <a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef0deb6705372d450df66efae4b2d19" title="Set the minimum entries/bin.">XyPlotter::</a>
<a name="l01065"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef0deb6705372d450df66efae4b2d19">01065</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef0deb6705372d450df66efae4b2d19" title="Set the minimum entries/bin.">setMinEntries</a> ( <span class="keywordtype">int</span> entries )
<a name="l01066"></a>01066 {
<a name="l01067"></a>01067   <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#a7ef0deb6705372d450df66efae4b2d19" title="Set the minimum entries/bin.">setMinEntries</a>(entries);
<a name="l01068"></a>01068 }
<a name="l01069"></a>01069 
<a name="l01070"></a>01070 <span class="keywordtype">int</span>
<a name="l01071"></a>01071 <a class="code" href="classhippodraw_1_1XyPlotter.html#af96954b4d284f563f634f877a97d6fef" title="Get the minimum entries/bin.">XyPlotter::</a>
<a name="l01072"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#af96954b4d284f563f634f877a97d6fef">01072</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#af96954b4d284f563f634f877a97d6fef" title="Get the minimum entries/bin.">getMinEntries</a> ()
<a name="l01073"></a>01073 {
<a name="l01074"></a>01074   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a062e8096151e526c7364499c4564e9cf" title="The currently active plotter that draws the data points.">m_plotter</a> -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#af96954b4d284f563f634f877a97d6fef" title="Get the minimum entries/bin.">getMinEntries</a> ();
<a name="l01075"></a>01075 }
<a name="l01076"></a>01076 
<a name="l01077"></a>01077 <span class="keywordtype">void</span>
<a name="l01078"></a>01078 <a class="code" href="classhippodraw_1_1XyPlotter.html#aadd08beecdfe1626c12aad1689fac2ba" title="Set the m_need_update flag, called by inspector.">XyPlotter::</a>
<a name="l01079"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aadd08beecdfe1626c12aad1689fac2ba">01079</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aadd08beecdfe1626c12aad1689fac2ba" title="Set the m_need_update flag, called by inspector.">setNeedUpdate</a>( <span class="keywordtype">bool</span> isChanged )
<a name="l01080"></a>01080 {
<a name="l01081"></a>01081   <a class="code" href="classhippodraw_1_1XyPlotter.html#a59459d49213fb017601d883c948067a6" title="Flag to indicat that the drawrect and marginrect need to be updated.">m_need_update</a> = isChanged;
<a name="l01082"></a>01082 }
<a name="l01083"></a>01083 
<a name="l01084"></a>01084 <span class="keywordtype">bool</span>
<a name="l01085"></a>01085 <a class="code" href="classhippodraw_1_1XyPlotter.html#aab17cd1d7bad7e216de2a482b25976e0" title="Returns true if contents of the plotter is convertable to an image.">XyPlotter::</a>
<a name="l01086"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aab17cd1d7bad7e216de2a482b25976e0">01086</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aab17cd1d7bad7e216de2a482b25976e0" title="Returns true if contents of the plotter is convertable to an image.">isImageConvertable</a> ()<span class="keyword"> const</span>
<a name="l01087"></a>01087 <span class="keyword"></span>{
<a name="l01088"></a>01088   <span class="keywordtype">bool</span> yes = <span class="keyword">false</span>;
<a name="l01089"></a>01089   <span class="keywordflow">if</span> ( <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.size() == 1 ) {
<a name="l01090"></a>01090     yes = <a class="code" href="classhippodraw_1_1XyPlotter.html#a5cb8bf723468f11fbabe2808de096b96" title="The list of CompositePlotter objects contained by this plotter.">m_plotters</a>.front() -&gt; <a class="code" href="classhippodraw_1_1XyPlotter.html#aab17cd1d7bad7e216de2a482b25976e0" title="Returns true if contents of the plotter is convertable to an image.">isImageConvertable</a> ();
<a name="l01091"></a>01091   }
<a name="l01092"></a>01092 
<a name="l01093"></a>01093   <span class="keywordflow">return</span> yes;
<a name="l01094"></a>01094 }
<a name="l01095"></a>01095 
<a name="l01096"></a>01096 <span class="keywordtype">void</span>
<a name="l01097"></a>01097 <a class="code" href="classhippodraw_1_1XyPlotter.html#a3b145aec3e753917fd90b28d7e1eb6eb" title="Set and get additional margin on top,bottom,left of the plotter.">XyPlotter::</a>
<a name="l01098"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a3b145aec3e753917fd90b28d7e1eb6eb">01098</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a3b145aec3e753917fd90b28d7e1eb6eb" title="Set and get additional margin on top,bottom,left of the plotter.">setTopMargin</a>( <span class="keywordtype">double</span> top ) 
<a name="l01099"></a>01099 {
<a name="l01100"></a>01100   <a class="code" href="classhippodraw_1_1XyPlotter.html#aaf057a90c0e3f5e2805ae21f77d3f23b" title="Additional margin set by user in the plotter.">m_margin_top</a>=top;
<a name="l01101"></a>01101 }
<a name="l01102"></a>01102 
<a name="l01103"></a>01103 <span class="keywordtype">void</span>
<a name="l01104"></a>01104 <a class="code" href="classhippodraw_1_1XyPlotter.html#a289f3fc86c87ce8d1f13f60f7d67aeb3">XyPlotter::</a>
<a name="l01105"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a289f3fc86c87ce8d1f13f60f7d67aeb3">01105</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a289f3fc86c87ce8d1f13f60f7d67aeb3">setZMargin</a>( <span class="keywordtype">double</span> z )
<a name="l01106"></a>01106 {
<a name="l01107"></a>01107   <a class="code" href="classhippodraw_1_1XyPlotter.html#aef13c61110a8a03bc9275574f66f282e">m_margin_z</a> = z;
<a name="l01108"></a>01108 }
<a name="l01109"></a>01109 
<a name="l01110"></a>01110 <span class="keywordtype">void</span>
<a name="l01111"></a>01111 <a class="code" href="classhippodraw_1_1XyPlotter.html#a46209517fc616ffba582b3f350229ea9">XyPlotter::</a>
<a name="l01112"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a46209517fc616ffba582b3f350229ea9">01112</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a46209517fc616ffba582b3f350229ea9">setBottomMargin</a>(<span class="keywordtype">double</span> bottom)
<a name="l01113"></a>01113 {
<a name="l01114"></a>01114   <a class="code" href="classhippodraw_1_1XyPlotter.html#a64977ed4ec1562731ad54e8ba997a3d1">m_margin_bottom</a>=bottom;
<a name="l01115"></a>01115 }
<a name="l01116"></a>01116 
<a name="l01117"></a>01117 <span class="keywordtype">void</span>
<a name="l01118"></a>01118 <a class="code" href="classhippodraw_1_1XyPlotter.html#a07314cbc95294b0f3e2131f00285283b">XyPlotter::</a>
<a name="l01119"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a07314cbc95294b0f3e2131f00285283b">01119</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a07314cbc95294b0f3e2131f00285283b">setLeftMargin</a>(<span class="keywordtype">double</span> left)
<a name="l01120"></a>01120 {
<a name="l01121"></a>01121   <a class="code" href="classhippodraw_1_1XyPlotter.html#afbc56590339313005b110bbbe469fc69">m_margin_left</a>=left;
<a name="l01122"></a>01122 }
<a name="l01123"></a>01123 
<a name="l01124"></a>01124 <span class="keywordtype">double</span>
<a name="l01125"></a>01125 <a class="code" href="classhippodraw_1_1XyPlotter.html#aa462dbed2f64c1f50a6c2b870ea79441">XyPlotter::</a>
<a name="l01126"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#aa462dbed2f64c1f50a6c2b870ea79441">01126</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#aa462dbed2f64c1f50a6c2b870ea79441">getTopMargin</a>()
<a name="l01127"></a>01127 {
<a name="l01128"></a>01128   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#aaf057a90c0e3f5e2805ae21f77d3f23b" title="Additional margin set by user in the plotter.">m_margin_top</a>;
<a name="l01129"></a>01129 }
<a name="l01130"></a>01130 
<a name="l01131"></a>01131 <span class="keywordtype">double</span>
<a name="l01132"></a>01132 <a class="code" href="classhippodraw_1_1XyPlotter.html#ae3975442107174e634e59002866f2067">XyPlotter::</a>
<a name="l01133"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#ae3975442107174e634e59002866f2067">01133</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#ae3975442107174e634e59002866f2067">getZMargin</a>()
<a name="l01134"></a>01134 {
<a name="l01135"></a>01135   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#aef13c61110a8a03bc9275574f66f282e">m_margin_z</a>;
<a name="l01136"></a>01136 }
<a name="l01137"></a>01137 
<a name="l01138"></a>01138 
<a name="l01139"></a>01139 <span class="keywordtype">double</span>
<a name="l01140"></a>01140 <a class="code" href="classhippodraw_1_1XyPlotter.html#a3125f8f76ea631df017a415f4c2bde1a">XyPlotter::</a>
<a name="l01141"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a3125f8f76ea631df017a415f4c2bde1a">01141</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a3125f8f76ea631df017a415f4c2bde1a">getBottomMargin</a>()
<a name="l01142"></a>01142 {
<a name="l01143"></a>01143   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#a64977ed4ec1562731ad54e8ba997a3d1">m_margin_bottom</a>;
<a name="l01144"></a>01144 }
<a name="l01145"></a>01145 
<a name="l01146"></a>01146 <span class="keywordtype">double</span>
<a name="l01147"></a>01147 <a class="code" href="classhippodraw_1_1XyPlotter.html#a9ce20f08b6e104397f0d55d840714dd5">XyPlotter::</a>
<a name="l01148"></a><a class="code" href="classhippodraw_1_1XyPlotter.html#a9ce20f08b6e104397f0d55d840714dd5">01148</a> <a class="code" href="classhippodraw_1_1XyPlotter.html#a9ce20f08b6e104397f0d55d840714dd5">getLeftMargin</a>()
<a name="l01149"></a>01149 {
<a name="l01150"></a>01150   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1XyPlotter.html#afbc56590339313005b110bbbe469fc69">m_margin_left</a>;
<a name="l01151"></a>01151 }
<a name="l01152"></a>01152 
</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>