RigsofRods
Soft-body Physics Simulation
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
w
Typedefs
a
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
g
h
l
m
n
o
p
r
s
t
v
Enumerator
a
b
c
d
f
g
h
l
m
n
o
r
s
t
v
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
k
o
Macros
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
x
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
source
main
gfx
particle
ExtinguishableFireAffectorFactory.h
Go to the documentation of this file.
1
/*
2
This source file is part of Rigs of Rods
3
Copyright 2005-2012 Pierre-Michel Ricordel
4
Copyright 2007-2012 Thomas Fischer
5
6
For more information, see http://www.rigsofrods.org/
7
8
Rigs of Rods is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public License version 3, as
10
published by the Free Software Foundation.
11
12
Rigs of Rods is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#pragma once
22
23
#include <OgreParticleAffectorFactory.h>
24
#include <OgreIteratorWrappers.h>
25
26
#include "
ExtinguishableFireAffector.h
"
27
28
namespace
Ogre
{
29
32
35
37
class
ExtinguishableFireAffectorFactory
:
public
ParticleAffectorFactory
38
{
40
String
getName
()
const
{
return
"ExtinguishableFire"
; }
41
43
Ogre::ParticleAffector*
createAffector
(Ogre::ParticleSystem* psys)
44
{
45
Ogre::ParticleAffector* p = OGRE_NEW
ExtinguishableFireAffector
(psys);
46
mAffectors.push_back(p);
47
return
p;
48
}
49
50
public
:
51
52
typedef
VectorIterator<vector<ParticleAffector*>::type>
affectorIterator
;
53
55
affectorIterator
getAffectorIterator
() {
return
affectorIterator
(mAffectors.begin(), mAffectors.end()); }
56
};
57
60
61
}
// namespace Ogre
Ogre::ExtinguishableFireAffectorFactory::affectorIterator
VectorIterator< vector< ParticleAffector * >::type > affectorIterator
Definition:
ExtinguishableFireAffectorFactory.h:52
Ogre::ExtinguishableFireAffectorFactory::getAffectorIterator
affectorIterator getAffectorIterator()
Allow external access to the mFactories iterator.
Definition:
ExtinguishableFireAffectorFactory.h:55
ExtinguishableFireAffector.h
Ogre::ExtinguishableFireAffectorFactory::getName
String getName() const
See ParticleAffectorFactory.
Definition:
ExtinguishableFireAffectorFactory.h:40
Ogre::ExtinguishableFireAffector
This class defines a ParticleAffector which deflects particles.
Definition:
ExtinguishableFireAffector.h:45
Ogre::ExtinguishableFireAffectorFactory::createAffector
Ogre::ParticleAffector * createAffector(Ogre::ParticleSystem *psys)
See ParticleAffectorFactory.
Definition:
ExtinguishableFireAffectorFactory.h:43
Ogre::ExtinguishableFireAffectorFactory
Factory class for DeflectorPlaneAffector.
Definition:
ExtinguishableFireAffectorFactory.h:37
Ogre
Definition:
ExtinguishableFireAffector.cpp:35
Generated by
1.8.17