BaseParticleFactory
-
class BaseParticleFactory
Bases:
ReferenceCount
Pure Virtual base class for creating particles
Inheritance diagram
-
virtual BaseParticle *alloc_particle(void) const = 0
-
PN_stdfloat get_lifespan_base(void) const
public
-
PN_stdfloat get_lifespan_spread(void) const
public
-
PN_stdfloat get_mass_base(void) const
public
-
PN_stdfloat get_mass_spread(void) const
public
-
PN_stdfloat get_terminal_velocity_base(void) const
public
-
PN_stdfloat get_terminal_velocity_spread(void) const
public
-
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
-
void populate_particle(BaseParticle *bp)
public
-
void set_lifespan_base(PN_stdfloat lb)
public
-
void set_lifespan_spread(PN_stdfloat ls)
public
-
void set_mass_base(PN_stdfloat mb)
public
-
void set_mass_spread(PN_stdfloat ms)
public
-
void set_terminal_velocity_base(PN_stdfloat tvb)
public
-
void set_terminal_velocity_spread(PN_stdfloat tvs)
public
-
virtual void write(std::ostream &out, int indent = 0) const
Write a string representation of this instance to <out>.
-
virtual BaseParticle *alloc_particle(void) const = 0