Inherits DD::Image::Primitive.
Inherited by DD::Image::RenderParticles.
Public Member Functions | |
| const char * | Class () const |
| Particles (Point::RenderMode render_mode, unsigned points=0, unsigned start=0) | |
| Particles (int render_mode, unsigned points=0, unsigned start=0) | |
| Particles (const Particles &) | |
| Point::RenderMode | render_mode () const |
| void | render_mode (Point::RenderMode v) |
| void | render_mode (int v) |
| Particles & | operator= (const Particles &b) |
| Primitive * | duplicate () const |
| unsigned | faces () const |
| void | tessellate (Scene *, PrimitiveContext *) const |
| void | draw_wireframe (ViewerContext *, PrimitiveContext *, Primitive *prev_prim=0) const |
| void | draw_solid (ViewerContext *, PrimitiveContext *, Primitive *prev_prim=0) const |
| void | draw_primitive_num (ViewerContext *, PrimitiveContext *) const |
| PrimitiveType | getPrimitiveType () const |
Protected Member Functions | |
| void | copy (const Particles *) |
| virtual void | tesselateImpl (Scene *scene, PrimitiveContext *ptx, float defaultRadius) const |
Protected Attributes | |
| Point::RenderMode | render_mode_ |
Particles primitive.
| void Particles::copy | ( | const Particles * | b | ) | [protected] |
Destructive copy.
| Primitive * Particles::duplicate | ( | ) | const [virtual] |
Copy this Particles into a new one, and return a pointer to it. Vertex data is duplicated, point indices are unchanged.
Implements DD::Image::Primitive.
| void Particles::tessellate | ( | Scene * | scene, |
| PrimitiveContext * | ptx | ||
| ) | const [virtual] |
Push a single rParticles primitive into the rendering stream.
Implements DD::Image::Primitive.