Inheritance diagram for osgParticle::MultiSegmentPlacer:
Public Member Functions | |
MultiSegmentPlacer () | |
MultiSegmentPlacer (const MultiSegmentPlacer ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Object (osgParticle, MultiSegmentPlacer) | |
int | numVertices () const |
Get the number of vertices which define the segments. | |
const osg::Vec3 & | getVertex (int i) const |
Get a vertex. | |
void | setVertex (int i, const osg::Vec3 &v) |
Set a vertex. | |
void | setVertex (int i, float x, float y, float z) |
Set a vertex. | |
void | addVertex (const osg::Vec3 &v) |
Add a vertex. | |
void | addVertex (float x, float y, float z) |
Add a vertex. | |
void | removeVertex (int i) |
Remove a vertex. | |
void | place (Particle *P) const |
Place a partice. Called automatically by ModularEmitter , do not call this method manually. | |
osg::Vec3 | getControlPosition () const |
return the control position | |
Protected Member Functions | |
virtual | ~MultiSegmentPlacer () |
MultiSegmentPlacer & | operator= (const MultiSegmentPlacer &) |
This placer class sets the position of incoming particles by choosing a random point on the specified sequence of connected segments.
|
|
|
|
|
|
|
Add a vertex.
|
|
Add a vertex.
|
|
return the control position
Implements osgParticle::Placer. |
|
Get a vertex.
|
|
|
|
Get the number of vertices which define the segments.
|
|
|
|
Place a partice. Called automatically by
Implements osgParticle::Placer. |
|
Remove a vertex.
|
|
Set a vertex.
|
|
Set a vertex.
|