15#ifndef OSGPARTICLE_PLACER
16#define OSGPARTICLE_PLACER 1
36 virtual const char*
libraryName()
const {
return "osgParticle"; }
37 virtual const char*
className()
const {
return "Placer"; }
44 virtual float volume()
const {
return 1.0f; }
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
Vec3f Vec3
Definition Vec3:21
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
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
Object()
Construct an object.
Definition Object:69
Implementation of a particle.
Definition Particle:47
virtual osg::Vec3 getControlPosition() const =0
Return the control position of particles that placer will generate. Must be implemented in descendant...
virtual bool isSameKindAs(const osg::Object *obj) const
Definition Placer:38
~Placer()
Definition Placer:50
virtual const char * libraryName() const
return the name of the object's library.
Definition Placer:36
Placer & operator=(const Placer &)
Definition Placer:51
virtual float volume() const
Volume of the placer. Can be implemented in descendant classes.
Definition Placer:44
Placer()
Definition Placer:56
virtual void place(Particle *P) const =0
Place a particle. Must be implemented in descendant classes.
virtual const char * className() const
return the name of the object's class type.
Definition Placer:37