OpenSceneGraph 3.6.5
ConnectedParticleSystem
Go to the documentation of this file.
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
2 *
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
12*/
13
14#ifndef OSGPARTICLE_CONNECTEDPARTICLESYSTEM
15#define OSGPARTICLE_CONNECTEDPARTICLESYSTEM 1
16
18
19namespace osgParticle
20{
21
74
75
76
77}
78
79#endif
The osgParticle library is a NodeKit that extends the core scene graph to support particle effects.
Definition AccelOperator:27
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Definition RenderInfo:28
ConnectedParticleSystem(const ConnectedParticleSystem &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
ConnectedParticleSystem & operator=(const ConnectedParticleSystem &)
Definition ConnectedParticleSystem:66
virtual Particle * createParticle(const Particle *ptemplate)
Create a new particle from the specified template (or the default one if ptemplate is null).
osgParticle::Particle * getStartParticle()
Get the particle from where the line or quadstrip starts to be drawn.
Definition ConnectedParticleSystem:51
const osgParticle::Particle * getStartParticle() const
Get the (const) particle from where the line or quadstrip starts to be drawn.
Definition ConnectedParticleSystem:45
int _startParticle
Definition ConnectedParticleSystem:71
unsigned int getMaxNumberOfParticlesToSkip()
Get the maximum numbers of particles to be skipped during the predraw filtering.
Definition ConnectedParticleSystem:60
void setMaxNumberOfParticlesToSkip(unsigned int maxNumberofParticlesToSkip)
Set the maximum numbers of particles to be skipped during the predraw filtering.
Definition ConnectedParticleSystem:57
virtual void drawImplementation(osg::RenderInfo &renderInfo) const
Draw the connected particles as either a line or a quad strip, depending upon viewing distance....
int _lastParticleCreated
Definition ConnectedParticleSystem:68
unsigned int _maxNumberOfParticlesToSkip
Definition ConnectedParticleSystem:69
virtual void reuseParticle(int i)
Reuse the i-th particle.
META_Object(osgParticle, ConnectedParticleSystem)
Implementation of a particle.
Definition Particle:47
@ INVALID_INDEX
Definition Particle:53
The heart of this class library; its purpose is to hold a set of particles and manage particle creati...
Definition ParticleSystem:54
Particle_vector _particles
Definition ParticleSystem:286
#define OSGPARTICLE_EXPORT
Definition Export:40

osg logo
Generated at Sun Jul 27 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.