Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 1147

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>OgreRingEmitter.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>OgreRingEmitter.h</h1><a href="OgreRingEmitter_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
00002 <font class="comment">-----------------------------------------------------------------------------</font>
00003 <font class="comment">This source file is part of OGRE</font>
00004 <font class="comment">    (Object-oriented Graphics Rendering Engine)</font>
00005 <font class="comment">For the latest info, see http://www.ogre3d.org/</font>
00006 <font class="comment"></font>
00007 <font class="comment">Copyright ) 2002 Tels &lt;http://bloodgate.com&gt; based on BoxEmitter</font>
00008 <font class="comment">Also see acknowledgements in Readme.html</font>
00009 <font class="comment"></font>
00010 <font class="comment">This program is free software; you can redistribute it and/or modify it under</font>
00011 <font class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</font>
00012 <font class="comment">Foundation; either version 2 of the License, or (at your option) any later</font>
00013 <font class="comment">version.</font>
00014 <font class="comment"></font>
00015 <font class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</font>
00016 <font class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</font>
00017 <font class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</font>
00018 <font class="comment"></font>
00019 <font class="comment">You should have received a copy of the GNU Lesser General Public License along with</font>
00020 <font class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</font>
00021 <font class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</font>
00022 <font class="comment">http://www.gnu.org/copyleft/lesser.txt.</font>
00023 <font class="comment">-----------------------------------------------------------------------------</font>
00024 <font class="comment">*/</font>
00025 <font class="preprocessor">#ifndef __RingEmitter_H__</font>
00026 <font class="preprocessor"></font><font class="preprocessor">#define __RingEmitter_H__</font>
00027 <font class="preprocessor"></font>
00028 <font class="preprocessor">#include "<a class="code" href="OgreParticleFXPrerequisites_8h.html">OgreParticleFXPrerequisites.h</a>"</font>
00029 <font class="preprocessor">#include "<a class="code" href="OgreAreaEmitter_8h.html">OgreAreaEmitter.h</a>"</font>
00030 <font class="preprocessor">#include "<a class="code" href="OgreMath_8h.html">OgreMath.h</a>"</font>
00031 
00032 <font class="keyword">namespace </font>Ogre {
00033 
<a name="l00043"></a><a class="code" href="classOgre_1_1RingEmitter.html">00043</a>     <font class="keyword">class </font><a class="code" href="OgreParticleFXPrerequisites_8h.html#a0">_OgreParticleFXExport</a> <a class="code" href="classOgre_1_1RingEmitter.html">RingEmitter</a> : <font class="keyword">public</font> <a class="code" href="classOgre_1_1AreaEmitter.html">AreaEmitter</a>
00044     {
00045     <font class="keyword">public</font>:
00046         <font class="comment">// See AreaEmitter</font>
<a name="l00048"></a><a class="code" href="classOgre_1_1RingEmitter_1_1CmdInnerX.html">00048</a> <font class="comment"></font>        <font class="keyword">class </font><a class="code" href="classOgre_1_1RingEmitter_1_1CmdInnerX.html">CmdInnerX</a> : <font class="keyword">public</font> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a>
00049         {
00050         <font class="keyword">public</font>:
00051             <a class="code" href="classOgre_1_1String.html">String</a> doGet(<font class="keyword">const</font> <font class="keywordtype">void</font>* target) <font class="keyword">const</font>;
00052             <font class="keywordtype">void</font> doSet(<font class="keywordtype">void</font>* target, <font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>&amp; val);
00053         };
<a name="l00055"></a><a class="code" href="classOgre_1_1RingEmitter_1_1CmdInnerY.html">00055</a>         <font class="keyword">class </font><a class="code" href="classOgre_1_1RingEmitter_1_1CmdInnerY.html">CmdInnerY</a> : <font class="keyword">public</font> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a>
00056         {
00057         <font class="keyword">public</font>:
00058             <a class="code" href="classOgre_1_1String.html">String</a> doGet(<font class="keyword">const</font> <font class="keywordtype">void</font>* target) <font class="keyword">const</font>;
00059             <font class="keywordtype">void</font> doSet(<font class="keywordtype">void</font>* target, <font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>&amp; val);
00060         };
00061 
00062         RingEmitter();
00063 
00065         <font class="keywordtype">void</font> _initParticle(Particle* pParticle);
00066 
00072         <font class="keywordtype">void</font> setInnerSize(<a class="code" href="namespaceOgre.html#a349">Real</a> x, <a class="code" href="namespaceOgre.html#a349">Real</a> y);
00073 
00079         <font class="keywordtype">void</font> setInnerSizeX(<a class="code" href="namespaceOgre.html#a349">Real</a> x);
00085         <font class="keywordtype">void</font> setInnerSizeY(<a class="code" href="namespaceOgre.html#a349">Real</a> y);
00087         <a class="code" href="namespaceOgre.html#a349">Real</a> getInnerSizeX(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
00089         <a class="code" href="namespaceOgre.html#a349">Real</a> getInnerSizeY(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
00090 
00091     <font class="keyword">protected</font>:
00092         <font class="comment">// See ParticleEmitter</font>
00093         <font class="keyword">static</font> CmdInnerX msCmdInnerX;
00094         <font class="keyword">static</font> CmdInnerY msCmdInnerY;
00095 
<a name="l00097"></a><a class="code" href="classOgre_1_1RingEmitter.html#Ogre_1_1RingEmittern0">00097</a>         <a class="code" href="namespaceOgre.html#a349">Real</a> mInnerSizex;
<a name="l00098"></a><a class="code" href="classOgre_1_1RingEmitter.html#Ogre_1_1RingEmittern1">00098</a>         <a class="code" href="namespaceOgre.html#a349">Real</a> mInnerSizey;
00099 
00100 
00101 
00102     };
00103 
00104 }
00105 
00106 <font class="preprocessor">#endif</font>
00107 <font class="preprocessor"></font>
</pre></div><p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:10:25 2004
</p>
</body>
</html>