OpenSceneGraph/doc/doc++/osgParticle/RadialShooter.html
Robert Osfield ed10594139 Updated docs
2004-08-06 06:53:36 +00:00

197 lines
10 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class osgParticle::RadialShooter</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
</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>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.24.1">META_Object</A></B>(<!1><A HREF="osgParticle.html">osgParticle</A>, <!1><A HREF="RadialShooter.html">RadialShooter</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <B><A HREF="#DOC.2.24.8">RadialShooter</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <B><A HREF="#DOC.2.24.9">RadialShooter</A></B>(const <!1><A HREF="RadialShooter.html#DOC.2.24.9">RadialShooter</A> &amp;copy, const osg::CopyOp &amp;copyop)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="rangef.html">rangef</A>&amp; <B><A HREF="#DOC.2.24.10">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>&amp; <B><A HREF="#DOC.2.24.11">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>&amp; <B><A HREF="#DOC.2.24.12">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 const <!1><A HREF="rangev3.html">rangev3</A>&amp; <B><A HREF="#DOC.2.24.13">getInitialRotationalSpeedRange</A></B>() const
<DD><I>Get the range of possible values for initial rotational speed of particles</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.24.14">setThetaRange</A></B>(const <!1><A HREF="rangef.html">rangef</A> &amp;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.24.15">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.24.16">setPhiRange</A></B>(const <!1><A HREF="rangef.html">rangef</A> &amp;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.24.17">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.24.18">setInitialSpeedRange</A></B>(const <!1><A HREF="rangef.html">rangef</A> &amp;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.24.19">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.24.20">setInitialRotationalSpeedRange</A></B>(const <!1><A HREF="rangev3.html">rangev3</A> &amp;r)
<DD><I>Set the range of possible values for initial rotational speed of particles</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.24.21">setInitialRotationalSpeedRange</A></B>(const osg::Vec3 &amp;r1, const osg::Vec3 &amp;r2)
<DD><I>Set the range of possible values for initial rotational speed of particles</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.24.22">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.24.2">~RadialShooter</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RadialShooter.html">RadialShooter</A>&amp; <B><A HREF="#DOC.2.24.3">operator=</A></B>(const <!1><A HREF="RadialShooter.html">RadialShooter</A> &amp;)
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Shooter.html">Shooter</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
</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.24.1"></A>
<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>
<DL><DT><DD></DL><P>
<A NAME="~RadialShooter"></A>
<A NAME="DOC.2.24.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.24.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RadialShooter.html">RadialShooter</A>&amp; operator=(const <!1><A HREF="RadialShooter.html">RadialShooter</A> &amp;)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RadialShooter"></A>
<A NAME="DOC.2.24.8"></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.24.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline RadialShooter(const <!1><A HREF="RadialShooter.html#DOC.2.24.9">RadialShooter</A> &amp;copy, const osg::CopyOp &amp;copyop)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getThetaRange"></A>
<A NAME="DOC.2.24.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="rangef.html">rangef</A>&amp; 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.24.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="rangef.html">rangef</A>&amp; 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.24.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="rangef.html">rangef</A>&amp; getInitialSpeedRange() const </B></TT>
<DD>Get the range of possible values for initial speed of particles
<DL><DT><DD></DL><P>
<A NAME="getInitialRotationalSpeedRange"></A>
<A NAME="DOC.2.24.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="rangev3.html">rangev3</A>&amp; getInitialRotationalSpeedRange() const </B></TT>
<DD>Get the range of possible values for initial rotational speed of particles
<DL><DT><DD></DL><P>
<A NAME="setThetaRange"></A>
<A NAME="DOC.2.24.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setThetaRange(const <!1><A HREF="rangef.html">rangef</A> &amp;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.24.15"></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.24.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setPhiRange(const <!1><A HREF="rangef.html">rangef</A> &amp;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.24.17"></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.24.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setInitialSpeedRange(const <!1><A HREF="rangef.html">rangef</A> &amp;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.24.19"></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="setInitialRotationalSpeedRange"></A>
<A NAME="DOC.2.24.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setInitialRotationalSpeedRange(const <!1><A HREF="rangev3.html">rangev3</A> &amp;r)</B></TT>
<DD>Set the range of possible values for initial rotational speed of particles
<DL><DT><DD></DL><P>
<A NAME="setInitialRotationalSpeedRange"></A>
<A NAME="DOC.2.24.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setInitialRotationalSpeedRange(const osg::Vec3 &amp;r1, const osg::Vec3 &amp;r2)</B></TT>
<DD>Set the range of possible values for initial rotational speed of particles
<DL><DT><DD></DL><P>
<A NAME="shoot"></A>
<A NAME="DOC.2.24.22"></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://www.linuxsupportline.com/~doc++">DOC++</A>.
</BODY>
</HTML>