#include <sparkleParticleRenderer.h>
Inheritance diagram for SparkleParticleRenderer:
Private Member Functions | |
SparkleParticleRenderer (void) | |
SparkleParticleRenderer (const SparkleParticleRenderer ©) | |
SparkleParticleRenderer (const Colorf ¢er, const Colorf &edge, float birth_radius, float death_radius, SparkleParticleLifeScale life_scale, ParticleRendererAlphaMode alpha_mode) | |
virtual | ~SparkleParticleRenderer (void) |
virtual BaseParticleRenderer * | make_copy (void) |
INLINE void | set_center_color (const Colorf &c) |
INLINE void | set_edge_color (const Colorf &c) |
INLINE void | set_birth_radius (float radius) |
INLINE void | set_death_radius (float radius) |
INLINE void | set_life_scale (SparkleParticleLifeScale) |
INLINE const Colorf & | get_center_color (void) const |
INLINE const Colorf & | get_edge_color (void) const |
INLINE float | get_birth_radius (void) const |
INLINE float | get_death_radius (void) const |
INLINE SparkleParticleLifeScale | get_life_scale (void) const |
PT (GeomLine) _line_primitive | |
INLINE float | get_radius (BaseParticle *bp) |
virtual void | birth_particle (int index) |
virtual void | kill_particle (int index) |
virtual void | init_geoms (void) |
virtual void | render (pvector< PT(PhysicsObject) > &po_vector, int ttl_particles) |
virtual void | resize_pool (int new_size) |
Private Attributes | |
PUBLISHED | __pad0__: enum SparkleParticleLifeScale { SP_NO_SCALE |
PUBLISHED | SP_SCALE |
Colorf | _center_color |
Colorf | _edge_color |
float | _birth_radius |
float | _death_radius |
PTA_Vertexf | _vertex_array |
PTA_Colorf | _color_array |
int | _max_pool_size |
SparkleParticleLifeScale | _life_scale |
LPoint3f | _aabb_min |
LPoint3f | _aabb_max |
|
Definition at line 31 of file sparkleParticleRenderer.cxx. References Colorf, and init_geoms(). Referenced by make_copy(). |
|
Definition at line 67 of file sparkleParticleRenderer.cxx. References _birth_radius, _center_color, _death_radius, _edge_color, _life_scale, and init_geoms(). |
|
Definition at line 48 of file sparkleParticleRenderer.cxx. References init_geoms(). |
|
Definition at line 86 of file sparkleParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 107 of file sparkleParticleRenderer.cxx. |
|
|
|
|
|
|
|
|
|
|
|
Referenced by render(). |
|
Implements BaseParticleRenderer. Definition at line 147 of file sparkleParticleRenderer.cxx. References GeomNode::add_geom(), BaseParticleRenderer::get_render_node(), and GeomNode::remove_all_geoms(). Referenced by resize_pool(), and SparkleParticleRenderer(). |
|
Implements BaseParticleRenderer. Definition at line 117 of file sparkleParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 96 of file sparkleParticleRenderer.cxx. References SparkleParticleRenderer(). |
|
|
|
Implements BaseParticleRenderer. Definition at line 162 of file sparkleParticleRenderer.cxx. References _aabb_max, _aabb_min, BaseParticleRenderer::_alpha_mode, _center_color, _color_array, _edge_color, _vertex_array, alpha, Colorf, BaseParticle::get_alive(), BaseParticle::get_parameterized_age(), get_radius(), BaseParticleRenderer::get_render_node(), BaseParticleRenderer::get_user_alpha(), BoundedObject::mark_bound_stale(), and Vertexf. |
|
Implements BaseParticleRenderer. Definition at line 128 of file sparkleParticleRenderer.cxx. References _color_array, _max_pool_size, _vertex_array, PointerToArray< Colorf >::empty_array(), PointerToArray< Vertexf >::empty_array(), G_PER_VERTEX, and init_geoms(). |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from BaseParticleRenderer. Definition at line 43 of file sparkleParticleRenderer.h. |
|
Definition at line 88 of file sparkleParticleRenderer.h. Referenced by render(). |
|
Definition at line 88 of file sparkleParticleRenderer.h. Referenced by render(). |
|
Definition at line 77 of file sparkleParticleRenderer.h. Referenced by SparkleParticleRenderer(). |
|
Definition at line 74 of file sparkleParticleRenderer.h. Referenced by render(), and SparkleParticleRenderer(). |
|
Definition at line 83 of file sparkleParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 78 of file sparkleParticleRenderer.h. Referenced by SparkleParticleRenderer(). |
|
Definition at line 75 of file sparkleParticleRenderer.h. Referenced by render(), and SparkleParticleRenderer(). |
|
Definition at line 87 of file sparkleParticleRenderer.h. Referenced by SparkleParticleRenderer(). |
|
Definition at line 85 of file sparkleParticleRenderer.h. Referenced by resize_pool(). |
|
Definition at line 82 of file sparkleParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 43 of file sparkleParticleRenderer.h. |