float volume() const
return the volume of the box
META_Object(osgParticle, CompositePlacer)
void setPlacer(unsigned int i, Placer *p)
void removePlacer(unsigned int i)
Remove a child placer.
unsigned int getNumPlacers() const
Get number of placers.
ValueType get_random() const
Get a random value between min and max.
void place(Particle *P) const
Place a particle. Do not call it manually.
Placer * getPlacer(unsigned int i)
Get a child placer.
CompositePlacer(const CompositePlacer ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
virtual ~CompositePlacer()
std::vector< osg::ref_ptr< Placer > > PlacerList
const Placer * getPlacer(unsigned int i) const
CompositePlacer & operator=(const CompositePlacer &)
osg::Vec3 getControlPosition() const
return the control position
void addPlacer(Placer *p)
Add a child placer.