2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class OSGPARTICLE_EXPORT osgParticle::ModularEmitter< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.10" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class OSGPARTICLE_EXPORT < A HREF = "#DOC.DOCU" > osgParticle::ModularEmitter< / A > < / H2 > < / H2 > < BLOCKQUOTE > An emitter class that holds three objects to control the creation of particles.< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 125 >
< param name = classes value = "Mosg::Node,M,CParticleProcessor,MParticleProcessor.html,CEmitter,MEmitter.html,CModularEmitter,MModularEmitter.html" >
< param name = before value = "M,M,M,M" >
< param name = after value = "Md_SPSP,Md_SP,Md_,M" >
< param name = indent value = "0,1,2,3" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.10.1" > ModularEmitter< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.10.2" > ModularEmitter< / A > < / B > (const <!1> < A HREF = "ModularEmitter.html#DOC.2.10.2" > ModularEmitter< / A > & copy, const osg::CopyOp & copyop = osg::CopyOp::SHALLOW_COPY)
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.10.3" > META_Node< / A > < / B > (<!1> < A HREF = "osgParticle.html" > osgParticle< / A > , <!1> < A HREF = "ModularEmitter.html" > ModularEmitter< / A > )
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Counter.html" > Counter< / A > * < B > < A HREF = "#DOC.2.10.10" > getCounter< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DD > < I > Get the counter object< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "Counter.html" > Counter< / A > * < B > < A HREF = "#DOC.2.10.11" > getCounter< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > Get the const Counter object< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.10.12" > setCounter< / A > < / B > (<!1> < A HREF = "Counter.html" > Counter< / A > * c)
2003-04-18 00:22:51 +08:00
< DD > < I > Set the Counter object< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Placer.html" > Placer< / A > * < B > < A HREF = "#DOC.2.10.13" > getPlacer< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DD > < I > Get the Placer object< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "Placer.html" > Placer< / A > * < B > < A HREF = "#DOC.2.10.14" > getPlacer< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > Get the const Placer object.< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.10.15" > setPlacer< / A > < / B > (<!1> < A HREF = "Placer.html" > Placer< / A > * p)
2003-04-18 00:22:51 +08:00
< DD > < I > Set the Placer object< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Shooter.html" > Shooter< / A > * < B > < A HREF = "#DOC.2.10.16" > getShooter< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DD > < I > Get the Shooter object< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "Shooter.html" > Shooter< / A > * < B > < A HREF = "#DOC.2.10.17" > getShooter< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > Get the const Shooter object< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.10.18" > setShooter< / A > < / B > (<!1> < A HREF = "Shooter.html" > Shooter< / A > * s)
2003-04-18 00:22:51 +08:00
< DD > < I > Set the Shooter object< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.10.4" > ~ModularEmitter< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "ModularEmitter.html" > ModularEmitter< / A > & < B > < A HREF = "#DOC.2.10.5" > operator=< / A > < / B > (const <!1> < A HREF = "ModularEmitter.html" > ModularEmitter< / A > & )
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.10.6" > emit< / A > < / B > (double dt)
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Emitter.html" > Emitter< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > libraryName< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > className< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > isSameKindAs< / B > (const osg::Object* obj) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (osg::NodeVisitor& nv)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Particle.html" > Particle< / A > & < B > getParticleTemplate< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setParticleTemplate< / B > (const <!1> < A HREF = "Particle.html" > Particle< / A > & p)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > getUseDefaultTemplate< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setUseDefaultTemplate< / B > (bool v)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > process< / B > (double dt)
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "ParticleProcessor.html" > ParticleProcessor< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "ParticleProcessor.html#DOC.2.15.1" > ReferenceFrame< / A > < B > getReferenceFrame< / B > () const
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > traverse< / B > (osg::NodeVisitor & nv)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline ParticleProcessor::ReferenceFrame < B > getReferenceFrame< / B > () const
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setReferenceFrame< / B > (<!1> < A HREF = "ParticleProcessor.html#DOC.2.15.1" > ReferenceFrame< / A > rf)
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > isEnabled< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setEnabled< / B > (bool v)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "ParticleSystem.html" > ParticleSystem< / A > * < B > getParticleSystem< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "ParticleSystem.html" > ParticleSystem< / A > * < B > getParticleSystem< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setParticleSystem< / B > (<!1> < A HREF = "ParticleSystem.html" > ParticleSystem< / A > * ps)
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setEndless< / B > (bool type)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > isEndless< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setLifeTime< / B > (double t)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline double < B > getLifeTime< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setStartTime< / B > (double t)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline double < B > getStartTime< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setCurrentTime< / B > (double t)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline double < B > getCurrentTime< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setResetTime< / B > (double t)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline double < B > getResetTime< / B > () const
< DT >
2003-04-18 00:22:51 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > computeBound< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const osg::Matrix& < B > getLocalToWorldMatrix< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const osg::Matrix& < B > getWorldToLocalMatrix< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline osg::Vec3 < B > transformLocalToWorld< / B > (const osg::Vec3 & P)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline osg::Vec3 < B > transformWorldToLocal< / B > (const osg::Vec3 & P)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline osg::Vec3 < B > rotateLocalToWorld< / B > (const osg::Vec3 & P)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline osg::Vec3 < B > rotateWorldToLocal< / B > (const osg::Vec3 & P)
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > enum < B > ReferenceFrame< / B >
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > An emitter class that holds three objects to control the creation of particles.
These objects are a < I > counter< / I > , a < I > placer< / I > and a < I > shooter< / I > .
The counter controls the number of particles to be emitted at each frame;
the placer must initialize the particle's position vector, while the shooter initializes
its velocity vector.
You can use the predefined counter/placer/shooter classes, or you can create your own.< / BLOCKQUOTE >
< DL >
< A NAME = "ModularEmitter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.1" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ModularEmitter()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "ModularEmitter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ModularEmitter(const <!1> < A HREF = "ModularEmitter.html#DOC.2.10.2" > ModularEmitter< / A > & copy, const osg::CopyOp & copyop = osg::CopyOp::SHALLOW_COPY)< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "META_Node" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.3" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > META_Node(<!1> < A HREF = "osgParticle.html" > osgParticle< / A > , <!1> < A HREF = "ModularEmitter.html" > ModularEmitter< / A > )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~ModularEmitter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.4" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~ModularEmitter()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "operator=" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.5" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "ModularEmitter.html" > ModularEmitter< / A > & operator=(const <!1> < A HREF = "ModularEmitter.html" > ModularEmitter< / A > & )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "emit" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.6" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void emit(double dt)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCounter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.10" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Counter.html" > Counter< / A > * getCounter()< / B > < / TT >
< DD > Get the counter object
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCounter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.11" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "Counter.html" > Counter< / A > * getCounter() const < / B > < / TT >
< DD > Get the const Counter object
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setCounter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.12" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setCounter(<!1> < A HREF = "Counter.html" > Counter< / A > * c)< / B > < / TT >
< DD > Set the Counter object
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getPlacer" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.13" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Placer.html" > Placer< / A > * getPlacer()< / B > < / TT >
< DD > Get the Placer object
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getPlacer" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.14" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "Placer.html" > Placer< / A > * getPlacer() const < / B > < / TT >
< DD > Get the const Placer object.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setPlacer" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.15" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setPlacer(<!1> < A HREF = "Placer.html" > Placer< / A > * p)< / B > < / TT >
< DD > Set the Placer object
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getShooter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.16" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Shooter.html" > Shooter< / A > * getShooter()< / B > < / TT >
< DD > Get the Shooter object
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getShooter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.17" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "Shooter.html" > Shooter< / A > * getShooter() const < / B > < / TT >
< DD > Get the const Shooter object
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setShooter" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.10.18" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setShooter(<!1> < A HREF = "Shooter.html" > Shooter< / A > * s)< / B > < / TT >
< DD > Set the Shooter object
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >