Sophie

Sophie

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

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>TextPlotter.cxx</h1><a href="TextPlotter_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="comment">// for truncation warning in debug mode</span>
<a name="l00013"></a>00013 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#include &quot;msdevstudio/MSconfig.h&quot;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#endif</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="TextPlotter_8h.html" title="TextPlotter class interface.">TextPlotter.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="preprocessor">#include &quot;<a class="code" href="TextDataRep_8h.html" title="hippodraw::TextDataRep class interface">datareps/TextDataRep.h</a>&quot;</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;cassert&gt;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="keyword">using</span> std::list;
<a name="l00024"></a>00024 <span class="keyword">using</span> std::swap;
<a name="l00025"></a>00025 <span class="keyword">using</span> std::string;
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="keyword">using namespace </span>hippodraw;
<a name="l00028"></a>00028 
<a name="l00029"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#aee079badca73392e0e557c3210ce06eb">00029</a> TextPlotter::TextPlotter ( )
<a name="l00030"></a>00030   : <a class="code" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy.">PlotterBase</a> ( <span class="stringliteral">&quot;TextPlotter&quot;</span> )
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032   <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a> = <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1TextDataRep.html" title="Displays data in textual representation.">TextDataRep</a> ( 0 );
<a name="l00033"></a>00033   <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;none&quot;</span>;
<a name="l00034"></a>00034 }
<a name="l00035"></a>00035 
<a name="l00036"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a013e9c908a998e73932e0a54d78016be">00036</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#aee079badca73392e0e557c3210ce06eb" title="The default constructor.">TextPlotter::TextPlotter</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1TextPlotter.html" title="A Plotter class that draws text.">TextPlotter</a> &amp; plotter )
<a name="l00037"></a>00037   : <a class="code" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy.">PlotterBase</a> ( plotter )
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 }
<a name="l00040"></a>00040 
<a name="l00041"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#af736d4dee76bd84a9cbeb712060f1800">00041</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#af736d4dee76bd84a9cbeb712060f1800" title="The destructor.">TextPlotter::~TextPlotter</a> ()
<a name="l00042"></a>00042 {
<a name="l00043"></a>00043   <span class="keywordflow">if</span> ( <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a> != 0 ) <span class="keyword">delete</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>;
<a name="l00044"></a>00044 }
<a name="l00045"></a>00045 
<a name="l00046"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a62e4ad0bd8430cb77896170749953f2a">00046</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_1TextPlotter.html#a62e4ad0bd8430cb77896170749953f2a" title="The clone function returns an object of its own kind which is a copy of this object...">TextPlotter::clone</a> ()
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048   <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#aee079badca73392e0e557c3210ce06eb" title="The default constructor.">TextPlotter</a> ( *<span class="keyword">this</span> );
<a name="l00049"></a>00049 }
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="comment">/* virtual */</span>
<a name="l00052"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a00ce5cb89847e32d808196841499cea3">00052</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a00ce5cb89847e32d808196841499cea3" title="Adds a DataRep object to the plotter.">TextPlotter::addDataRep</a> ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep )
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054   <a class="code" href="classhippodraw_1_1TextDataRep.html" title="Displays data in textual representation.">TextDataRep</a> * textrep = dynamic_cast &lt; <a class="code" href="classhippodraw_1_1TextDataRep.html" title="Displays data in textual representation.">TextDataRep</a> * &gt; ( rep );
<a name="l00055"></a>00055   assert ( textrep != 0 );
<a name="l00056"></a>00056 
<a name="l00057"></a>00057   <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a> = textrep;
<a name="l00058"></a>00058 }
<a name="l00059"></a>00059 
<a name="l00060"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a791198b102f1b7a0bd82481ff808ccf2">00060</a> <span class="keywordtype">int</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a791198b102f1b7a0bd82481ff808ccf2" title="Returns the number of DataRep objects contained in the plot.">TextPlotter::getNumDataReps</a> ()<span class="keyword"> const</span>
<a name="l00061"></a>00061 <span class="keyword"></span>{
<a name="l00062"></a>00062   <span class="keywordflow">return</span> 1;
<a name="l00063"></a>00063 }
<a name="l00064"></a>00064 
<a name="l00065"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a01276a540bb45efe42eff231f73ae615">00065</a> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * <a class="code" href="classhippodraw_1_1TextPlotter.html#a01276a540bb45efe42eff231f73ae615" title="Returns the specified DataRep or null pointer if it doesn&amp;#39;t exits.">TextPlotter::getDataRep</a> ( <span class="keywordtype">int</span> )<span class="keyword"> const</span>
<a name="l00066"></a>00066 <span class="keyword"></span>{
<a name="l00067"></a>00067   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>;
<a name="l00068"></a>00068 }
<a name="l00069"></a>00069 
<a name="l00070"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#ad81fbda38c94508013ff5aa951a815ea">00070</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#ad81fbda38c94508013ff5aa951a815ea" title="Starts the drawing in view view.">TextPlotter::drawIn</a> ( <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view )
<a name="l00071"></a>00071 {
<a name="l00072"></a>00072   <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>-&gt;<a class="code" href="classhippodraw_1_1TextDataRep.html#a25b67f880fe10746e06718bc8df027ba" title="Overrides the base class implementation to draw the values based on the target DataRep...">drawProjectedValues</a> ( 0, view );
<a name="l00073"></a>00073 }
<a name="l00074"></a>00074 
<a name="l00075"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a31579875c6ccc59185e3503446d4a09a">00075</a> <span class="keywordtype">bool</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a31579875c6ccc59185e3503446d4a09a" title="Returns false since TextPlotter does not have ntuple bindings.">TextPlotter::hasNTupleBindings</a> ()<span class="keyword"> const</span>
<a name="l00076"></a>00076 <span class="keyword"></span>{
<a name="l00077"></a>00077   <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00078"></a>00078 }
<a name="l00079"></a>00079 
<a name="l00080"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a35b7d7b01d7145263276d56ee3d2cafc">00080</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a35b7d7b01d7145263276d56ee3d2cafc" title="Sets the PointRep.">TextPlotter::setRepresentation</a> ( <a class="code" href="classhippodraw_1_1RepBase.html" title="The base class for the point representation hierarchy.">RepBase</a> * rep )
<a name="l00081"></a>00081 {
<a name="l00082"></a>00082   <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>-&gt;<a class="code" href="classhippodraw_1_1DataRep.html#a9870b1378e32b2789ab4c68a0445c348" title="Sets the representation of the data points.">setPointRep</a> ( rep );
<a name="l00083"></a>00083 }
<a name="l00084"></a>00084 
<a name="l00085"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#aa4725f011a8b3d69168621a683bc3526">00085</a> <a class="code" href="classhippodraw_1_1RepBase.html" title="The base class for the point representation hierarchy.">RepBase</a> * <a class="code" href="classhippodraw_1_1TextPlotter.html#aa4725f011a8b3d69168621a683bc3526" title="Returns the representation used by the plotter.">TextPlotter::representation</a> ()<span class="keyword"> const</span>
<a name="l00086"></a>00086 <span class="keyword"></span>{
<a name="l00087"></a>00087   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>-&gt;<a class="code" href="classhippodraw_1_1DataRep.html#abfc737a326dbb09bd633f8b84234ddec" title="Returns the representation used to draw the data points.">getRepresentation</a> ();
<a name="l00088"></a>00088 }
<a name="l00089"></a>00089  
<a name="l00091"></a>00091 <span class="keywordtype">void</span>
<a name="l00092"></a>00092 <a class="code" href="classhippodraw_1_1TextPlotter.html#abdcda7f241c11cfb33b3d75a8047bc6d">TextPlotter::</a>
<a name="l00093"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#abdcda7f241c11cfb33b3d75a8047bc6d">00093</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#abdcda7f241c11cfb33b3d75a8047bc6d">setErrorDisplay</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a>, <span class="keywordtype">bool</span> )
<a name="l00094"></a>00094 {
<a name="l00095"></a>00095   assert ( <span class="keyword">false</span> );
<a name="l00096"></a>00096 }
<a name="l00097"></a>00097 
<a name="l00099"></a>00099 <span class="keywordtype">bool</span>
<a name="l00100"></a>00100 <a class="code" href="classhippodraw_1_1TextPlotter.html#a3d7334f6febfd417b79982a30e63c5bd">TextPlotter::</a>
<a name="l00101"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a3d7334f6febfd417b79982a30e63c5bd">00101</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#a3d7334f6febfd417b79982a30e63c5bd">errorDisplay</a> ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> )<span class="keyword"> const</span>
<a name="l00102"></a>00102 <span class="keyword"></span>{
<a name="l00103"></a>00103   <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00104"></a>00104 }
<a name="l00105"></a>00105 
<a name="l00106"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a52d1327fa58661927dc71b85fde81bdb">00106</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a52d1327fa58661927dc71b85fde81bdb" title="Sets the AxisModel on the specified axis.">TextPlotter::setAxisModel</a> ( <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> *, <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> )
<a name="l00107"></a>00107 {
<a name="l00108"></a>00108 }
<a name="l00109"></a>00109 
<a name="l00110"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#ab6ac85edb978c2ec1253028e606d539d">00110</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#ab6ac85edb978c2ec1253028e606d539d" title="Sets the representation&amp;#39;s color.">TextPlotter::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="l00111"></a>00111 {
<a name="l00112"></a>00112   <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>-&gt;<a class="code" href="classhippodraw_1_1DataRep.html#ab6ac85edb978c2ec1253028e606d539d" title="Sets the color of the data representation.">setRepColor</a> ( color );
<a name="l00113"></a>00113   <a class="code" href="classhippodraw_1_1Observable.html#a22405609eb7094686259b6a82ad8e0cc" title="Notifies Observer objects of a change.">notifyObservers</a> ();
<a name="l00114"></a>00114 }
<a name="l00115"></a>00115 
<a name="l00116"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a58c024c8fd78de08608756b0b3af2a18">00116</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; <a class="code" href="classhippodraw_1_1TextPlotter.html#a58c024c8fd78de08608756b0b3af2a18" title="Returns the color used for the representation.">TextPlotter::repColor</a> ()<span class="keyword"> const</span>
<a name="l00117"></a>00117 <span class="keyword"></span>{
<a name="l00118"></a>00118   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>-&gt;<a class="code" href="classhippodraw_1_1DataRep.html#a422efb56dc7a07c9ed8cd6b056ab8711" title="Returns the color used for the representation.">getRepColor</a>();
<a name="l00119"></a>00119 }
<a name="l00120"></a>00120 
<a name="l00121"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#ab04d1171abbedff5fed56c7a20fccee2">00121</a> <span class="keywordtype">float</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#ab04d1171abbedff5fed56c7a20fccee2" title="Does nothing.">TextPlotter::userToMarginX</a> ( <span class="keywordtype">double</span> x )<span class="keyword"> const</span>
<a name="l00122"></a>00122 <span class="keyword"></span>{
<a name="l00123"></a>00123   <span class="keywordflow">return</span> x;
<a name="l00124"></a>00124 }
<a name="l00125"></a>00125 
<a name="l00126"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a83bad97945ec0e23cc2b343bc383708c">00126</a> <span class="keywordtype">float</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a83bad97945ec0e23cc2b343bc383708c" title="Does nothing.">TextPlotter::userToMarginY</a> ( <span class="keywordtype">double</span> y )<span class="keyword"> const</span>
<a name="l00127"></a>00127 <span class="keyword"></span>{
<a name="l00128"></a>00128   <span class="keywordflow">return</span> y;
<a name="l00129"></a>00129 }
<a name="l00130"></a>00130 
<a name="l00131"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#ae98a2eca3fda293f98fd2af1764e0d11">00131</a> <span class="keywordtype">float</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#ae98a2eca3fda293f98fd2af1764e0d11" title="Does nothing.">TextPlotter::userToInvertedMarginY</a> ( <span class="keywordtype">double</span> y )<span class="keyword"> const</span>
<a name="l00132"></a>00132 <span class="keyword"></span>{
<a name="l00133"></a>00133   <span class="keywordflow">return</span> y;
<a name="l00134"></a>00134 }
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 <span class="keywordtype">void</span>
<a name="l00137"></a>00137 <a class="code" href="classhippodraw_1_1TextPlotter.html#a94844008b306b238062eef48aa2a72d9">TextPlotter::</a>
<a name="l00138"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a94844008b306b238062eef48aa2a72d9">00138</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#a94844008b306b238062eef48aa2a72d9">toUserXY</a> ( <span class="keywordtype">double</span> mx, <span class="keywordtype">double</span> my, <span class="keywordtype">bool</span>, 
<a name="l00139"></a>00139            <span class="keywordtype">double</span> &amp; ux, <span class="keywordtype">double</span> &amp; uy )<span class="keyword"> const</span>
<a name="l00140"></a>00140 <span class="keyword"></span>{
<a name="l00141"></a>00141   ux = mx;
<a name="l00142"></a>00142   uy = my;
<a name="l00143"></a>00143 }
<a name="l00144"></a>00144 
<a name="l00145"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#ac7b3bc5a3e719a7f022f55e0b056e9de">00145</a> <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * <a class="code" href="classhippodraw_1_1TextPlotter.html#ac7b3bc5a3e719a7f022f55e0b056e9de" title="Returns the target DataRep of its own TextDataRep object.">TextPlotter:: getParentDataRep</a> ()<span class="keyword"> const</span>
<a name="l00146"></a>00146 <span class="keyword"></span>{
<a name="l00147"></a>00147   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a> -&gt; <a class="code" href="classhippodraw_1_1TextPlotter.html#ac7b3bc5a3e719a7f022f55e0b056e9de" title="Returns the target DataRep of its own TextDataRep object.">getParentDataRep</a> ();
<a name="l00148"></a>00148 }
<a name="l00149"></a>00149 
<a name="l00150"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a575fb04b654ddc672e474ed73fc1935a">00150</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a575fb04b654ddc672e474ed73fc1935a" title="Sets the target DataRep of its own TextDataRep object.">TextPlotter:: setParentDataRep</a> ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep )
<a name="l00151"></a>00151 {
<a name="l00152"></a>00152   <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a> -&gt; <a class="code" href="classhippodraw_1_1TextPlotter.html#a575fb04b654ddc672e474ed73fc1935a" title="Sets the target DataRep of its own TextDataRep object.">setParentDataRep</a> ( rep );
<a name="l00153"></a>00153   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="l00154"></a>00154 }
<a name="l00155"></a>00155 
<a name="l00156"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a486e625e490369e6e75cce2e38ed1774">00156</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1TextPlotter.html#a486e625e490369e6e75cce2e38ed1774" title="Notifies this Observer object that one of its Observable objects is about to be deleted...">TextPlotter::willDelete</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Observable.html" title="Part of an implementation of the Observable-Observer pattern based on the example...">Observable</a> * observable )
<a name="l00157"></a>00157 {
<a name="l00158"></a>00158    <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep = dynamic_cast &lt; <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * &gt; ( observable );
<a name="l00159"></a>00159    <span class="keywordflow">if</span> ( <a class="code" href="classhippodraw_1_1TextPlotter.html#ac7b3bc5a3e719a7f022f55e0b056e9de" title="Returns the target DataRep of its own TextDataRep object.">getParentDataRep</a>() == rep ){
<a name="l00160"></a>00160      <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a>-&gt;<a class="code" href="classhippodraw_1_1DataRep.html#ab7eed5c128386ac71e451a1c498469f0" title="Sets the parent DataRep.">setParentDataRep</a> ( 0 );
<a name="l00161"></a>00161    }
<a name="l00162"></a>00162 }
<a name="l00163"></a>00163 
<a name="l00164"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#ae6acb9cc969d99acfaff29261a89dfa5">00164</a> <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * <a class="code" href="classhippodraw_1_1TextPlotter.html#ae6acb9cc969d99acfaff29261a89dfa5">TextPlotter::getTransform</a> ()
<a name="l00165"></a>00165 {
<a name="l00166"></a>00166   <span class="keywordflow">return</span> 0;
<a name="l00167"></a>00167 }
<a name="l00168"></a>00168 
<a name="l00170"></a>00170 <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="l00171"></a>00171 <a class="code" href="classhippodraw_1_1TextPlotter.html#a68e4ca34a0c4aa4d4eeaa0e521fe6386">TextPlotter::</a>
<a name="l00172"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a68e4ca34a0c4aa4d4eeaa0e521fe6386">00172</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#a68e4ca34a0c4aa4d4eeaa0e521fe6386">createNTuple</a> ()<span class="keyword"> const</span>
<a name="l00173"></a>00173 <span class="keyword"></span>{
<a name="l00174"></a>00174   <span class="keywordflow">return</span> 0;
<a name="l00175"></a>00175 }
<a name="l00176"></a>00176 
<a name="l00177"></a>00177 <span class="keywordtype">void</span>
<a name="l00178"></a>00178 <a class="code" href="classhippodraw_1_1TextPlotter.html#ac5c54df7ed3b930268c8d7752c101725" title="Updates the plotter.">TextPlotter::</a>
<a name="l00179"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#ac5c54df7ed3b930268c8d7752c101725">00179</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#ac5c54df7ed3b930268c8d7752c101725" title="Updates the plotter.">update</a> ()
<a name="l00180"></a>00180 {
<a name="l00181"></a>00181   <a class="code" href="classhippodraw_1_1TextPlotter.html#aaa79028ed8a51835e83329b9e323af56" title="The DataRep object being used.">m_datarep</a> -&gt; <a class="code" href="classhippodraw_1_1TextPlotter.html#ac5c54df7ed3b930268c8d7752c101725" title="Updates the plotter.">update</a> ();
<a name="l00182"></a>00182 }
<a name="l00183"></a>00183 
<a name="l00184"></a>00184 <span class="keywordtype">bool</span>
<a name="l00185"></a>00185 <a class="code" href="classhippodraw_1_1TextPlotter.html#a30339ed3c1335dfc0ff96372e25304df" title="Return true if it&amp;#39;s a text plotter.">TextPlotter::</a>
<a name="l00186"></a><a class="code" href="classhippodraw_1_1TextPlotter.html#a30339ed3c1335dfc0ff96372e25304df">00186</a> <a class="code" href="classhippodraw_1_1TextPlotter.html#a30339ed3c1335dfc0ff96372e25304df" title="Return true if it&amp;#39;s a text plotter.">isTextPlotter</a> ()<span class="keyword"> const</span>
<a name="l00187"></a>00187 <span class="keyword"></span>{
<a name="l00188"></a>00188   <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00189"></a>00189 }
</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>