Sophie

Sophie

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

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>TransformFactory.h</h1><a href="TransformFactory_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*  -*- mode: c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment"> *</span>
<a name="l00003"></a>00003 <span class="comment"> * HippoPlot TransformFactory class interface</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * Copyright (C) 2000, 2001, 2003   The Board of Trustees of The Leland</span>
<a name="l00006"></a>00006 <span class="comment"> * Stanford Junior University.  All Rights Reserved.</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * $Id: TransformFactory.h,v 1.16 2005/10/30 00:10:18 pfkeb Exp $</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> */</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="preprocessor">#ifndef _TransformFactory_H_</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define _TransformFactory_H_</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &quot;<a class="code" href="Factory_8h.html" title="hippodraw::Factory class interface and template implementation">pattern/Factory.h</a>&quot;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="keyword">namespace </span>hippodraw {
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">class </span>TransformBase;
<a name="l00020"></a>00020 
<a name="l00028"></a><a class="code" href="classhippodraw_1_1TransformFactory.html">00028</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1TransformFactory.html" title="The singleton Factory class for creating objects whose class is derived from TransformBase...">TransformFactory</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1Factory.html" title="The base class for singleton factory classes.">Factory</a> &lt; TransformBase &gt;
<a name="l00029"></a>00029 {
<a name="l00030"></a>00030 
<a name="l00031"></a>00031  <span class="keyword">private</span>:
<a name="l00032"></a>00032 
<a name="l00034"></a><a class="code" href="classhippodraw_1_1TransformFactory.html#a82fcbecade4025cb988ebf3714812bfe">00034</a>   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1TransformFactory.html" title="The singleton Factory class for creating objects whose class is derived from TransformBase...">TransformFactory</a> * s_instance;
<a name="l00035"></a>00035 
<a name="l00037"></a>00037   <a class="code" href="classhippodraw_1_1TransformFactory.html" title="The singleton Factory class for creating objects whose class is derived from TransformBase...">TransformFactory</a>( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1TransformFactory.html" title="The singleton Factory class for creating objects whose class is derived from TransformBase...">TransformFactory</a> &amp; );
<a name="l00038"></a>00038 
<a name="l00040"></a>00040   <a class="code" href="classhippodraw_1_1TransformFactory.html" title="The singleton Factory class for creating objects whose class is derived from TransformBase...">TransformFactory</a>();
<a name="l00041"></a>00041 
<a name="l00043"></a>00043   <span class="keywordtype">void</span> initialize ();
<a name="l00044"></a>00044 
<a name="l00047"></a>00047   <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * createXY ( <span class="keyword">const</span> std::string &amp; x_trans, 
<a name="l00048"></a>00048                              <span class="keyword">const</span> std::string &amp; y_trans,
<a name="l00049"></a>00049                              <span class="keyword">const</span> std::string &amp; z_trans );
<a name="l00050"></a>00050 
<a name="l00051"></a>00051  <span class="keyword">public</span>:
<a name="l00052"></a>00052 
<a name="l00054"></a>00054   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1TransformFactory.html" title="The singleton Factory class for creating objects whose class is derived from TransformBase...">TransformFactory</a> * instance ();
<a name="l00055"></a>00055 
<a name="l00072"></a>00072   <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * createTransform ( <span class="keyword">const</span> std::string &amp; name );
<a name="l00073"></a>00073 
<a name="l00076"></a>00076   <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * createXYZ ( <span class="keyword">const</span> std::string &amp; x_trans, 
<a name="l00077"></a>00077                               <span class="keyword">const</span> std::string &amp; y_trans,
<a name="l00078"></a>00078                               <span class="keyword">const</span> std::string &amp; z_trans );
<a name="l00079"></a>00079 
<a name="l00080"></a>00080 };
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 } <span class="comment">// namespace hippodraw</span>
<a name="l00083"></a>00083 
<a name="l00084"></a>00084 <span class="preprocessor">#endif // _TransformFactory_H_</span>
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>