Describes a planar disc region from which particles are generated. More...
#include "discEmitter.h"
Public Member Functions | |
DiscEmitter () | |
constructor More... | |
DiscEmitter (const DiscEmitter ©) | |
copy constructor More... | |
virtual | ~DiscEmitter () |
destructor More... | |
bool | get_cubic_lerping () const |
clerp flag accessor More... | |
PN_stdfloat | get_inner_angle () const |
aoe accessor More... | |
PN_stdfloat | get_inner_magnitude () const |
mag accessor More... | |
PN_stdfloat | get_outer_angle () const |
aoe accessor More... | |
PN_stdfloat | get_outer_magnitude () const |
mag accessor More... | |
PN_stdfloat | get_radius () const |
radius accessor More... | |
virtual BaseParticleEmitter * | make_copy () |
copier More... | |
virtual void | output (std::ostream &out) const |
Write a string representation of this instance to <out>. More... | |
void | set_cubic_lerping (bool clerp) |
clerp flag More... | |
void | set_inner_angle (PN_stdfloat i_angle) |
aoe assignment More... | |
void | set_inner_magnitude (PN_stdfloat i_mag) |
mag assignment More... | |
void | set_outer_angle (PN_stdfloat o_angle) |
aoe assignement More... | |
void | set_outer_magnitude (PN_stdfloat o_mag) |
mag assignment More... | |
void | set_radius (PN_stdfloat r) |
radius assignment More... | |
virtual void | write (std::ostream &out, int indent=0) const |
Write a string representation of this instance to <out>. More... | |
Public Member Functions inherited from BaseParticleEmitter | |
virtual | ~BaseParticleEmitter () |
destructor More... | |
void | generate (LPoint3 &pos, LVector3 &vel) |
parent generation function More... | |
PN_stdfloat | get_amplitude () const |
amplitude query More... | |
PN_stdfloat | get_amplitude_spread () const |
amplitude spread query More... | |
emissionType | get_emission_type () const |
emission type query More... | |
LVector3 | get_explicit_launch_vector () const |
query for explicit emission launch vector More... | |
LVector3 | get_offset_force () const |
user-defined force More... | |
LPoint3 | get_radiate_origin () const |
query for explicit emission launch vector More... | |
void | set_amplitude (PN_stdfloat a) |
amplitude assignment More... | |
void | set_amplitude_spread (PN_stdfloat as) |
amplitude spread assignment More... | |
void | set_emission_type (emissionType et) |
emission type assignment More... | |
void | set_explicit_launch_vector (const LVector3 &elv) |
assignment of explicit emission launch vector More... | |
void | set_offset_force (const LVector3 &of) |
user-defined force More... | |
void | set_radiate_origin (const LPoint3 &ro) |
assignment of radiate emission origin point More... | |
Public Member Functions inherited from ReferenceCount | |
int | get_ref_count () const |
WeakReferenceList * | get_weak_list () const |
Returns the WeakReferenceList associated with this ReferenceCount object. More... | |
bool | has_weak_list () const |
Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise. More... | |
void | local_object () |
This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack. More... | |
void | ref () const |
Explicitly increments the reference count. More... | |
bool | ref_if_nonzero () const |
Atomically increases the reference count of this object if it is not zero. More... | |
bool | test_ref_count_integrity () const |
Does some easy checks to make sure that the reference count isn't completely bogus. More... | |
bool | test_ref_count_nonzero () const |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More... | |
virtual bool | unref () const |
Explicitly decrements the reference count. More... | |
WeakReferenceList * | weak_ref () |
Adds the indicated PointerToVoid as a weak reference to this object. More... | |
void | weak_unref () |
Removes the indicated PointerToVoid as a weak reference to this object. More... | |
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. More... | |
Describes a planar disc region from which particles are generated.
Definition at line 22 of file discEmitter.h.
DiscEmitter::DiscEmitter | ( | ) |
DiscEmitter::DiscEmitter | ( | const DiscEmitter & | copy | ) |
copy constructor
Definition at line 31 of file discEmitter.cxx.
|
virtual |
destructor
Definition at line 49 of file discEmitter.cxx.
|
inline |
clerp flag accessor
Definition at line 118 of file discEmitter.I.
|
inline |
aoe accessor
Definition at line 91 of file discEmitter.I.
|
inline |
mag accessor
Definition at line 109 of file discEmitter.I.
|
inline |
aoe accessor
Definition at line 82 of file discEmitter.I.
|
inline |
mag accessor
Definition at line 100 of file discEmitter.I.
|
inline |
radius accessor
Definition at line 73 of file discEmitter.I.
|
virtual |
copier
Implements BaseParticleEmitter.
Definition at line 56 of file discEmitter.cxx.
References DiscEmitter().
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleEmitter.
Definition at line 118 of file discEmitter.cxx.
|
inline |
clerp flag
Definition at line 64 of file discEmitter.I.
|
inline |
aoe assignment
Definition at line 37 of file discEmitter.I.
|
inline |
mag assignment
Definition at line 55 of file discEmitter.I.
|
inline |
aoe assignement
Definition at line 28 of file discEmitter.I.
|
inline |
mag assignment
Definition at line 46 of file discEmitter.I.
|
inline |
radius assignment
Definition at line 19 of file discEmitter.I.
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleEmitter.
Definition at line 128 of file discEmitter.cxx.
References indent(), and BaseParticleEmitter::write().