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

The PointEmitter node is an emitter that generates particles from a specific point in space. More...

#include <H3D/PointEmitter.h>

Inheritance diagram for H3D::PointEmitter:

Inheritance graph

List of all members.

Public Member Functions

 PointEmitter (Inst< SFNode > _metadata=0, Inst< SFFloat > _speed=0, Inst< SFFloat > _variation=0, Inst< SFFloat > _mass=0, Inst< SFFloat > _surfaceArea=0, Inst< SFVec3f > _position=0, Inst< SFVec3f > _direction=0)
 Constructor.

Public Attributes

auto_ptr< SFVec3fposition
 The position from which the particles are emitted.
auto_ptr< SFVec3fdirection
 The direction along which the particles are emitted.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

The PointEmitter node is an emitter that generates particles from a specific point in space.

Particles are emitted from a single point in the specified direction and speed.

The direction field specifies a direction along which the particles are to be emitted. If the vector is zero length (a value of (0,0,0), particles are emitted in random directions from this point in space.


Member Data Documentation

The direction along which the particles are emitted.

If set to Vec3f( 0,0,0 ) particles are emitted in random directions.

Access type: inputOutput
Default value: 0 1 0

Referenced by PointEmitter().

The position from which the particles are emitted.

Access type: inputOutput
Default value: 0 0 0

Referenced by PointEmitter().


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

Generated on Fri Nov 7 10:30:44 2008 for H3D API by  doxygen 1.5.7