15#ifndef OSGPARTICLE_SECTOR_PLACER
16#define OSGPARTICLE_SECTOR_PLACER 1
65 inline float volume()
const;
87 :
CenteredPlacer(copy, copyop), _rad_range(copy._rad_range), _phi_range(copy._phi_range)
Definition CenteredPlacer:29
const osg::Vec3 & getCenter() const
Get the center point.
Definition CenteredPlacer:66
void setPosition(const osg::Vec3 &p)
Set the position vector.
Definition Particle:483
Definition SectorPlacer:36
virtual ~SectorPlacer()
Definition SectorPlacer:71
const rangef & getRadiusRange() const
Get the range of possible values for radius.
Definition SectorPlacer:91
void setPhiRange(const rangef &r)
Set the range of possible values for the central angle.
Definition SectorPlacer:112
void place(Particle *P) const
Place a particle. Do not call it manually.
Definition SectorPlacer:123
META_Object(osgParticle, SectorPlacer)
SectorPlacer()
Definition SectorPlacer:81
float volume() const
return the area of the sector
Definition SectorPlacer:136
SectorPlacer & operator=(const SectorPlacer &)
Definition SectorPlacer:72
osg::Vec3 getControlPosition() const
return the control position
Definition SectorPlacer:142
const rangef & getPhiRange() const
Get the range of possible values for the central angle.
Definition SectorPlacer:96
void setRadiusRange(const rangef &r)
Set the range of possible values for radius.
Definition SectorPlacer:101
@ SHALLOW_COPY
Definition CopyOp:47
Definition AccelOperator:27
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
ValueType maximum
Higher bound.
Definition range:45
ValueType get_random_sqrtf() const
Get a random square root value between min and max.
Definition range:63
ValueType get_random() const
Get a random value between min and max.
Definition range:57
ValueType minimum
Lower bound.
Definition range:42