|
Panda3D
|
Describes a planar ring region in which particles are generated. More...
#include "ringEmitter.h"
Public Member Functions | |
| RingEmitter () | |
| constructor | |
| RingEmitter (const RingEmitter ©) | |
| copy constructor | |
| virtual | ~RingEmitter () |
| destructor | |
| PN_stdfloat | get_angle () const |
| angle of elevation get | |
| PN_stdfloat | get_radius () const |
| radius get | |
| PN_stdfloat | get_radius_spread () const |
| radius_spread get | |
| int | get_uniform_emission () const |
| uniform_emission get | |
| virtual BaseParticleEmitter * | make_copy () |
| copier | |
| virtual void | output (std::ostream &out) const |
| Write a string representation of this instance to <out>. | |
| void | set_angle (PN_stdfloat angle) |
| angle of elevation set | |
| void | set_radius (PN_stdfloat r) |
| radius set | |
| void | set_radius_spread (PN_stdfloat spread) |
| radius_spread set | |
| void | set_uniform_emission (int uniform_emission) |
| uniform_emission set | |
| virtual void | write (std::ostream &out, int indent=0) const |
| Write a string representation of this instance to <out>. | |
Public Member Functions inherited from BaseParticleEmitter | |
| virtual | ~BaseParticleEmitter () |
| destructor | |
| void | generate (LPoint3 &pos, LVector3 &vel) |
| parent generation function | |
| PN_stdfloat | get_amplitude () const |
| amplitude query | |
| PN_stdfloat | get_amplitude_spread () const |
| amplitude spread query | |
| emissionType | get_emission_type () const |
| emission type query | |
| LVector3 | get_explicit_launch_vector () const |
| query for explicit emission launch vector | |
| LVector3 | get_offset_force () const |
| user-defined force | |
| LPoint3 | get_radiate_origin () const |
| query for explicit emission launch vector | |
| void | set_amplitude (PN_stdfloat a) |
| amplitude assignment | |
| void | set_amplitude_spread (PN_stdfloat as) |
| amplitude spread assignment | |
| void | set_emission_type (emissionType et) |
| emission type assignment | |
| void | set_explicit_launch_vector (const LVector3 &elv) |
| assignment of explicit emission launch vector | |
| void | set_offset_force (const LVector3 &of) |
| user-defined force | |
| void | set_radiate_origin (const LPoint3 &ro) |
| assignment of radiate emission origin point | |
Public Member Functions inherited from ReferenceCount | |
| int | get_ref_count () const |
| WeakReferenceList * | get_weak_list () const |
| Returns the WeakReferenceList associated with this ReferenceCount object. | |
| bool | has_weak_list () const |
| Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise. | |
| void | local_object () |
| This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack. | |
| void | ref () const |
| Explicitly increments the reference count. | |
| bool | ref_if_nonzero () const |
| Atomically increases the reference count of this object if it is not zero. | |
| bool | test_ref_count_integrity () const |
| Does some easy checks to make sure that the reference count isn't completely bogus. | |
| bool | test_ref_count_nonzero () const |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus. | |
| virtual bool | unref () const |
| Explicitly decrements the reference count. | |
| bool | unref_if_one () const |
| Atomically decreases the reference count of this object if it is one. | |
| WeakReferenceList * | weak_ref () |
| Adds the indicated PointerToVoid as a weak reference to this object. | |
| void | weak_unref () |
| Removes the indicated PointerToVoid as a weak reference to this object. | |
Public Member Functions inherited from MemoryBase | |
| void | operator delete (void *, void *) |
| void | operator delete (void *ptr) |
| void | operator delete[] (void *, void *) |
| void | operator delete[] (void *ptr) |
| void * | operator new (size_t size) |
| void * | operator new (size_t size, void *ptr) |
| void * | operator new[] (size_t size) |
| void * | operator new[] (size_t size, void *ptr) |
Additional Inherited Members | |
Public Types inherited from BaseParticleEmitter | |
| enum | emissionType { ET_EXPLICIT , ET_RADIATE , ET_CUSTOM } |
Static Public Member Functions inherited from ReferenceCount | |
| static TypeHandle | get_class_type () |
| static void | init_type () |
Public Attributes inherited from ReferenceCount | |
| get_ref_count | |
| Returns the current reference count. | |
Describes a planar ring region in which particles are generated.
Definition at line 22 of file ringEmitter.h.
| RingEmitter::RingEmitter | ( | ) |
constructor
Definition at line 19 of file ringEmitter.cxx.
Referenced by ArcEmitter::ArcEmitter(), ArcEmitter::ArcEmitter(), RingEmitter(), and make_copy().
| RingEmitter::RingEmitter | ( | const RingEmitter & | copy | ) |
|
virtual |
destructor
Definition at line 44 of file ringEmitter.cxx.
|
inline |
angle of elevation get
Definition at line 63 of file ringEmitter.I.
|
inline |
radius get
Definition at line 54 of file ringEmitter.I.
|
inline |
radius_spread get
Definition at line 72 of file ringEmitter.I.
|
inline |
uniform_emission get
Definition at line 81 of file ringEmitter.I.
|
virtual |
copier
Implements BaseParticleEmitter.
Reimplemented in ArcEmitter.
Definition at line 51 of file ringEmitter.cxx.
References RingEmitter().
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleEmitter.
Reimplemented in ArcEmitter.
Definition at line 107 of file ringEmitter.cxx.
|
inline |
angle of elevation set
Definition at line 27 of file ringEmitter.I.
|
inline |
radius set
Definition at line 18 of file ringEmitter.I.
|
inline |
radius_spread set
Definition at line 36 of file ringEmitter.I.
|
inline |
uniform_emission set
Definition at line 45 of file ringEmitter.I.
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleEmitter.
Reimplemented in ArcEmitter.
Definition at line 117 of file ringEmitter.cxx.
References indent(), and BaseParticleEmitter::write().
Referenced by ArcEmitter::write().