2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class osgParticle::SegmentPlacer< / 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 < A HREF = "#DOC.DOCU" > osgParticle::SegmentPlacer< / A > < / H2 > < / H2 > < BLOCKQUOTE > A segment-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,CSegmentPlacer,MSegmentPlacer.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 >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.32.1" > META_Object< / A > < / B > (<!1> < A HREF = "osgParticle.html" > osgParticle< / A > , <!1> < A HREF = "SegmentPlacer.html" > SegmentPlacer< / 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 > inline < B > < A HREF = "#DOC.2.32.6" > SegmentPlacer< / 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 > inline < B > < A HREF = "#DOC.2.32.7" > SegmentPlacer< / A > < / B > (const <!1> < A HREF = "SegmentPlacer.html#DOC.2.32.7" > SegmentPlacer< / A > & copy, const osg::CopyOp & copyop)
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 const osg::Vec3& < B > < A HREF = "#DOC.2.32.8" > getVertexA< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > get vertex < B > A< / B > < / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const osg::Vec3& < B > < A HREF = "#DOC.2.32.9" > getVertexB< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > get vertex < B > B< / B > < / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.32.10" > setSegment< / A > < / B > (const osg::Vec3 & A, const osg::Vec3 & B)
2003-04-18 00:22:51 +08:00
< DD > < I > Set both vertices< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.32.11" > place< / A > < / B > (<!1> < A HREF = "Particle.html" > Particle< / A > * P) const
2003-04-18 00:22:51 +08:00
< DD > < I > Place a particle.< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.32.12" > setVertexA< / A > < / B > (const osg::Vec3 & v)
2003-04-18 00:22:51 +08:00
< DD > < I > Set vertex < B > A< / B > of the segment as a vector< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.32.13" > setVertexA< / A > < / B > (float x, float y, float z)
2003-04-18 00:22:51 +08:00
< DD > < I > Set vertex < B > A< / B > of the segment as three floats< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.32.14" > setVertexB< / A > < / B > (const osg::Vec3 & v)
2003-04-18 00:22:51 +08:00
< DD > < I > Set vertex < B > B< / B > of the segment as a vector< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.32.15" > setVertexB< / A > < / B > (float x, float y, float z)
2003-04-18 00:22:51 +08:00
< DD > < I > Set vertex < B > B< / B > of the segment as three floats< / 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.32.2" > ~SegmentPlacer< / 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 = "SegmentPlacer.html" > SegmentPlacer< / A > & < B > < A HREF = "#DOC.2.32.3" > operator=< / A > < / B > (const <!1> < A HREF = "SegmentPlacer.html" > SegmentPlacer< / A > & )
2003-04-18 00:22:51 +08:00
< / 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 segment-shaped particle placer.
To use this placer you have to define a segment, by setting its two vertices (< B > A< / B > and < B > B< / B > );
when an emitter requests a < CODE > SegmentPlacer< / CODE > to place a particle, the position is chosen randomly
within that segment.< / BLOCKQUOTE >
< DL >
< A NAME = "META_Object" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.1" > < / A >
2003-04-18 00:22:51 +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 = "SegmentPlacer.html" > SegmentPlacer< / A > )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~SegmentPlacer" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.2" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~SegmentPlacer()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "operator=" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.3" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "SegmentPlacer.html" > SegmentPlacer< / A > & operator=(const <!1> < A HREF = "SegmentPlacer.html" > SegmentPlacer< / A > & )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "SegmentPlacer" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.6" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline SegmentPlacer()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "SegmentPlacer" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.7" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline SegmentPlacer(const <!1> < A HREF = "SegmentPlacer.html#DOC.2.32.7" > SegmentPlacer< / A > & copy, const osg::CopyOp & copyop)< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getVertexA" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.8" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const osg::Vec3& getVertexA() const < / B > < / TT >
< DD > get vertex < B > A< / B >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getVertexB" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.9" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const osg::Vec3& getVertexB() const < / B > < / TT >
< DD > get vertex < B > B< / B >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setSegment" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.10" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setSegment(const osg::Vec3 & A, const osg::Vec3 & B)< / B > < / TT >
< DD > Set both vertices
< DL > < DT > < DD > < / DL > < P >
< A NAME = "place" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.11" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void place(<!1> < A HREF = "Particle.html" > Particle< / A > * P) const < / B > < / TT >
< DD > Place a particle. This method is called by < CODE > ModularEmitter< / CODE > , do not call it manually.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setVertexA" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.12" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setVertexA(const osg::Vec3 & v)< / B > < / TT >
< DD > Set vertex < B > A< / B > of the segment as a vector
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setVertexA" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.13" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setVertexA(float x, float y, float z)< / B > < / TT >
< DD > Set vertex < B > A< / B > of the segment as three floats
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setVertexB" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.14" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setVertexB(const osg::Vec3 & v)< / B > < / TT >
< DD > Set vertex < B > B< / B > of the segment as a vector
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setVertexB" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.32.15" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setVertexB(float x, float y, float z)< / B > < / TT >
< DD > Set vertex < B > B< / B > of the segment as three floats
< 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 >
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 >