15 #ifndef OSGPARTICLE_SECTOR_PLACER
16 #define OSGPARTICLE_SECTOR_PLACER 1
18 #include <osgParticle/CenteredPlacer>
19 #include <osgParticle/Particle>
20 #include <osgParticle/range>
65 inline float volume()
const;
87 :
CenteredPlacer(copy, copyop), _rad_range(copy._rad_range), _phi_range(copy._phi_range)
const rangef & getRadiusRange() const
Get the range of possible values for radius.
osg::Vec3 getControlPosition() const
return the control position
void setPosition(const osg::Vec3 &p)
Set the position vector.
ValueType maximum
Higher bound.
const rangef & getPhiRange() const
Get the range of possible values for the central angle.
ValueType get_random() const
Get a random value between min and max.
META_Object(osgParticle, SectorPlacer)
void place(Particle *P) const
Place a particle. Do not call it manually.
float volume() const
return the area of the sector
ValueType get_random_sqrtf() const
Get a random square root value between min and max.
const osg::Vec3 & getCenter() const
Get the center point.
void setPhiRange(const rangef &r)
Set the range of possible values for the central angle.
ValueType minimum
Lower bound.
void setRadiusRange(const rangef &r)
Set the range of possible values for radius.
SectorPlacer & operator=(const SectorPlacer &)