Google

class OSGPARTICLE_EXPORT osgParticle::MultiSegmentPlacer

A polyline-shaped particle placer.

Inheritance:


Public Methods

[more] MultiSegmentPlacer()
[more] MultiSegmentPlacer(const MultiSegmentPlacer &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
[more] META_Object(osgParticle, MultiSegmentPlacer)
[more]void place(Particle* P) const
Place a partice.
[more]inline int numVertices() const
Get the number of vertices which define the segments
[more]inline const osg::Vec3& getVertex(int i) const
Get a vertex
[more]inline void setVertex(int i, const osg::Vec3 &v)
Set a vertex
[more]inline void setVertex(int i, float x, float y, float z)
Set a vertex
[more]inline void addVertex(const osg::Vec3 &v)
Add a vertex
[more]inline void addVertex(float x, float y, float z)
Add a vertex
[more]inline void removeVertex(int i)
Remove a vertex

Protected Methods

[more]virtual ~MultiSegmentPlacer()
[more]MultiSegmentPlacer& operator=(const MultiSegmentPlacer &)


Inherited from Placer:

Public Methods

ovirtual const char* libraryName() const
ovirtual const char* className() const
ovirtual bool isSameKindAs(const osg::Object* obj) const


Documentation

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.
o MultiSegmentPlacer()

o MultiSegmentPlacer(const MultiSegmentPlacer &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)

o META_Object(osgParticle, MultiSegmentPlacer)

ovoid place(Particle* P) const
Place a partice. Called automatically by ModularEmitter, do not call this method manually.

ovirtual ~MultiSegmentPlacer()

oMultiSegmentPlacer& operator=(const MultiSegmentPlacer &)

oinline int numVertices() const
Get the number of vertices which define the segments

oinline const osg::Vec3& getVertex(int i) const
Get a vertex

oinline void setVertex(int i, const osg::Vec3 &v)
Set a vertex

oinline void setVertex(int i, float x, float y, float z)
Set a vertex

oinline void addVertex(const osg::Vec3 &v)
Add a vertex

oinline void addVertex(float x, float y, float z)
Add a vertex

oinline void removeVertex(int i)
Remove a vertex


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.