#include <lineParticleRenderer.h>
Inheritance diagram for LineParticleRenderer:
Private Member Functions | |
PT (GeomLine) _line_primitive | |
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) |
LineParticleRenderer (const LineParticleRenderer ©) | |
LineParticleRenderer (const Colorf &head, const Colorf &tail, ParticleRendererAlphaMode alpha_mode) | |
virtual | ~LineParticleRenderer (void) |
virtual BaseParticleRenderer * | make_copy (void) |
INLINE void | set_head_color (const Colorf &c) |
INLINE void | set_tail_color (const Colorf &c) |
INLINE const Colorf & | get_head_color (void) const |
INLINE const Colorf & | get_tail_color (void) const |
Private Attributes | |
Colorf | _head_color |
Colorf | _tail_color |
PTA_Vertexf | _vertex_array |
PTA_Colorf | _color_array |
int | _max_pool_size |
LPoint3f | _aabb_min |
LPoint3f | _aabb_max |
PUBLISHED | __pad0__: LineParticleRenderer(void) |
|
Definition at line 61 of file lineParticleRenderer.cxx. References _head_color, _tail_color, and init_geoms(). Referenced by make_copy(). |
|
Definition at line 44 of file lineParticleRenderer.cxx. References init_geoms(). |
|
Definition at line 77 of file lineParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 98 of file lineParticleRenderer.cxx. |
|
|
|
|
|
Implements BaseParticleRenderer. Definition at line 138 of file lineParticleRenderer.cxx. References GeomNode::add_geom(), BaseParticleRenderer::get_render_node(), and GeomNode::remove_all_geoms(). Referenced by LineParticleRenderer(), and resize_pool(). |
|
Implements BaseParticleRenderer. Definition at line 108 of file lineParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 87 of file lineParticleRenderer.cxx. References LineParticleRenderer(). |
|
|
|
Implements BaseParticleRenderer. Definition at line 153 of file lineParticleRenderer.cxx. References _aabb_max, _aabb_min, BaseParticleRenderer::_alpha_mode, _color_array, _head_color, _tail_color, _vertex_array, alpha, Colorf, BaseParticle::get_alive(), BaseParticle::get_parameterized_age(), BaseParticleRenderer::get_render_node(), BaseParticleRenderer::get_user_alpha(), BoundedObject::mark_bound_stale(), and Vertexf. |
|
Implements BaseParticleRenderer. Definition at line 119 of file lineParticleRenderer.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 59 of file lineParticleRenderer.h. |
|
Definition at line 49 of file lineParticleRenderer.h. Referenced by render(). |
|
Definition at line 49 of file lineParticleRenderer.h. Referenced by render(). |
|
Definition at line 45 of file lineParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 39 of file lineParticleRenderer.h. Referenced by LineParticleRenderer(), and render(). |
|
Definition at line 47 of file lineParticleRenderer.h. Referenced by resize_pool(). |
|
Definition at line 40 of file lineParticleRenderer.h. Referenced by LineParticleRenderer(), and render(). |
|
Definition at line 44 of file lineParticleRenderer.h. Referenced by render(), and resize_pool(). |