2002-06-05 20:44:55 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class osgParticle::RadialShooter< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class < A HREF = "#DOC.DOCU" > osgParticle::RadialShooter< / A > < / H2 > < / H2 > < BLOCKQUOTE > A shooter class that shoots particles radially.< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 95 >
< param name = classes value = "Mosg::Object,M,CShooter,MShooter.html,CRadialShooter,MRadialShooter.html" >
< param name = before value = "M,M,M" >
< param name = after value = "Md_SP,Md_,M" >
< param name = indent value = "0,1,2" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2002-07-17 04:07:32 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.20.1" > META_Object< / A > < / B > (<!1> < A HREF = "osgParticle.html" > osgParticle< / A > , <!1> < A HREF = "RadialShooter.html" > RadialShooter< / A > )
2002-06-05 20:44:55 +08:00
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline < B > < A HREF = "#DOC.2.20.7" > RadialShooter< / A > < / B > ()
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline < B > < A HREF = "#DOC.2.20.8" > RadialShooter< / A > < / B > (const <!1> < A HREF = "RadialShooter.html#DOC.2.20.8" > RadialShooter< / A > & copy, const osg::CopyOp & copyop)
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "rangef.html" > rangef< / A > & < B > < A HREF = "#DOC.2.20.9" > getThetaRange< / A > < / B > () const
< DD > < I > Get the range of possible values for < B > theta< / B > angle< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "rangef.html" > rangef< / A > & < B > < A HREF = "#DOC.2.20.10" > getPhiRange< / A > < / B > () const
< DD > < I > Get the range of possible values for < B > phi< / B > angle< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "rangef.html" > rangef< / A > & < B > < A HREF = "#DOC.2.20.11" > getInitialSpeedRange< / A > < / B > () const
< DD > < I > Get the range of possible values for initial speed of particles< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.20.12" > setThetaRange< / A > < / B > (const <!1> < A HREF = "rangef.html" > rangef< / A > & r)
< DD > < I > Set the range of possible values for < B > theta< / B > angle< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.20.13" > setThetaRange< / A > < / B > (float r1, float r2)
< DD > < I > Set the range of possible values for < B > theta< / B > angle< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.20.14" > setPhiRange< / A > < / B > (const <!1> < A HREF = "rangef.html" > rangef< / A > & r)
< DD > < I > Set the range of possible values for < B > phi< / B > angle< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.20.15" > setPhiRange< / A > < / B > (float r1, float r2)
< DD > < I > Set the range of possible values for < B > phi< / B > angle< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.20.16" > setInitialSpeedRange< / A > < / B > (const <!1> < A HREF = "rangef.html" > rangef< / A > & r)
< DD > < I > Set the range of possible values for initial speed of particles< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.20.17" > setInitialSpeedRange< / A > < / B > (float r1, float r2)
< DD > < I > Set the range of possible values for initial speed of particles< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.20.18" > shoot< / A > < / B > (<!1> < A HREF = "Particle.html" > Particle< / A > * P) const
< DD > < I > Shoot a particle.< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.20.2" > ~RadialShooter< / A > < / B > ()
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "RadialShooter.html" > RadialShooter< / A > & < B > < A HREF = "#DOC.2.20.3" > operator=< / A > < / B > (const <!1> < A HREF = "RadialShooter.html" > RadialShooter< / A > & )
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Shooter.html" > Shooter< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2002-07-17 04:07:32 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > libraryName< / B > () const
< DT >
2002-06-05 20:44:55 +08:00
< 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
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > A shooter class that shoots particles radially.
This shooter computes the velocity vector of incoming particles by choosing a
random direction and a random speed. Both direction and speed are chosen within
specified ranges. The direction is defined by two angles: < B > theta< / B > , which
is the angle between the velocity vector and the Z axis, and < B > phi< / B > , which is
the angle between the X axis and the velocity vector projected onto the X-Y plane.< / BLOCKQUOTE >
< DL >
< A NAME = "META_Object" > < / A >
< A NAME = "DOC.2.20.1" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > META_Object(<!1> < A HREF = "osgParticle.html" > osgParticle< / A > , <!1> < A HREF = "RadialShooter.html" > RadialShooter< / A > )< / B > < / TT >
2002-06-05 20:44:55 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~RadialShooter" > < / A >
< A NAME = "DOC.2.20.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~RadialShooter()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "operator=" > < / A >
< A NAME = "DOC.2.20.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "RadialShooter.html" > RadialShooter< / A > & operator=(const <!1> < A HREF = "RadialShooter.html" > RadialShooter< / A > & )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RadialShooter" > < / A >
< A NAME = "DOC.2.20.7" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline RadialShooter()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RadialShooter" > < / A >
< A NAME = "DOC.2.20.8" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline RadialShooter(const <!1> < A HREF = "RadialShooter.html#DOC.2.20.8" > RadialShooter< / A > & copy, const osg::CopyOp & copyop)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getThetaRange" > < / A >
< A NAME = "DOC.2.20.9" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "rangef.html" > rangef< / A > & getThetaRange() const < / B > < / TT >
< DD > Get the range of possible values for < B > theta< / B > angle
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getPhiRange" > < / A >
< A NAME = "DOC.2.20.10" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "rangef.html" > rangef< / A > & getPhiRange() const < / B > < / TT >
< DD > Get the range of possible values for < B > phi< / B > angle
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getInitialSpeedRange" > < / A >
< A NAME = "DOC.2.20.11" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "rangef.html" > rangef< / A > & getInitialSpeedRange() const < / B > < / TT >
< DD > Get the range of possible values for initial speed of particles
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setThetaRange" > < / A >
< A NAME = "DOC.2.20.12" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setThetaRange(const <!1> < A HREF = "rangef.html" > rangef< / A > & r)< / B > < / TT >
< DD > Set the range of possible values for < B > theta< / B > angle
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setThetaRange" > < / A >
< A NAME = "DOC.2.20.13" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setThetaRange(float r1, float r2)< / B > < / TT >
< DD > Set the range of possible values for < B > theta< / B > angle
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setPhiRange" > < / A >
< A NAME = "DOC.2.20.14" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setPhiRange(const <!1> < A HREF = "rangef.html" > rangef< / A > & r)< / B > < / TT >
< DD > Set the range of possible values for < B > phi< / B > angle
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setPhiRange" > < / A >
< A NAME = "DOC.2.20.15" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setPhiRange(float r1, float r2)< / B > < / TT >
< DD > Set the range of possible values for < B > phi< / B > angle
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setInitialSpeedRange" > < / A >
< A NAME = "DOC.2.20.16" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setInitialSpeedRange(const <!1> < A HREF = "rangef.html" > rangef< / A > & r)< / B > < / TT >
< DD > Set the range of possible values for initial speed of particles
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setInitialSpeedRange" > < / A >
< A NAME = "DOC.2.20.17" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setInitialSpeedRange(float r1, float r2)< / B > < / TT >
< DD > Set the range of possible values for initial speed of particles
< DL > < DT > < DD > < / DL > < P >
< A NAME = "shoot" > < / A >
< A NAME = "DOC.2.20.18" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void shoot(<!1> < A HREF = "Particle.html" > Particle< / A > * P) const < / B > < / TT >
< DD > Shoot a particle. Do not call this method manually.
< 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 >