![]() |
VR-Forces 4.1.1 Class Documentation
|
An improved modular emitter. More...

Public Member Functions | |
| DtImprovedModularEmitter () | |
| CTOR. | |
| DtImprovedModularEmitter (const DtImprovedModularEmitter ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| DtImprovedModularEmitter (const osgParticle::ModularEmitter &modularEmitter) | |
| virtual | ~DtImprovedModularEmitter () |
| DTOR. | |
| META_Node (vrvOsg, DtImprovedModularEmitter) | |
| virtual void | setMaximumCompensationCount (int count) |
| Set the maximum number of particles to compensate for motion. | |
| virtual int | maximumCompensationCount () const |
| Get the maximum number of particles to compensate for motion. | |
| virtual void | emitParticles (double dt) |
| Override the emit functionality of the modular emitter. | |
| virtual void | setWorldToLocalOrigin (const osg::Matrixd &mat) |
| Set a transform that will be post-multiplied against the local to world transform when emitting particles. | |
Protected Attributes | |
| int | myMaximumCompensationCount |
| osg::Vec3 | myPosition |
| float | myDistanceSinceLastCompensationParticle |
| osg::Matrixd | myWorldToLocalOrigin |
An improved modular emitter.
Improvements include: Support for max compensation for large movement.
| makVrv::DtImprovedModularEmitter::DtImprovedModularEmitter | ( | ) |
CTOR.
| makVrv::DtImprovedModularEmitter::DtImprovedModularEmitter | ( | const DtImprovedModularEmitter & | copy, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
| makVrv::DtImprovedModularEmitter::DtImprovedModularEmitter | ( | const osgParticle::ModularEmitter & | modularEmitter | ) |
|
virtual |
DTOR.
| makVrv::DtImprovedModularEmitter::META_Node | ( | vrvOsg | , |
| DtImprovedModularEmitter | |||
| ) |
|
virtual |
Set the maximum number of particles to compensate for motion.
|
virtual |
Get the maximum number of particles to compensate for motion.
|
virtual |
Override the emit functionality of the modular emitter.
Reimplemented in makVrv::DtTacticalSmokeEmitter.
|
virtual |
Set a transform that will be post-multiplied against the local to world transform when emitting particles.
Defaults to the identity.
|
protected |
|
protected |
|
protected |
|
protected |