H3D::SurfaceEmitter Class Reference
[X3D node classes.]

The SurfaceEmitter node is an emitter that generates particles from the surface of an object. More...

#include <H3D/SurfaceEmitter.h>

Inheritance diagram for H3D::SurfaceEmitter:

Inheritance graph

List of all members.

Public Member Functions

 SurfaceEmitter (Inst< SFNode > _metadata=0, Inst< SFFloat > _speed=0, Inst< SFFloat > _variation=0, Inst< SFFloat > _mass=0, Inst< SFFloat > _surfaceArea=0, Inst< SFGeometryNode > _surface=0)
 Constructor.

Public Attributes

auto_ptr< SFGeometryNodesurface
 The surface field specifies the geometry to be used as the emitting surface.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

The SurfaceEmitter node is an emitter that generates particles from the surface of an object.

New particles are generated by first randomly choosing a face on the tessellated geometry and then a random position on that face. Particles are generated with an initial direction of the normal to that point (including any normal averaging due to normalPerVertex and creaseAngle field settings). If the surface is indicated as not being solid (solid field set to FALSE), randomly choose from which side of the surface to emit, negating the normal direction when generating from the back side. Only valid geometry shall be used.

The surface field specifies the geometry to be used as the emitting surface.


Member Data Documentation

The surface field specifies the geometry to be used as the emitting surface.

Access type: inputOutput


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 10:31:07 2008 for H3D API by  doxygen 1.5.7