Sophie

Sophie

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

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_eff62de51072964fc77c85daa9c2b3ad.html">transforms</a>
  </div>
</div>
<div class="contents">
<h1>BinaryTransform.cxx</h1><a href="BinaryTransform_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">#include &quot;<a class="code" href="BinaryTransform_8h.html" title="hippodraw::BinaryTransform class interface">BinaryTransform.h</a>&quot;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="UnaryTransform_8h.html" title="UnaryTransform class interface.">UnaryTransform.h</a>&quot;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;cassert&gt;</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="keyword">namespace </span>hippodraw {
<a name="l00019"></a>00019 
<a name="l00024"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#ae182250982e74898cf25878d85225b86">00024</a> <a class="code" href="classhippodraw_1_1BinaryTransform.html#ae182250982e74898cf25878d85225b86" title="The default constructor.">BinaryTransform::BinaryTransform</a> ()
<a name="l00025"></a>00025 {
<a name="l00026"></a>00026   <a class="code" href="classhippodraw_1_1TransformBase.html#adb41893ba19e889e56c559f25fc1a68a" title="Name of the Transform.">m_name</a> = <span class="stringliteral">&quot;nil&quot;</span>;
<a name="l00027"></a>00027 
<a name="l00028"></a>00028   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a9c7f133880e3661723a79ba6aea41359" title="Does this binary transform needs grid?">m_needs_grid</a> = <span class="keyword">false</span>;
<a name="l00029"></a>00029   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a36f247955910935f7b8fdd26d43de718" title="Does this binary transform x ticks?">m_needs_x_ticks</a> = <span class="keyword">true</span>;
<a name="l00030"></a>00030   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a3e731fb5a849eb5a4366eb7198c74598" title="Does this binary transform y ticks?">m_needs_y_ticks</a> = <span class="keyword">true</span>;
<a name="l00031"></a>00031   <a class="code" href="classhippodraw_1_1BinaryTransform.html#aabe13470facdd816b2c23e4997baea6e" title="Is this transform periodic.">m_is_periodic</a> = <span class="keyword">false</span>;
<a name="l00032"></a>00032   
<a name="l00033"></a>00033   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> = 0;
<a name="l00034"></a>00034 }
<a name="l00035"></a>00035 
<a name="l00036"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a8ed556ce6a130f57ecb5e8b4136b0297">00036</a> <a class="code" href="classhippodraw_1_1BinaryTransform.html#ae182250982e74898cf25878d85225b86" title="The default constructor.">BinaryTransform::BinaryTransform</a> ( <a class="code" href="classhippodraw_1_1UnaryTransform.html" title="A transform that transforms coordinates in one dimension from one coordinate system...">UnaryTransform</a> * z,
<a name="l00037"></a>00037                                    <span class="keywordtype">bool</span> is_periodic,
<a name="l00038"></a>00038                                    <span class="keywordtype">bool</span> needs_grid,
<a name="l00039"></a>00039                                    <span class="keywordtype">bool</span> needs_x_ticks,
<a name="l00040"></a>00040                                    <span class="keywordtype">bool</span> needs_y_ticks )
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> = z;
<a name="l00043"></a>00043   <a class="code" href="classhippodraw_1_1TransformBase.html#adb41893ba19e889e56c559f25fc1a68a" title="Name of the Transform.">m_name</a> = <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>-&gt;<a class="code" href="classhippodraw_1_1TransformBase.html#a11c23a386abb9eb8a42f0c2c2835d640" title="Returns the name of the Transform.">name</a>();
<a name="l00044"></a>00044   
<a name="l00045"></a>00045   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a9c7f133880e3661723a79ba6aea41359" title="Does this binary transform needs grid?">m_needs_grid</a> = needs_grid;
<a name="l00046"></a>00046   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a36f247955910935f7b8fdd26d43de718" title="Does this binary transform x ticks?">m_needs_x_ticks</a> = needs_x_ticks;
<a name="l00047"></a>00047   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a3e731fb5a849eb5a4366eb7198c74598" title="Does this binary transform y ticks?">m_needs_y_ticks</a> = needs_y_ticks;
<a name="l00048"></a>00048   <a class="code" href="classhippodraw_1_1BinaryTransform.html#aabe13470facdd816b2c23e4997baea6e" title="Is this transform periodic.">m_is_periodic</a> = is_periodic;
<a name="l00049"></a>00049   
<a name="l00050"></a>00050 }
<a name="l00051"></a>00051 
<a name="l00052"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a847c57db016116c0a778a07e3312cfce">00052</a> <a class="code" href="classhippodraw_1_1BinaryTransform.html#ae182250982e74898cf25878d85225b86" title="The default constructor.">BinaryTransform::BinaryTransform</a> ( <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> &amp; t )
<a name="l00053"></a>00053   : <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> ( t )
<a name="l00054"></a>00054 {
<a name="l00055"></a>00055   
<a name="l00056"></a>00056   <span class="keywordflow">if</span> ( t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> == 0 ){
<a name="l00057"></a>00057     <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> = 0;
<a name="l00058"></a>00058     <span class="keywordflow">return</span>;
<a name="l00059"></a>00059   }
<a name="l00060"></a>00060 
<a name="l00061"></a>00061   assert ( t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> );
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 <span class="preprocessor">#ifdef CLONE_DEFECT</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> = dynamic_cast &lt; <a class="code" href="classhippodraw_1_1UnaryTransform.html" title="A transform that transforms coordinates in one dimension from one coordinate system...">UnaryTransform</a> * &gt; ( t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>-&gt;<a class="code" href="classhippodraw_1_1UnaryTransform.html#a62f01e28f2e165c8984769315fc996b3" title="Function to make copy of object.">clone</a> () );
<a name="l00065"></a>00065 <span class="preprocessor">#else</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> = t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>-&gt;<a class="code" href="classhippodraw_1_1UnaryTransform.html#a62f01e28f2e165c8984769315fc996b3" title="Function to make copy of object.">clone</a> ();
<a name="l00067"></a>00067 <span class="preprocessor">#endif</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>    
<a name="l00069"></a>00069   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a9c7f133880e3661723a79ba6aea41359" title="Does this binary transform needs grid?">m_needs_grid</a>    = t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#a69a177406083648528256b53c18545a1" title="Returns whether this transform needs grid.">needsGrid</a>();
<a name="l00070"></a>00070   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a36f247955910935f7b8fdd26d43de718" title="Does this binary transform x ticks?">m_needs_x_ticks</a> = t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#aa0f4608961270d2255232dd503b3694a" title="Returns whether this transform needs x ticks.">needsXTicks</a>();
<a name="l00071"></a>00071   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a3e731fb5a849eb5a4366eb7198c74598" title="Does this binary transform y ticks?">m_needs_y_ticks</a> = t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#a19a75f93b5adfb0d965e6ab346531fe6" title="Returns whether this transform needs y ticks.">needsYTicks</a>();
<a name="l00072"></a>00072   <a class="code" href="classhippodraw_1_1BinaryTransform.html#aabe13470facdd816b2c23e4997baea6e" title="Is this transform periodic.">m_is_periodic</a>   = t.<a class="code" href="classhippodraw_1_1BinaryTransform.html#ae0d9b140b2b3e410478fe5554dc6a57b" title="Sets whether this transform is periodic.">isPeriodic</a>();
<a name="l00073"></a>00073   
<a name="l00074"></a>00074 }
<a name="l00075"></a>00075 
<a name="l00076"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a2f3d7f7b9c34a1e5f0bbb2b77df62b7a">00076</a> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a2f3d7f7b9c34a1e5f0bbb2b77df62b7a" title="The virtual destructor.">BinaryTransform::~BinaryTransform</a> ()
<a name="l00077"></a>00077 {
<a name="l00078"></a>00078   <span class="keyword">delete</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>;
<a name="l00079"></a>00079 }
<a name="l00080"></a>00080 
<a name="l00081"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a299aa8f5d7a9f67aaf79055093c635c9">00081</a> <span class="keywordtype">double</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a299aa8f5d7a9f67aaf79055093c635c9" title="Returns the aspect ratio.">BinaryTransform::aspectRatio</a> ()<span class="keyword"> const</span>
<a name="l00082"></a>00082 <span class="keyword"></span>{
<a name="l00083"></a>00083   <span class="keywordflow">return</span> 0.0;
<a name="l00084"></a>00084 }
<a name="l00085"></a>00085 
<a name="l00086"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a9e91d3eb92a4a04abf58392e1b29b719">00086</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_1BinaryTransform.html#a9e91d3eb92a4a04abf58392e1b29b719" title="Returns the transform function on the Z axis.">BinaryTransform::zTransform</a> ()<span class="keyword"> const</span>
<a name="l00087"></a>00087 <span class="keyword"></span>{
<a name="l00088"></a>00088   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>;
<a name="l00089"></a>00089 }
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 <span class="keywordtype">void</span>
<a name="l00092"></a>00092 <a class="code" href="classhippodraw_1_1BinaryTransform.html#a73518d714b817e82c77b263345543a85" title="Sets the transform function on the Z axis.">BinaryTransform::</a>
<a name="l00093"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a73518d714b817e82c77b263345543a85">00093</a> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a73518d714b817e82c77b263345543a85" title="Sets the transform function on the Z axis.">setZTransform</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="l00094"></a>00094 {
<a name="l00095"></a>00095   <a class="code" href="classhippodraw_1_1UnaryTransform.html" title="A transform that transforms coordinates in one dimension from one coordinate system...">UnaryTransform</a> * t = dynamic_cast &lt; <a class="code" href="classhippodraw_1_1UnaryTransform.html" title="A transform that transforms coordinates in one dimension from one coordinate system...">UnaryTransform</a> * &gt; ( transform );
<a name="l00096"></a>00096 
<a name="l00097"></a>00097   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> = t;
<a name="l00098"></a>00098 }
<a name="l00099"></a>00099 
<a name="l00100"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#aa58baf76c2af700afcec2326e14f44c4">00100</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#aa58baf76c2af700afcec2326e14f44c4" title="Transforms the z coordinate.">BinaryTransform::transformZ</a> ( <span class="keywordtype">double</span> &amp; z )<span class="keyword"> const</span>
<a name="l00101"></a>00101 <span class="keyword"></span>{
<a name="l00102"></a>00102   assert ( <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> );
<a name="l00103"></a>00103   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>-&gt;<a class="code" href="classhippodraw_1_1UnaryTransform.html#ab35684b7c3ddc8d8410e3b74cff8633b" title="Transforms the coordinate x.">transform</a> ( z );
<a name="l00104"></a>00104 }
<a name="l00105"></a>00105 
<a name="l00106"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a7c97afed1756447bd3b6741f34bab4e0">00106</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a7c97afed1756447bd3b6741f34bab4e0" title="Inverse transforms the z coordinate.">BinaryTransform::inverseTransformZ</a> ( <span class="keywordtype">double</span> &amp; z )<span class="keyword"> const</span>
<a name="l00107"></a>00107 <span class="keyword"></span>{
<a name="l00108"></a>00108   assert ( <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> );
<a name="l00109"></a>00109   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>-&gt;<a class="code" href="classhippodraw_1_1UnaryTransform.html#acf7aa275bf7a223fa206670e58397002" title="Inverse transforms the coordinate x.">inverseTransform</a> ( z );
<a name="l00110"></a>00110 }
<a name="l00111"></a>00111 
<a name="l00112"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a47c7d8ba731beb8fb186663f4d218ffb">00112</a> <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> &amp; <a class="code" href="classhippodraw_1_1BinaryTransform.html#a47c7d8ba731beb8fb186663f4d218ffb" title="Returns the Range limits on the third coordinate.">BinaryTransform::limitZ</a> ()<span class="keyword"> const</span>
<a name="l00113"></a>00113 <span class="keyword"></span>{
<a name="l00114"></a>00114   assert ( <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a> );
<a name="l00115"></a>00115   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>-&gt;<a class="code" href="classhippodraw_1_1UnaryTransform.html#a13cb9ad6f1bda804d728eac5fff636e7" title="Returns a Range whose values are the limits on the coordinate.">limits</a>();
<a name="l00116"></a>00116 }
<a name="l00117"></a>00117 
<a name="l00118"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a69a177406083648528256b53c18545a1">00118</a> <span class="keywordtype">bool</span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#a69a177406083648528256b53c18545a1" title="Returns whether this transform needs grid.">BinaryTransform::needsGrid</a>()<span class="keyword"> const</span>
<a name="l00119"></a>00119 <span class="keyword"></span>{
<a name="l00120"></a>00120   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a9c7f133880e3661723a79ba6aea41359" title="Does this binary transform needs grid?">m_needs_grid</a>;
<a name="l00121"></a>00121 }
<a name="l00122"></a>00122 
<a name="l00123"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#abb3e75200c86808b9c673bfe84b2e698">00123</a> <span class="keywordtype">void</span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#abb3e75200c86808b9c673bfe84b2e698" title="Sets whether this transform needs grid.">BinaryTransform::setNeedsGrid</a>( <span class="keywordtype">bool</span>  needs_grid )
<a name="l00124"></a>00124 {
<a name="l00125"></a>00125   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a9c7f133880e3661723a79ba6aea41359" title="Does this binary transform needs grid?">m_needs_grid</a> = needs_grid;
<a name="l00126"></a>00126 }
<a name="l00127"></a>00127 
<a name="l00128"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#aa0f4608961270d2255232dd503b3694a">00128</a> <span class="keywordtype">bool</span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#aa0f4608961270d2255232dd503b3694a" title="Returns whether this transform needs x ticks.">BinaryTransform::needsXTicks</a>()<span class="keyword"> const</span>
<a name="l00129"></a>00129 <span class="keyword"></span>{
<a name="l00130"></a>00130   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a36f247955910935f7b8fdd26d43de718" title="Does this binary transform x ticks?">m_needs_x_ticks</a>;
<a name="l00131"></a>00131 }
<a name="l00132"></a>00132 
<a name="l00133"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a406eb08ec19a17d116905ee0a97fecd3">00133</a> <span class="keywordtype">void</span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#a406eb08ec19a17d116905ee0a97fecd3" title="Sets whether this transform needs x ticks.">BinaryTransform::setNeedsXTicks</a>( <span class="keywordtype">bool</span> needs_x_ticks ) 
<a name="l00134"></a>00134 {
<a name="l00135"></a>00135   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a36f247955910935f7b8fdd26d43de718" title="Does this binary transform x ticks?">m_needs_x_ticks</a> = needs_x_ticks;
<a name="l00136"></a>00136 }
<a name="l00137"></a>00137 
<a name="l00138"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a19a75f93b5adfb0d965e6ab346531fe6">00138</a> <span class="keywordtype">bool</span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#a19a75f93b5adfb0d965e6ab346531fe6" title="Returns whether this transform needs y ticks.">BinaryTransform::needsYTicks</a>()<span class="keyword"> const</span>
<a name="l00139"></a>00139 <span class="keyword"></span>{
<a name="l00140"></a>00140   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a3e731fb5a849eb5a4366eb7198c74598" title="Does this binary transform y ticks?">m_needs_y_ticks</a>;
<a name="l00141"></a>00141 }
<a name="l00142"></a>00142 
<a name="l00143"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#ac1413e19ffb174f992e3cfc14e7dbb44">00143</a> <span class="keywordtype">void</span>  <a class="code" href="classhippodraw_1_1BinaryTransform.html#ac1413e19ffb174f992e3cfc14e7dbb44" title="Sets whether this transform needs y yicks.">BinaryTransform::setNeedsYTicks</a>( <span class="keywordtype">bool</span> needs_y_ticks ) 
<a name="l00144"></a>00144 {
<a name="l00145"></a>00145   <a class="code" href="classhippodraw_1_1BinaryTransform.html#a3e731fb5a849eb5a4366eb7198c74598" title="Does this binary transform y ticks?">m_needs_y_ticks</a> = needs_y_ticks;
<a name="l00146"></a>00146 }
<a name="l00147"></a>00147 
<a name="l00148"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#ae0d9b140b2b3e410478fe5554dc6a57b">00148</a> <span class="keywordtype">bool</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#ae0d9b140b2b3e410478fe5554dc6a57b" title="Sets whether this transform is periodic.">BinaryTransform::isPeriodic</a>()<span class="keyword"> const</span>
<a name="l00149"></a>00149 <span class="keyword"></span>{
<a name="l00150"></a>00150   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#aabe13470facdd816b2c23e4997baea6e" title="Is this transform periodic.">m_is_periodic</a>;
<a name="l00151"></a>00151 }
<a name="l00152"></a>00152 
<a name="l00153"></a><a class="code" href="classhippodraw_1_1BinaryTransform.html#a3c0610534d2786cd30b790d7c325f47e">00153</a> <span class="keywordtype">bool</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a3c0610534d2786cd30b790d7c325f47e" title="Returns true if the transform would be one to one on Z axes.">BinaryTransform::isLinearInZ</a>()<span class="keyword"> const</span>
<a name="l00154"></a>00154 <span class="keyword"></span>{
<a name="l00155"></a>00155   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1BinaryTransform.html#a08e3b80cfc9b2bd537dd0998da5087c4" title="The transform on the Z axis.">m_z</a>-&gt;<a class="code" href="classhippodraw_1_1UnaryTransform.html#a92759be692dcbc1e4793d6fc3545481e">isLinear</a>();
<a name="l00156"></a>00156 }
<a name="l00157"></a>00157 
<a name="l00158"></a>00158 
<a name="l00159"></a>00159 } <span class="comment">// namespace hippodraw</span>
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>