
Public Member Functions | |
| ConnectedParticleSystem () | |
| ConnectedParticleSystem (const ConnectedParticleSystem ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgParticle, ConnectedParticleSystem) | |
| virtual Particle * | createParticle (const Particle *ptemplate) |
Create a new particle from the specified template (or the default one if ptemplate is null). | |
| virtual void | reuseParticle (int i) |
| Reuse the i-th particle. | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| Draw the connected particles as either a line or a quad strip, depending upon viewing distance. . | |
| const osgParticle::Particle * | getStartParticle () const |
| Get the (const) particle from where the line or quadstrip starts to be drawn. | |
| osgParticle::Particle * | getStartParticle () |
| Get the particle from where the line or quadstrip starts to be drawn. | |
| void | setMaxNumberOfParticlesToSkip (unsigned int maxNumberofParticlesToSkip) |
| Set the maximum numbers of particles to be skipped during the predraw filtering. | |
| unsigned int | getMaxNumberOfParticlesToSkip () |
| Get the maximum numbers of particles to be skipped during the predraw filtering. | |
Protected Member Functions | |
| virtual | ~ConnectedParticleSystem () |
| ConnectedParticleSystem & | operator= (const ConnectedParticleSystem &) |
Protected Attributes | |
| int | _lastParticleCreated |
| unsigned int | _maxNumberOfParticlesToSkip |
| int | _startParticle |
| osgParticle::ConnectedParticleSystem::ConnectedParticleSystem | ( | ) |
| osgParticle::ConnectedParticleSystem::ConnectedParticleSystem | ( | const ConnectedParticleSystem & | copy, | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
| virtual osgParticle::ConnectedParticleSystem::~ConnectedParticleSystem | ( | ) | [protected, virtual] |
| osgParticle::ConnectedParticleSystem::META_Object | ( | osgParticle | , | |
| ConnectedParticleSystem | ||||
| ) |
| virtual Particle* osgParticle::ConnectedParticleSystem::createParticle | ( | const Particle * | ptemplate | ) | [virtual] |
Create a new particle from the specified template (or the default one if ptemplate is null).
Reimplemented from osgParticle::ParticleSystem.
| virtual void osgParticle::ConnectedParticleSystem::reuseParticle | ( | int | i | ) | [virtual] |
| virtual void osgParticle::ConnectedParticleSystem::drawImplementation | ( | osg::RenderInfo & | renderInfo | ) | const [virtual] |
Draw the connected particles as either a line or a quad strip, depending upon viewing distance. .
Reimplemented from osgParticle::ParticleSystem.
| const osgParticle::Particle* osgParticle::ConnectedParticleSystem::getStartParticle | ( | ) | const [inline] |
Get the (const) particle from where the line or quadstrip starts to be drawn.
| osgParticle::Particle* osgParticle::ConnectedParticleSystem::getStartParticle | ( | ) | [inline] |
Get the particle from where the line or quadstrip starts to be drawn.
| void osgParticle::ConnectedParticleSystem::setMaxNumberOfParticlesToSkip | ( | unsigned int | maxNumberofParticlesToSkip | ) | [inline] |
Set the maximum numbers of particles to be skipped during the predraw filtering.
| unsigned int osgParticle::ConnectedParticleSystem::getMaxNumberOfParticlesToSkip | ( | ) | [inline] |
Get the maximum numbers of particles to be skipped during the predraw filtering.
| ConnectedParticleSystem& osgParticle::ConnectedParticleSystem::operator= | ( | const ConnectedParticleSystem & | ) | [inline, protected] |
int osgParticle::ConnectedParticleSystem::_lastParticleCreated [protected] |
unsigned int osgParticle::ConnectedParticleSystem::_maxNumberOfParticlesToSkip [protected] |
int osgParticle::ConnectedParticleSystem::_startParticle [protected] |