Inheritance diagram for osgParticle::Placer:
Public Member Functions | |
Placer () | |
Placer (const Placer ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual const char * | libraryName () const |
return the name of the object's library. | |
virtual const char * | className () const |
return the name of the object's class type. | |
virtual bool | isSameKindAs (const osg::Object *obj) const |
virtual void | place (Particle *P) const=0 |
Place a particle. Must be implemented in descendant classes. | |
virtual osg::Vec3 | getControlPosition () const=0 |
Return the control position of particles that placer will generate. Must be implemented in descendant classes. | |
Protected Member Functions | |
~Placer () | |
Placer & | operator= (const Placer &) |
A placer is an object which take a particle as input, and places it somewhere by setting its position vector. Placer objects are used by the ModularEmitter
class as part of the particle emission process.
|
|
|
|
|
|
|
return the name of the object's class type. Must be defined by derived classes. Implements osg::Object. Reimplemented in osgParticle::CenteredPlacer. |
|
Return the control position of particles that placer will generate. Must be implemented in descendant classes.
Implemented in osgParticle::MultiSegmentPlacer, osgParticle::PointPlacer, osgParticle::SectorPlacer, and osgParticle::SegmentPlacer. |
|
Reimplemented in osgParticle::CenteredPlacer. |
|
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. Implements osg::Object. Reimplemented in osgParticle::CenteredPlacer. |
|
|
|
Place a particle. Must be implemented in descendant classes.
Implemented in osgParticle::MultiSegmentPlacer, osgParticle::PointPlacer, osgParticle::SectorPlacer, and osgParticle::SegmentPlacer. |