Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

OpenCAL::Fountain Class Reference

#include <Fountain.h>

Inheritance diagram for OpenCAL::Fountain:

Inheritance graph
[legend]
Collaboration diagram for OpenCAL::Fountain:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Fountain (System *parent)
const Vector3 & getPosition () const
Vector3 * getPositionP ()
const Vector3 & getVelocity () const
Vector3 * getVelocityP ()
void setPosition (const Vector3 &position)
void setVelocity (const Vector3 &velocity)

Protected Member Functions

void killParticles ()
void bornParticles ()

Protected Attributes

Vector3 m_position
Vector3 m_velocity
float m_lifeSpan
map< PointMass *, float > m_ages

Detailed Description

This particlesystem simulates a fountain, spraying from a certain position, with a certain velocity.

Definition at line 33 of file Fountain.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:31 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8