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::Program< / TITLE >
2004-08-06 14:53:36 +08:00
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.6" >
2003-04-18 00:22:51 +08:00
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class OSGPARTICLE_EXPORT < A HREF = "#DOC.DOCU" > osgParticle::Program< / A > < / H2 > < / H2 > < BLOCKQUOTE > An abstract < CODE > ParticleProcessor< / CODE > descendant for modifying particles "on the fly" during the cull traversal.< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 125 >
< param name = classes value = "Mosg::Node,M,CParticleProcessor,MParticleProcessor.html,CProgram,MProgram.html,CModularProgram,MModularProgram.html" >
< param name = before value = "M,M,M,M^_" >
< param name = after value = "Md_SP,Md_,M,M" >
< param name = indent value = "0,1,2,2" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.23.1" > Program< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.23.2" > Program< / A > < / B > (const <!1> < A HREF = "Program.html#DOC.2.23.2" > Program< / A > & copy, const osg::CopyOp & copyop = osg::CopyOp::SHALLOW_COPY)
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const char* < B > < A HREF = "#DOC.2.23.3" > libraryName< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const char* < B > < A HREF = "#DOC.2.23.4" > className< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual bool < B > < A HREF = "#DOC.2.23.5" > isSameKindAs< / A > < / B > (const osg::Object* obj) const
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.23.6" > accept< / A > < / B > (osg::NodeVisitor& nv)
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.23.10" > process< / A > < / B > (double dt)
2003-04-18 00:22:51 +08:00
< DD > < I > Implementation of < CODE > ParticleProcessor::process()< / CODE > .< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.23.7" > ~Program< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Program.html" > Program< / A > & < B > < A HREF = "#DOC.2.23.8" > operator=< / A > < / B > (const <!1> < A HREF = "Program.html" > Program< / A > & )
2003-04-18 00:22:51 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.23.9" > execute< / A > < / B > (double dt)
2003-04-18 00:22:51 +08:00
< DD > < I > Execute the program on the particle system.< / I >
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "ParticleProcessor.html" > ParticleProcessor< / A > :< / H3 >
< DL >
2004-08-06 14:53:36 +08:00
< P > < DL >
< DT > < H3 > Public Classes< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > enum < B > ReferenceFrame< / B >
< / DL > < / P >
2003-04-18 00:22:51 +08:00
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "ParticleProcessor.html#DOC.2.18.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 >
2004-08-06 14:53:36 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setReferenceFrame< / B > (<!1> < A HREF = "ParticleProcessor.html#DOC.2.18.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)
2004-08-06 14:53:36 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > isAlive< / B > () const
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > An abstract < CODE > ParticleProcessor< / CODE > descendant for modifying particles "on the fly"
during the cull traversal.
Descendants of this class must implement the < CODE > execute()< / CODE > method, which should iterate
through all particles in the linked particle system and modify them somehow
(usually updating their velocity vector).< / BLOCKQUOTE >
< DL >
< A NAME = "Program" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.1" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > Program()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "Program" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > Program(const <!1> < A HREF = "Program.html#DOC.2.23.2" > Program< / 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 = "libraryName" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.3" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const char* libraryName() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "className" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.4" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const char* className() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "isSameKindAs" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.5" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual bool isSameKindAs(const osg::Object* obj) const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "accept" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.6" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void accept(osg::NodeVisitor& nv)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~Program" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.7" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~Program()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "operator=" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.8" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Program.html" > Program< / A > & operator=(const <!1> < A HREF = "Program.html" > Program< / A > & )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "execute" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.9" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void execute(double dt)< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DD > Execute the program on the particle system. Must be overriden in descendant classes.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "process" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.23.10" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void process(double dt)< / B > < / TT >
< DD > Implementation of < CODE > ParticleProcessor::process()< / CODE > . Do not call this method by yourself.
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR >
< DL > < DT > < B > Direct child classes:
< / B > < DD > < A HREF = "ModularProgram.html" > ModularProgram< / A > < BR >
< / 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 >
2004-08-06 14:53:36 +08:00
This page was generated with the help of < A HREF = "http://www.linuxsupportline.com/~doc++" > DOC++< / A > .
2003-04-18 00:22:51 +08:00
< / BODY >
< / HTML >