DD::Image::Particles Class Reference

Inherits DD::Image::Primitive.

Inherited by DD::Image::RenderParticles.

List of all members.

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)
Particlesoperator= (const Particles &b)
Primitiveduplicate () 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_

Detailed Description

Particles primitive.


Member Function Documentation

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.