OpenSceneGraph/doc/doc++/osgParticle/MultiSegmentPlacer.html
2003-09-08 10:51:14 +00:00

154 lines
6.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGPARTICLE_EXPORT osgParticle::MultiSegmentPlacer</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGPARTICLE_EXPORT <A HREF="#DOC.DOCU">osgParticle::MultiSegmentPlacer</A></H2></H2><BLOCKQUOTE>A polyline-shaped particle placer.</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
<param name=classes value="Mosg::Object,M,CPlacer,MPlacer.html,CMultiSegmentPlacer,MMultiSegmentPlacer.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.12.1">MultiSegmentPlacer</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.12.2">MultiSegmentPlacer</A></B>(const <!1><A HREF="MultiSegmentPlacer.html#DOC.2.12.2">MultiSegmentPlacer</A> &amp;copy, const osg::CopyOp &amp;copyop = osg::CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.12.3">META_Object</A></B>(<!1><A HREF="osgParticle.html">osgParticle</A>, <!1><A HREF="MultiSegmentPlacer.html">MultiSegmentPlacer</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.12.4">place</A></B>(<!1><A HREF="Particle.html">Particle</A>* P) const
<DD><I>Place a partice.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.12.12">numVertices</A></B>() const
<DD><I>Get the number of vertices which define the segments</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec3&amp; <B><A HREF="#DOC.2.12.13">getVertex</A></B>(int i) const
<DD><I>Get a vertex</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.12.14">setVertex</A></B>(int i, const osg::Vec3 &amp;v)
<DD><I>Set a vertex</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.12.15">setVertex</A></B>(int i, float x, float y, float z)
<DD><I>Set a vertex</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.12.16">addVertex</A></B>(const osg::Vec3 &amp;v)
<DD><I>Add a vertex</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.12.17">addVertex</A></B>(float x, float y, float z)
<DD><I>Add a vertex</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.12.18">removeVertex</A></B>(int i)
<DD><I>Remove a vertex</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.12.5">~MultiSegmentPlacer</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="MultiSegmentPlacer.html">MultiSegmentPlacer</A>&amp; <B><A HREF="#DOC.2.12.6">operator=</A></B>(const <!1><A HREF="MultiSegmentPlacer.html">MultiSegmentPlacer</A> &amp;)
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Placer.html">Placer</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 polyline-shaped particle placer.
This placer class sets the position of incoming particles by choosing a random point on the
specified sequence of connected segments.</BLOCKQUOTE>
<DL>
<A NAME="MultiSegmentPlacer"></A>
<A NAME="DOC.2.12.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> MultiSegmentPlacer()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="MultiSegmentPlacer"></A>
<A NAME="DOC.2.12.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> MultiSegmentPlacer(const <!1><A HREF="MultiSegmentPlacer.html#DOC.2.12.2">MultiSegmentPlacer</A> &amp;copy, const osg::CopyOp &amp;copyop = osg::CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="META_Object"></A>
<A NAME="DOC.2.12.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> META_Object(<!1><A HREF="osgParticle.html">osgParticle</A>, <!1><A HREF="MultiSegmentPlacer.html">MultiSegmentPlacer</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="place"></A>
<A NAME="DOC.2.12.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void place(<!1><A HREF="Particle.html">Particle</A>* P) const </B></TT>
<DD>Place a partice. Called automatically by <CODE>ModularEmitter</CODE>, do not call this method manually.
<DL><DT><DD></DL><P>
<A NAME="~MultiSegmentPlacer"></A>
<A NAME="DOC.2.12.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~MultiSegmentPlacer()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator="></A>
<A NAME="DOC.2.12.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="MultiSegmentPlacer.html">MultiSegmentPlacer</A>&amp; operator=(const <!1><A HREF="MultiSegmentPlacer.html">MultiSegmentPlacer</A> &amp;)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="numVertices"></A>
<A NAME="DOC.2.12.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int numVertices() const </B></TT>
<DD>Get the number of vertices which define the segments
<DL><DT><DD></DL><P>
<A NAME="getVertex"></A>
<A NAME="DOC.2.12.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec3&amp; getVertex(int i) const </B></TT>
<DD>Get a vertex
<DL><DT><DD></DL><P>
<A NAME="setVertex"></A>
<A NAME="DOC.2.12.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setVertex(int i, const osg::Vec3 &amp;v)</B></TT>
<DD>Set a vertex
<DL><DT><DD></DL><P>
<A NAME="setVertex"></A>
<A NAME="DOC.2.12.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setVertex(int i, float x, float y, float z)</B></TT>
<DD>Set a vertex
<DL><DT><DD></DL><P>
<A NAME="addVertex"></A>
<A NAME="DOC.2.12.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void addVertex(const osg::Vec3 &amp;v)</B></TT>
<DD>Add a vertex
<DL><DT><DD></DL><P>
<A NAME="addVertex"></A>
<A NAME="DOC.2.12.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void addVertex(float x, float y, float z)</B></TT>
<DD>Add a vertex
<DL><DT><DD></DL><P>
<A NAME="removeVertex"></A>
<A NAME="DOC.2.12.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void removeVertex(int i)</B></TT>
<DD>Remove a vertex
<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>