1 | <html> |
---|
2 | <head> |
---|
3 | <title>OgreParticleSystem.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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>OgreParticleSystem.h</h1><a href="OgreParticleSystem_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span> |
---|
11 | 00002 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
12 | 00003 <span class="comment">This source file is part of OGRE </span> |
---|
13 | 00004 <span class="comment"> (Object-oriented Graphics Rendering Engine)</span> |
---|
14 | 00005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span> |
---|
15 | 00006 <span class="comment"></span> |
---|
16 | 00007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span> |
---|
17 | 00008 <span class="comment">Also see acknowledgements in Readme.html</span> |
---|
18 | 00009 <span class="comment"></span> |
---|
19 | 00010 <span class="comment">This program is free software; you can redistribute it and/or modify it under </span> |
---|
20 | 00011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software </span> |
---|
21 | 00012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later </span> |
---|
22 | 00013 <span class="comment">version.</span> |
---|
23 | 00014 <span class="comment"></span> |
---|
24 | 00015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT </span> |
---|
25 | 00016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS </span> |
---|
26 | 00017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span> |
---|
27 | 00018 <span class="comment"></span> |
---|
28 | 00019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with </span> |
---|
29 | 00020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple </span> |
---|
30 | 00021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to </span> |
---|
31 | 00022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span> |
---|
32 | 00023 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
33 | 00024 <span class="comment">*/</span> |
---|
34 | 00025 <span class="preprocessor">#ifndef __ParticleSystem_H__</span> |
---|
35 | 00026 <span class="preprocessor"></span><span class="preprocessor">#define __ParticleSystem_H__</span> |
---|
36 | 00027 <span class="preprocessor"></span> |
---|
37 | 00028 <span class="preprocessor">#include "<a class="code" href="OgrePrerequisites_8h.html">OgrePrerequisites.h</a>"</span> |
---|
38 | 00029 |
---|
39 | 00030 <span class="preprocessor">#include "<a class="code" href="OgreVector3_8h.html">OgreVector3.h</a>"</span> |
---|
40 | 00031 <span class="preprocessor">#include "<a class="code" href="OgreString_8h.html">OgreString.h</a>"</span> |
---|
41 | 00032 <span class="preprocessor">#include "<a class="code" href="OgreParticleIterator_8h.html">OgreParticleIterator.h</a>"</span> |
---|
42 | 00033 <span class="preprocessor">#include "<a class="code" href="OgreStringInterface_8h.html">OgreStringInterface.h</a>"</span> |
---|
43 | 00034 <span class="preprocessor">#include "<a class="code" href="OgreMovableObject_8h.html">OgreMovableObject.h</a>"</span> |
---|
44 | 00035 |
---|
45 | 00036 <span class="keyword">namespace </span>Ogre { |
---|
46 | 00037 |
---|
47 | <a name="l00052"></a><a class="code" href="classOgre_1_1ParticleSystem.html">00052</a> <span class="keyword">class </span><a class="code" href="OgrePlatform_8h.html#a16">_OgreExport</a> ParticleSystem : <span class="keyword">public</span> <a class="code" href="classOgre_1_1StringInterface.html">StringInterface</a>, <span class="keyword">public</span> <a class="code" href="classOgre_1_1MovableObject.html">MovableObject</a> |
---|
48 | 00053 { |
---|
49 | 00054 <span class="keyword">public</span>: |
---|
50 | 00055 |
---|
51 | <a name="l00057"></a><a class="code" href="classOgre_1_1ParticleSystem_1_1CmdQuota.html">00057</a> <span class="keyword">class </span><a class="code" href="OgrePlatform_8h.html#a17">_OgrePrivate</a> CmdQuota : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a> |
---|
52 | 00058 { |
---|
53 | 00059 <span class="keyword">public</span>: |
---|
54 | 00060 <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>; |
---|
55 | 00061 <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>& val); |
---|
56 | 00062 }; |
---|
57 | <a name="l00064"></a><a class="code" href="classOgre_1_1ParticleSystem_1_1CmdMaterial.html">00064</a> <span class="keyword">class </span><a class="code" href="class__OgrePrivate.html">_OgrePrivate</a> CmdMaterial : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a> |
---|
58 | 00065 { |
---|
59 | 00066 <span class="keyword">public</span>: |
---|
60 | 00067 <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>; |
---|
61 | 00068 <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>& val); |
---|
62 | 00069 }; |
---|
63 | <a name="l00071"></a><a class="code" href="classOgre_1_1ParticleSystem_1_1CmdCull.html">00071</a> <span class="keyword">class </span><a class="code" href="class__OgrePrivate.html">_OgrePrivate</a> CmdCull : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a> |
---|
64 | 00072 { |
---|
65 | 00073 <span class="keyword">public</span>: |
---|
66 | 00074 <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>; |
---|
67 | 00075 <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>& val); |
---|
68 | 00076 }; |
---|
69 | <a name="l00078"></a><a class="code" href="classOgre_1_1ParticleSystem_1_1CmdWidth.html">00078</a> <span class="keyword">class </span><a class="code" href="class__OgrePrivate.html">_OgrePrivate</a> CmdWidth : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a> |
---|
70 | 00079 { |
---|
71 | 00080 <span class="keyword">public</span>: |
---|
72 | 00081 <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>; |
---|
73 | 00082 <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>& val); |
---|
74 | 00083 }; |
---|
75 | <a name="l00085"></a><a class="code" href="classOgre_1_1ParticleSystem_1_1CmdHeight.html">00085</a> <span class="keyword">class </span><a class="code" href="class__OgrePrivate.html">_OgrePrivate</a> CmdHeight : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a> |
---|
76 | 00086 { |
---|
77 | 00087 <span class="keyword">public</span>: |
---|
78 | 00088 <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>; |
---|
79 | 00089 <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>& val); |
---|
80 | 00090 }; |
---|
81 | <a name="l00092"></a><a class="code" href="classOgre_1_1ParticleSystem_1_1CmdRenderer.html">00092</a> <span class="keyword">class </span><a class="code" href="class__OgrePrivate.html">_OgrePrivate</a> CmdRenderer : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ParamCommand.html">ParamCommand</a> |
---|
82 | 00093 { |
---|
83 | 00094 <span class="keyword">public</span>: |
---|
84 | 00095 <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>; |
---|
85 | 00096 <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>& val); |
---|
86 | 00097 }; |
---|
87 | 00098 |
---|
88 | 00100 ParticleSystem(); |
---|
89 | 00106 ParticleSystem(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& name, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& resourceGroupName); |
---|
90 | 00107 |
---|
91 | 00108 <span class="keyword">virtual</span> ~ParticleSystem(); |
---|
92 | 00109 |
---|
93 | 00119 <span class="keywordtype">void</span> setRenderer(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& typeName); |
---|
94 | 00120 |
---|
95 | 00122 <a class="code" href="classOgre_1_1ParticleSystemRenderer.html">ParticleSystemRenderer</a>* getRenderer(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
96 | 00124 <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getRendererName(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
97 | 00125 |
---|
98 | 00135 <a class="code" href="classOgre_1_1ParticleEmitter.html">ParticleEmitter</a>* addEmitter(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& emitterType); |
---|
99 | 00136 |
---|
100 | 00146 <a class="code" href="classOgre_1_1ParticleEmitter.html">ParticleEmitter</a>* getEmitter(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> index) <span class="keyword">const</span>; |
---|
101 | 00147 |
---|
102 | 00149 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> getNumEmitters(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
103 | 00150 |
---|
104 | 00159 <span class="keywordtype">void</span> removeEmitter(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> index); |
---|
105 | 00160 |
---|
106 | 00162 <span class="keywordtype">void</span> removeAllEmitters(<span class="keywordtype">void</span>); |
---|
107 | 00163 |
---|
108 | 00164 |
---|
109 | 00174 <a class="code" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a>* addAffector(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& affectorType); |
---|
110 | 00175 |
---|
111 | 00185 <a class="code" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a>* getAffector(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> index) <span class="keyword">const</span>; |
---|
112 | 00186 |
---|
113 | 00188 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> getNumAffectors(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
114 | 00189 |
---|
115 | 00198 <span class="keywordtype">void</span> removeAffector(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> index); |
---|
116 | 00199 |
---|
117 | 00201 <span class="keywordtype">void</span> removeAllAffectors(<span class="keywordtype">void</span>); |
---|
118 | 00202 |
---|
119 | 00205 <span class="keywordtype">void</span> clear(); |
---|
120 | 00206 |
---|
121 | 00214 size_t getNumParticles(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
122 | 00215 |
---|
123 | 00227 <a class="code" href="classOgre_1_1Particle.html">Particle</a>* createParticle(<span class="keywordtype">void</span>); |
---|
124 | 00228 |
---|
125 | 00235 <a class="code" href="classOgre_1_1Particle.html">Particle</a>* getParticle(size_t index); |
---|
126 | 00236 |
---|
127 | 00241 size_t getParticleQuota(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
128 | 00242 |
---|
129 | 00253 <span class="keywordtype">void</span> setParticleQuota(size_t quota); |
---|
130 | 00254 |
---|
131 | 00255 |
---|
132 | 00261 ParticleSystem& operator=(<span class="keyword">const</span> ParticleSystem& rhs); |
---|
133 | 00262 |
---|
134 | 00269 <span class="keywordtype">void</span> _update(<a class="code" href="namespaceOgre.html#a420">Real</a> timeElapsed); |
---|
135 | 00270 |
---|
136 | 00277 <a class="code" href="classOgre_1_1ParticleIterator.html">ParticleIterator</a> _getIterator(<span class="keywordtype">void</span>); |
---|
137 | 00278 |
---|
138 | 00283 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMaterialName(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& name); |
---|
139 | 00284 |
---|
140 | 00288 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getMaterialName(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
141 | 00289 |
---|
142 | 00294 <span class="keyword">virtual</span> <span class="keywordtype">void</span> _notifyCurrentCamera(<a class="code" href="classOgre_1_1Camera.html">Camera</a>* cam); |
---|
143 | 00295 |
---|
144 | 00300 <span class="keywordtype">void</span> _notifyAttached(<a class="code" href="classOgre_1_1Node.html">Node</a>* parent, <span class="keywordtype">bool</span> isTagPoint = <span class="keyword">false</span>); |
---|
145 | 00301 |
---|
146 | <a name="l00306"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema29">00306</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>& getBoundingBox(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mAABB; } |
---|
147 | 00307 |
---|
148 | <a name="l00312"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema30">00312</a> <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a420">Real</a> getBoundingRadius(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mBoundingRadius; } |
---|
149 | 00313 |
---|
150 | 00318 <span class="keyword">virtual</span> <span class="keywordtype">void</span> _updateRenderQueue(<a class="code" href="classOgre_1_1RenderQueue.html">RenderQueue</a>* queue); |
---|
151 | 00319 |
---|
152 | <a name="l00321"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema32">00321</a> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getName(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mName; } |
---|
153 | 00322 |
---|
154 | 00335 <span class="keywordtype">void</span> fastForward(<a class="code" href="namespaceOgre.html#a420">Real</a> time, <a class="code" href="namespaceOgre.html#a420">Real</a> interval = 0.1); |
---|
155 | 00336 |
---|
156 | <a name="l00345"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema34">00345</a> <span class="keywordtype">void</span> setSpeedFactor(<a class="code" href="namespaceOgre.html#a420">Real</a> speedFactor) { mSpeedFactor = speedFactor; } |
---|
157 | 00346 |
---|
158 | <a name="l00349"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema35">00349</a> <a class="code" href="namespaceOgre.html#a420">Real</a> getSpeedFactor(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mSpeedFactor; } |
---|
159 | 00350 |
---|
160 | 00351 |
---|
161 | 00353 <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getMovableType(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
162 | 00354 |
---|
163 | 00357 <span class="keyword">virtual</span> <span class="keywordtype">void</span> _notifyParticleResized(<span class="keywordtype">void</span>); |
---|
164 | 00358 |
---|
165 | 00361 <span class="keyword">virtual</span> <span class="keywordtype">void</span> _notifyParticleRotated(<span class="keywordtype">void</span>); |
---|
166 | 00362 |
---|
167 | 00373 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultDimensions(<a class="code" href="namespaceOgre.html#a420">Real</a> width, <a class="code" href="namespaceOgre.html#a420">Real</a> height); |
---|
168 | 00374 |
---|
169 | 00376 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultWidth(<a class="code" href="namespaceOgre.html#a420">Real</a> width); |
---|
170 | 00378 <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a420">Real</a> getDefaultWidth(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
171 | 00380 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultHeight(<a class="code" href="namespaceOgre.html#a420">Real</a> height); |
---|
172 | 00382 <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a420">Real</a> getDefaultHeight(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
173 | 00384 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getCullIndividually(<span class="keywordtype">void</span>) <span class="keyword">const</span>; |
---|
174 | 00405 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setCullIndividually(<span class="keywordtype">bool</span> cullIndividual); |
---|
175 | <a name="l00407"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema46">00407</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getResourceGroupName(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mResourceGroupName; } |
---|
176 | <a name="l00414"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema47">00414</a> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getOrigin(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mOrigin; } |
---|
177 | <a name="l00416"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystema48">00416</a> <span class="keywordtype">void</span> _notifyOrigin(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& origin) { mOrigin = origin; } |
---|
178 | 00417 |
---|
179 | 00419 <span class="keywordtype">void</span> setRenderQueueGroup(RenderQueueGroupID queueID); |
---|
180 | 00420 |
---|
181 | 00430 <span class="keywordtype">void</span> setBounds(<span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>& aabb); |
---|
182 | 00431 |
---|
183 | 00448 <span class="keywordtype">void</span> setBoundsAutoUpdated(<span class="keywordtype">bool</span> autoUpdate, <a class="code" href="namespaceOgre.html#a420">Real</a> stopIn = 0.0f); |
---|
184 | 00449 |
---|
185 | 00463 <span class="keywordtype">void</span> _updateBounds(<span class="keywordtype">void</span>); |
---|
186 | 00464 |
---|
187 | 00465 <span class="keyword">protected</span>: |
---|
188 | 00466 |
---|
189 | <a name="l00468"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemt0">00468</a> <span class="keyword">static</span> CmdCull msCullCmd; |
---|
190 | <a name="l00469"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemt1">00469</a> <span class="keyword">static</span> CmdHeight msHeightCmd; |
---|
191 | <a name="l00470"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemt2">00470</a> <span class="keyword">static</span> CmdMaterial msMaterialCmd; |
---|
192 | <a name="l00471"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemt3">00471</a> <span class="keyword">static</span> CmdQuota msQuotaCmd; |
---|
193 | <a name="l00472"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemt4">00472</a> <span class="keyword">static</span> CmdWidth msWidthCmd; |
---|
194 | <a name="l00473"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemt5">00473</a> <span class="keyword">static</span> CmdRenderer msRendererCmd; |
---|
195 | 00474 |
---|
196 | 00475 |
---|
197 | <a name="l00476"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp0">00476</a> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> mAABB; |
---|
198 | <a name="l00477"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp1">00477</a> <a class="code" href="namespaceOgre.html#a420">Real</a> mBoundingRadius; |
---|
199 | <a name="l00478"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp2">00478</a> <span class="keywordtype">bool</span> mBoundsAutoUpdate; |
---|
200 | <a name="l00479"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp3">00479</a> <a class="code" href="namespaceOgre.html#a420">Real</a> mBoundsUpdateTime; |
---|
201 | 00480 |
---|
202 | <a name="l00482"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp4">00482</a> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> mWorldAABB; |
---|
203 | 00483 |
---|
204 | <a name="l00485"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp5">00485</a> <a class="code" href="namespaceOgre.html#a426">String</a> mName; |
---|
205 | <a name="l00487"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp6">00487</a> <a class="code" href="namespaceOgre.html#a426">String</a> mResourceGroupName; |
---|
206 | <a name="l00489"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp7">00489</a> <a class="code" href="namespaceOgre.html#a426">String</a> mMaterialName; |
---|
207 | <a name="l00491"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp8">00491</a> <span class="keywordtype">bool</span> mIsRendererConfigured; |
---|
208 | <a name="l00493"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp9">00493</a> <a class="code" href="classOgre_1_1MaterialPtr.html">MaterialPtr</a> mpMaterial; |
---|
209 | <a name="l00495"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp10">00495</a> <a class="code" href="namespaceOgre.html#a420">Real</a> mDefaultWidth; |
---|
210 | <a name="l00497"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp11">00497</a> <a class="code" href="namespaceOgre.html#a420">Real</a> mDefaultHeight; |
---|
211 | <a name="l00499"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp12">00499</a> <a class="code" href="namespaceOgre.html#a420">Real</a> mSpeedFactor; |
---|
212 | 00500 |
---|
213 | <a name="l00501"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx0">00501</a> <span class="keyword">typedef</span> std::list<Particle*> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx0">ActiveParticleList</a>; |
---|
214 | <a name="l00502"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx1">00502</a> <span class="keyword">typedef</span> std::deque<Particle*> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx1">FreeParticleQueue</a>; |
---|
215 | <a name="l00503"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx2">00503</a> <span class="keyword">typedef</span> std::vector<Particle*> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx2">ParticlePool</a>; |
---|
216 | 00504 |
---|
217 | <a name="l00514"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp13">00514</a> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx0">ActiveParticleList</a> mActiveParticles; |
---|
218 | 00515 |
---|
219 | <a name="l00524"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp14">00524</a> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx1">FreeParticleQueue</a> mFreeParticles; |
---|
220 | 00525 |
---|
221 | <a name="l00530"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp15">00530</a> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx2">ParticlePool</a> mParticlePool; |
---|
222 | 00531 |
---|
223 | <a name="l00532"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx3">00532</a> <span class="keyword">typedef</span> std::vector<ParticleEmitter*> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx3">ParticleEmitterList</a>; |
---|
224 | <a name="l00533"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx4">00533</a> <span class="keyword">typedef</span> std::vector<ParticleAffector*> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx4">ParticleAffectorList</a>; |
---|
225 | 00534 |
---|
226 | <a name="l00536"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp16">00536</a> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx3">ParticleEmitterList</a> mEmitters; |
---|
227 | <a name="l00538"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp17">00538</a> <a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemx4">ParticleAffectorList</a> mAffectors; |
---|
228 | 00539 |
---|
229 | <a name="l00541"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp18">00541</a> <a class="code" href="classOgre_1_1ParticleSystemRenderer.html">ParticleSystemRenderer</a>* mRenderer; |
---|
230 | 00542 |
---|
231 | <a name="l00544"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp19">00544</a> <span class="keywordtype">bool</span> mCullIndividual; |
---|
232 | 00545 |
---|
233 | <a name="l00547"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp20">00547</a> <a class="code" href="namespaceOgre.html#a426">String</a> mRendererType; |
---|
234 | 00548 |
---|
235 | <a name="l00550"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp21">00550</a> size_t mPoolSize; |
---|
236 | 00551 |
---|
237 | <a name="l00553"></a><a class="code" href="classOgre_1_1ParticleSystem.html#Ogre_1_1ParticleSystemp22">00553</a> <a class="code" href="namespaceOgre.html#a426">String</a> mOrigin; |
---|
238 | 00554 |
---|
239 | 00555 |
---|
240 | 00557 <span class="keywordtype">void</span> _expire(<a class="code" href="namespaceOgre.html#a420">Real</a> timeElapsed); |
---|
241 | 00558 |
---|
242 | 00560 <span class="keywordtype">void</span> _triggerEmitters(<a class="code" href="namespaceOgre.html#a420">Real</a> timeElapsed); |
---|
243 | 00561 |
---|
244 | 00563 <span class="keywordtype">void</span> _applyMotion(<a class="code" href="namespaceOgre.html#a420">Real</a> timeElapsed); |
---|
245 | 00564 |
---|
246 | 00566 <span class="keywordtype">void</span> _triggerAffectors(<a class="code" href="namespaceOgre.html#a420">Real</a> timeElapsed); |
---|
247 | 00567 |
---|
248 | 00569 <span class="keywordtype">void</span> increasePool(size_t size); |
---|
249 | 00570 |
---|
250 | 00572 <span class="keywordtype">void</span> initParameters(<span class="keywordtype">void</span>); |
---|
251 | 00573 |
---|
252 | 00575 <span class="keywordtype">void</span> configureRenderer(<span class="keywordtype">void</span>); |
---|
253 | 00576 |
---|
254 | 00578 <span class="keywordtype">void</span> createVisualParticles(size_t poolstart, size_t poolend); |
---|
255 | 00580 <span class="keywordtype">void</span> destroyVisualParticles(size_t poolstart, size_t poolend); |
---|
256 | 00581 |
---|
257 | 00582 |
---|
258 | 00583 }; |
---|
259 | 00584 |
---|
260 | 00585 } |
---|
261 | 00586 |
---|
262 | 00587 <span class="preprocessor">#endif</span> |
---|
263 | </pre></div><hr> |
---|
264 | <p> |
---|
265 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
266 | <!--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/> |
---|
267 | This 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/> |
---|
268 | <!--/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#"> |
---|
269 | <Work rdf:about=""> |
---|
270 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
271 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
272 | </Work> |
---|
273 | <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> --> |
---|
274 | |
---|
275 | Last modified Sun Feb 12 12:59:49 2006 |
---|
276 | </p> |
---|
277 | </body> |
---|
278 | </html> |
---|