#include <pointParticleRenderer.h>
Inheritance diagram for PointParticleRenderer:
Private Member Functions | |
PointParticleRenderer (const PointParticleRenderer ©) | |
PointParticleRenderer (ParticleRendererAlphaMode ad=PR_ALPHA_NONE, float point_size=1.0f, PointParticleBlendType bt=PP_ONE_COLOR, ParticleRendererBlendMethod bm=PP_NO_BLEND, const Colorf &sc=Colorf(1.0f, 1.0f, 1.0f, 1.0f), const Colorf &ec=Colorf(1.0f, 1.0f, 1.0f, 1.0f)) | |
virtual | ~PointParticleRenderer (void) |
virtual BaseParticleRenderer * | make_copy (void) |
INLINE void | set_point_size (float point_size) |
INLINE void | set_start_color (const Colorf &sc) |
INLINE void | set_end_color (const Colorf &ec) |
INLINE void | set_blend_type (PointParticleBlendType bt) |
INLINE void | set_blend_method (ParticleRendererBlendMethod bm) |
INLINE float | get_point_size (void) const |
INLINE const Colorf & | get_start_color (void) const |
INLINE const Colorf & | get_end_color (void) const |
INLINE PointParticleBlendType | get_blend_type (void) const |
INLINE ParticleRendererBlendMethod | get_blend_method (void) const |
PT (GeomPoint) _point_primitive | |
Colorf | create_color (const BaseParticle *p) |
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 PointParticleBlendType { PP_ONE_COLOR |
PUBLISHED | PP_BLEND_LIFE |
PUBLISHED | PP_BLEND_VEL |
Colorf | _start_color |
Colorf | _end_color |
float | _point_size |
PTA_Vertexf | _vertex_array |
PTA_Colorf | _color_array |
int | _max_pool_size |
PointParticleBlendType | _blend_type |
ParticleRendererBlendMethod | _blend_method |
LPoint3f | _aabb_min |
LPoint3f | _aabb_max |
|
Definition at line 51 of file pointParticleRenderer.cxx. References _blend_method, _blend_type, _end_color, _start_color, and init_geoms(). Referenced by make_copy(). |
|
Definition at line 30 of file pointParticleRenderer.cxx. References init_geoms(). |
|
Definition at line 70 of file pointParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 131 of file pointParticleRenderer.cxx. |
|
Definition at line 151 of file pointParticleRenderer.cxx. References BaseParticleRenderer::_alpha_mode, _blend_method, _end_color, _start_color, Colorf, CUBIC_T, BaseParticleRenderer::get_user_alpha(), LERP, p, PP_BLEND_LIFE, and PP_BLEND_VEL. Referenced by render(). |
|
|
|
|
|
|
|
|
|
|
|
Implements BaseParticleRenderer. Definition at line 114 of file pointParticleRenderer.cxx. References _point_size, GeomNode::add_geom(), BaseParticleRenderer::get_render_node(), and GeomNode::remove_all_geoms(). Referenced by PointParticleRenderer(), and resize_pool(). |
|
Implements BaseParticleRenderer. Definition at line 141 of file pointParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 80 of file pointParticleRenderer.cxx. References PointParticleRenderer(). |
|
|
|
Implements BaseParticleRenderer. Definition at line 218 of file pointParticleRenderer.cxx. References _aabb_max, _aabb_min, _color_array, _vertex_array, Colorf, create_color(), BaseParticle::get_alive(), BaseParticleRenderer::get_render_node(), BoundedObject::mark_bound_stale(), and Vertexf. |
|
Implements BaseParticleRenderer. Definition at line 92 of file pointParticleRenderer.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 41 of file pointParticleRenderer.h. |
|
Definition at line 84 of file pointParticleRenderer.h. Referenced by render(). |
|
Definition at line 84 of file pointParticleRenderer.h. Referenced by render(). |
|
Definition at line 82 of file pointParticleRenderer.h. Referenced by create_color(), and PointParticleRenderer(). |
|
Definition at line 81 of file pointParticleRenderer.h. Referenced by PointParticleRenderer(). |
|
Definition at line 77 of file pointParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 71 of file pointParticleRenderer.h. Referenced by create_color(), and PointParticleRenderer(). |
|
Definition at line 79 of file pointParticleRenderer.h. Referenced by resize_pool(). |
|
Definition at line 72 of file pointParticleRenderer.h. Referenced by init_geoms(). |
|
Definition at line 71 of file pointParticleRenderer.h. Referenced by create_color(), and PointParticleRenderer(). |
|
Definition at line 76 of file pointParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 41 of file pointParticleRenderer.h. Referenced by create_color(). |
|
Definition at line 41 of file pointParticleRenderer.h. Referenced by create_color(). |