BaseParticleEmitter

Inheritance:

Methods of BaseParticleEmitter:

Methods of ReferenceCount:

Constants in BaseParticleEmitter:

generate
void BaseParticleEmitter::generate(LPoint3f &pos, LVector3f &vel);

Description : parent generation function

getAmplitude
float BaseParticleEmitter::get_amplitude(void) const;

Description : amplitude query

getAmplitudeSpread
float BaseParticleEmitter::get_amplitude_spread(void) const;

Description : amplitude spread query

getEmissionType
BaseParticleEmitter::emissionType BaseParticleEmitter::get_emission_type(void) const;

Description : emission type query

getExplicitLaunchVector
LVector3f BaseParticleEmitter::get_explicit_launch_vector(void) const;

Description : query for explicit emission launch vector

getOffsetForce
LVector3f BaseParticleEmitter::get_offset_force(void) const;

Description : user-defined force

getRadiateOrigin
LPoint3f BaseParticleEmitter::get_radiate_origin(void) const;

Description : query for explicit emission launch vector

makeCopy
virtual BaseParticleEmitter *BaseParticleEmitter::make_copy(void) = 0;

Undocumented function.

output
virtual void BaseParticleEmitter::output(ostream &out) const;

Description : Write a string representation of this instance to <out>.

setAmplitude
void BaseParticleEmitter::set_amplitude(float a);

Description : amplitude assignment

setAmplitudeSpread
void BaseParticleEmitter::set_amplitude_spread(float as);

Description : amplitude spread assignment

setEmissionType
void BaseParticleEmitter::set_emission_type(BaseParticleEmitter::emissionType et);

Description : emission type assignment

setExplicitLaunchVector
void BaseParticleEmitter::set_explicit_launch_vector(LVector3f const &elv);

this is a constant force applied to all particles
Description : assignment of explicit emission launch vector

setOffsetForce
void BaseParticleEmitter::set_offset_force(LVector3f const &of);

Description : user-defined force

setRadiateOrigin
void BaseParticleEmitter::set_radiate_origin(LPoint3f const &ro);

this is a constant force applied to all particles
Description : assignment of radiate emission origin point

write
virtual void BaseParticleEmitter::write(ostream &out, int indent = (0)) const;

Description : Write a string representation of this instance to <out>.

getClassType
static TypeHandle ReferenceCount::get_class_type(void);

Undocumented function.

getRefCount
int ReferenceCount::get_ref_count(void) const;

Description: Returns the current reference count.

ref
void ReferenceCount::ref(void) const;

Description: Explicitly increments the reference count. User code should avoid using ref() and unref() directly, which can result in missed reference counts. Instead, let a PointerTo object manage the reference counting automatically.
This function is const, even though it changes the object, because generally fiddling with an object's reference count isn't considered part of fiddling with the object. An object might be const in other ways, but we still need to accurately count the number of references to it.

testRefCountIntegrity
bool ReferenceCount::test_ref_count_integrity(void) const;

Description: Does some easy checks to make sure that the reference count isn't completely bogus. Returns true if ok, false otherwise.

testRefCountNonzero
bool ReferenceCount::test_ref_count_nonzero(void) const;

Description: Does some easy checks to make sure that the reference count isn't zero, or completely bogus. Returns true if ok, false otherwise.

unref
bool ReferenceCount::unref(void) const;

Description: Explicitly decrements the reference count. Note that the object will not be implicitly deleted by unref() simply because the reference count drops to zero. (Having a member function delete itself is problematic; plus, we don't have a virtual destructor anyway.) However, see the helper function unref_delete().
User code should avoid using ref() and unref() directly, which can result in missed reference counts. Instead, let a PointerTo object manage the reference counting automatically.
This function is const, even though it changes the object, because generally fiddling with an object's reference count isn't considered part of fiddling with the object. An object might be const in other ways, but we still need to accurately count the number of references to it.
The return value is true if the new reference count is nonzero, false if it is zero.