source: OGRE/trunk/ogrenew/Docs/api/html/OgreRotationAffector_8h-source.html @ 657

Revision 657, 15.6 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>OgreRotationAffector.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>OgreRotationAffector.h</h1><a href="OgreRotationAffector_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
1100002 <span class="comment">-----------------------------------------------------------------------------</span>
1200003 <span class="comment">This source file is part of OGRE </span>
1300004 <span class="comment">    (Object-oriented Graphics Rendering Engine)</span>
1400005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span>
1500006 <span class="comment"></span>
1600007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span>
1700008 <span class="comment">Also see acknowledgements in Readme.html</span>
1800009 <span class="comment"></span>
1900010 <span class="comment">This program is free software; you can redistribute it and/or modify it under </span>
2000011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software </span>
2100012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later </span>
2200013 <span class="comment">version.</span>
2300014 <span class="comment"></span>
2400015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT </span>
2500016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS </span>
2600017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span>
2700018 <span class="comment"></span>
2800019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with </span>
2900020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple </span>
3000021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to </span>
3100022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span>
3200023 <span class="comment">-----------------------------------------------------------------------------</span>
3300024 <span class="comment">*/</span>
3400025 <span class="preprocessor">#ifndef __RotationAffector_H__</span>
3500026 <span class="preprocessor"></span><span class="preprocessor">#define __RotationAffector_H__</span>
3600027 <span class="preprocessor"></span>
3700028 <span class="preprocessor">#include "<a class="code" href="OgreMath_8h.html">OgreMath.h</a>"</span>
3800029 <span class="preprocessor">#include "<a class="code" href="OgreParticleFXPrerequisites_8h.html">OgreParticleFXPrerequisites.h</a>"</span>
3900030 <span class="preprocessor">#include "<a class="code" href="OgreParticleAffector_8h.html">OgreParticleAffector.h</a>"</span>
4000031 <span class="preprocessor">#include "<a class="code" href="OgreStringInterface_8h.html">OgreStringInterface.h</a>"</span>
4100032
4200033 <span class="keyword">namespace </span>Ogre {
4300034
4400035
45<a name="l00041"></a><a class="code" href="classOgre_1_1RotationAffector.html">00041</a>     <span class="keyword">class </span><a class="code" href="OgreParticleFXPrerequisites_8h.html#a0">_OgreParticleFXExport</a> RotationAffector : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a>
4600042     {
4700043     <span class="keyword">public</span>:
48<a name="l00045"></a><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationSpeedRangeStart.html">00045</a>         <span class="keyword">class </span><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationSpeedRangeStart.html">CmdRotationSpeedRangeStart</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a>
4900046         {
5000047         <span class="keyword">public</span>:
5100048             <a class="code" href="namespaceOgre.html#a426">String</a> doGet(<span class="keyword">const</span> <span class="keywordtype">void</span>* target) <span class="keyword">const</span>;
5200049             <span class="keywordtype">void</span> doSet(<span class="keywordtype">void</span>* target, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; val);
5300050         };
5400051
55<a name="l00053"></a><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationSpeedRangeEnd.html">00053</a>         <span class="keyword">class </span><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationSpeedRangeEnd.html">CmdRotationSpeedRangeEnd</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a>
5600054         {
5700055         <span class="keyword">public</span>:
5800056             <a class="code" href="namespaceOgre.html#a426">String</a> doGet(<span class="keyword">const</span> <span class="keywordtype">void</span>* target) <span class="keyword">const</span>;
5900057             <span class="keywordtype">void</span> doSet(<span class="keywordtype">void</span>* target, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; val);
6000058         };
6100059
62<a name="l00061"></a><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationRangeStart.html">00061</a>         <span class="keyword">class </span><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationRangeStart.html">CmdRotationRangeStart</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a>
6300062         {
6400063         <span class="keyword">public</span>:
6500064             <a class="code" href="namespaceOgre.html#a426">String</a> doGet(<span class="keyword">const</span> <span class="keywordtype">void</span>* target) <span class="keyword">const</span>;
6600065             <span class="keywordtype">void</span> doSet(<span class="keywordtype">void</span>* target, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; val);
6700066         };
6800067
69<a name="l00069"></a><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationRangeEnd.html">00069</a>         <span class="keyword">class </span><a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationRangeEnd.html">CmdRotationRangeEnd</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a>
7000070         {
7100071         <span class="keyword">public</span>:
7200072             <a class="code" href="namespaceOgre.html#a426">String</a> doGet(<span class="keyword">const</span> <span class="keywordtype">void</span>* target) <span class="keyword">const</span>;
7300073             <span class="keywordtype">void</span> doSet(<span class="keywordtype">void</span>* target, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; val);
7400074         };
7500075
7600077         RotationAffector(<a class="code" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a>* psys);
7700078
7800080         <span class="keywordtype">void</span> _initParticle(<a class="code" href="classOgre_1_1Particle.html">Particle</a>* pParticle);
7900081
8000083         <span class="keywordtype">void</span> _affectParticles(<a class="code" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a>* pSystem, <a class="code" href="namespaceOgre.html#a420">Real</a> timeElapsed);
8100084
8200085
8300086
8400088         <span class="keywordtype">void</span> setRotationSpeedRangeStart(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; angle);
8500089 <span class="preprocessor">#ifndef OGRE_FORCE_ANGLE_TYPES</span>
86<a name="l00090"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectora4">00090</a> <span class="preprocessor"></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> setRotationSpeedRangeStart(<a class="code" href="namespaceOgre.html#a420">Real</a> angle) {
8700091             setRotationSpeedRangeStart(<a class="code" href="classOgre_1_1Angle.html">Angle</a>(angle));
8800092         }
8900093 <span class="preprocessor">#endif//OGRE_FORCE_ANGLE_TYPES</span>
9000094 <span class="preprocessor"></span>
9100095         <span class="keywordtype">void</span> setRotationSpeedRangeEnd(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; angle);
9200096 <span class="preprocessor">#ifndef OGRE_FORCE_ANGLE_TYPES</span>
93<a name="l00097"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectora6">00097</a> <span class="preprocessor"></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> setRotationSpeedRangeEnd(<a class="code" href="namespaceOgre.html#a420">Real</a> angle) {
9400098             setRotationSpeedRangeEnd(<a class="code" href="classOgre_1_1Angle.html">Angle</a>(angle));
9500099         }
9600100 <span class="preprocessor">#endif//OGRE_FORCE_ANGLE_TYPES</span>
9700101 <span class="preprocessor"></span>
9800102         <span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; getRotationSpeedRangeStart(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
9900104         <span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; getRotationSpeedRangeEnd(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
10000105
10100106         
10200108         <span class="keywordtype">void</span> setRotationRangeStart(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; angle);
10300109 <span class="preprocessor">#ifndef OGRE_FORCE_ANGLE_TYPES</span>
104<a name="l00110"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectora10">00110</a> <span class="preprocessor"></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> setRotationRangeStart(<a class="code" href="namespaceOgre.html#a420">Real</a> angle) {
10500111             setRotationRangeStart(<a class="code" href="classOgre_1_1Angle.html">Angle</a>(angle));
10600112         }
10700113 <span class="preprocessor">#endif//OGRE_FORCE_ANGLE_TYPES</span>
10800114 <span class="preprocessor"></span>
10900115         <span class="keywordtype">void</span> setRotationRangeEnd(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; angle);
11000116 <span class="preprocessor">#ifndef OGRE_FORCE_ANGLE_TYPES</span>
111<a name="l00117"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectora12">00117</a> <span class="preprocessor"></span>        <span class="keyword">inline</span> <span class="keywordtype">void</span> setRotationRangeEnd(<a class="code" href="namespaceOgre.html#a420">Real</a> angle) {
11200118             setRotationRangeEnd(<a class="code" href="classOgre_1_1Angle.html">Angle</a>(angle));
11300119         }
11400120 <span class="preprocessor">#endif//OGRE_FORCE_ANGLE_TYPES</span>
11500121 <span class="preprocessor"></span>
11600122         <span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; getRotationRangeStart(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
11700124         <span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; getRotationRangeEnd(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
11800125
119<a name="l00126"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectors0">00126</a>         <span class="keyword">static</span> <a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationSpeedRangeStart.html">CmdRotationSpeedRangeStart</a>   msRotationSpeedRangeStartCmd;
120<a name="l00127"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectors1">00127</a>         <span class="keyword">static</span> <a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationSpeedRangeEnd.html">CmdRotationSpeedRangeEnd</a>     msRotationSpeedRangeEndCmd;
121<a name="l00128"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectors2">00128</a>         <span class="keyword">static</span> <a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationRangeStart.html">CmdRotationRangeStart</a>        msRotationRangeStartCmd;
122<a name="l00129"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectors3">00129</a>         <span class="keyword">static</span> <a class="code" href="classOgre_1_1RotationAffector_1_1CmdRotationRangeEnd.html">CmdRotationRangeEnd</a>          msRotationRangeEndCmd;
12300130         
12400131     <span class="keyword">protected</span>:
125<a name="l00133"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectorp0">00133</a>         <a class="code" href="classOgre_1_1Radian.html">Radian</a> mRotationSpeedRangeStart;
126<a name="l00135"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectorp1">00135</a>         <a class="code" href="classOgre_1_1Radian.html">Radian</a> mRotationSpeedRangeEnd;
127<a name="l00137"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectorp2">00137</a>         <a class="code" href="classOgre_1_1Radian.html">Radian</a> mRotationRangeStart;
128<a name="l00139"></a><a class="code" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectorp3">00139</a>         <a class="code" href="classOgre_1_1Radian.html">Radian</a> mRotationRangeEnd;
12900140
13000141     };
13100142
13200143
13300144 }
13400145
13500146
13600147 <span class="preprocessor">#endif</span>
13700148 <span class="preprocessor"></span>
138</pre></div><hr>
139<p>
140Copyright &copy; 2000-2005 by The OGRE Team<br />
141<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
142This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
143                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
144                <Work rdf:about="">
145                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
146        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
147                </Work>
148                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
149
150Last modified Sun Feb 12 12:59:51 2006
151</p>
152</body>
153</html>
Note: See TracBrowser for help on using the repository browser.