Inheritance diagram for osgParticle::SectorPlacer:

Public Member Functions | |
| SectorPlacer () | |
| SectorPlacer (const SectorPlacer ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| const rangef & | getRadiusRange () const |
| Get the range of possible values for radius. | |
| void | setRadiusRange (const rangef &r) |
| Set the range of possible values for radius. | |
| void | setRadiusRange (float r1, float r2) |
| Set the range of possible values for radius. | |
| const rangef & | getPhiRange () const |
| Get the range of possible values for the central angle. | |
| void | setPhiRange (const rangef &r) |
| Set the range of possible values for the central angle. | |
| void | setPhiRange (float r1, float r2) |
| Set the range of possible values for the central angle. | |
| META_Object (osgParticle, SectorPlacer) | |
| void | place (Particle *P) const |
| Place a particle. Do not call it manually. | |
| osg::Vec3 | getControlPosition () const |
| return the control position | |
Protected Member Functions | |
| virtual | ~SectorPlacer () |
| SectorPlacer & | operator= (const SectorPlacer &) |
This placer sets the initial position of incoming particle by choosing a random position within a circular sector; this sector is defined by three parameters: a center point, which is inherited directly from osgParticle::CenteredPlacer, a range of values for radius, and a range of values for the central angle (sometimes called phi).
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
return the control position
Implements osgParticle::Placer. |
|
|
Get the range of possible values for the central angle.
|
|
|
Get the range of possible values for radius.
|
|
||||||||||||
|
|
|
|
|
|
|
Place a particle. Do not call it manually.
Implements osgParticle::Placer. |
|
||||||||||||
|
Set the range of possible values for the central angle.
|
|
|
Set the range of possible values for the central angle.
|
|
||||||||||||
|
Set the range of possible values for radius.
|
|
|
Set the range of possible values for radius.
|