00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef BOXEMITTER_H
00020 #define BOXEMITTER_H
00021
00022 #include "baseParticleEmitter.h"
00023
00024
00025
00026
00027
00028
00029 class EXPCL_PANDAPHYSICS BoxEmitter : public BaseParticleEmitter {
00030 private:
00031 LPoint3f _vmin, _vmax;
00032
00033
00034
00035
00036 virtual void assign_initial_position(LPoint3f& pos);
00037 virtual void assign_initial_velocity(LVector3f& vel);
00038
00039 PUBLISHED:
00040 BoxEmitter(void);
00041 BoxEmitter(const BoxEmitter ©);
00042 virtual ~BoxEmitter(void);
00043
00044 virtual BaseParticleEmitter *make_copy(void);
00045
00046 INLINE void set_min_bound(const LPoint3f& vmin);
00047 INLINE void set_max_bound(const LPoint3f& vmax);
00048
00049 INLINE LPoint3f get_min_bound(void) const;
00050 INLINE LPoint3f get_max_bound(void) const;
00051 };
00052
00053 #include "boxEmitter.I"
00054
00055 #endif // BOXEMITTER_H