Inheritance diagram for osgParticle::Shooter:

Public Member Functions | |
| Shooter () | |
| Shooter (const Shooter ©, 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 | shoot (Particle *P) const=0 |
| Shoot a particle. | |
Protected Member Functions | |
| virtual | ~Shooter () |
| Shooter & | operator= (const Shooter &) |
Descendants of this class must override the shoot() method.
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
return the name of the object's class type. Must be defined by derived classes. Implements osg::Object. |
|
|
|
|
|
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. |
|
|
|
|
|
Shoot a particle.
Must be overriden by descendants. This method should only set the velocity vector of particle Implemented in osgParticle::RadialShooter. |