osgParticle::BoxPlacer Class Reference

Inheritance diagram for osgParticle::BoxPlacer:

osgParticle::CenteredPlacer osgParticle::Placer osg::Object osg::Referenced List of all members.

Public Member Functions

 BoxPlacer ()
 BoxPlacer (const BoxPlacer &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
const rangefgetXRange () const
 Get the range of possible values for radius.
void setXRange (const rangef &r)
 Set the range of possible values for radius.
void setXRange (float r1, float r2)
 Set the range of possible values for radius.
const rangefgetYRange () const
 Get the range of possible values for the central angle.
void setYRange (const rangef &r)
 Set the range of possible values for the central angle.
void setYRange (float r1, float r2)
 Set the range of possible values for the central angle.
const rangefgetZRange () const
 Get the range of possible values for the height.
void setZRange (const rangef &r)
 Set the range of possible values for the height.
void setZRange (float r1, float r2)
 Set the range of possible values for the height.
 META_Object (osgParticle, BoxPlacer)
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 ~BoxPlacer ()
BoxPlaceroperator= (const BoxPlacer &)

Detailed Description

A sector-shaped particle placer. 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).


Constructor & Destructor Documentation

osgParticle::BoxPlacer::BoxPlacer (  )  [inline]

osgParticle::BoxPlacer::BoxPlacer ( const BoxPlacer copy,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
) [inline]

virtual osgParticle::BoxPlacer::~BoxPlacer (  )  [inline, protected, virtual]


Member Function Documentation

osg::Vec3 osgParticle::BoxPlacer::getControlPosition (  )  const [inline, virtual]

return the control position

Implements osgParticle::Placer.

const rangef & osgParticle::BoxPlacer::getXRange (  )  const [inline]

Get the range of possible values for radius.

const rangef & osgParticle::BoxPlacer::getYRange (  )  const [inline]

Get the range of possible values for the central angle.

const rangef & osgParticle::BoxPlacer::getZRange (  )  const [inline]

Get the range of possible values for the height.

osgParticle::BoxPlacer::META_Object ( osgParticle  ,
BoxPlacer   
)

BoxPlacer& osgParticle::BoxPlacer::operator= ( const BoxPlacer  )  [inline, protected]

void osgParticle::BoxPlacer::place ( Particle P  )  const [inline, virtual]

Place a particle. Do not call it manually.

Implements osgParticle::Placer.

void osgParticle::BoxPlacer::setXRange ( float  r1,
float  r2 
) [inline]

Set the range of possible values for radius.

void osgParticle::BoxPlacer::setXRange ( const rangef r  )  [inline]

Set the range of possible values for radius.

void osgParticle::BoxPlacer::setYRange ( float  r1,
float  r2 
) [inline]

Set the range of possible values for the central angle.

void osgParticle::BoxPlacer::setYRange ( const rangef r  )  [inline]

Set the range of possible values for the central angle.

void osgParticle::BoxPlacer::setZRange ( float  r1,
float  r2 
) [inline]

Set the range of possible values for the height.

void osgParticle::BoxPlacer::setZRange ( const rangef r  )  [inline]

Set the range of possible values for the height.


The documentation for this class was generated from the following file:
Generated on Sun Oct 1 13:17:12 2006 for openscenegraph by  doxygen 1.4.7