VEE_Wind Class Reference

Wind affects other particles with a constant global force along a defined vector. More...

#include <vee_wind.h>

Inheritance diagram for VEE_Wind:

Inheritance graph
[legend]
Collaboration diagram for VEE_Wind:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

Wind affects other particles with a constant global force along a defined vector.


Constructor & Destructor Documentation

VEE_Wind::VEE_Wind const VEE_Vector3 dir = VEE_Vector3(1.0f, 0.0f, 0.0f),
float  strength = 1.0,
float  gustiness = 0.0f,
float  gustfreq = 0.5f
 

VEE_Wind::~VEE_Wind  ) 
 


Member Function Documentation

bool VEE_Wind::setValue const char *  id,
VEE_Value msg
[virtual]
 

Receive and process a value.

Parameters:

  • "direction", Vector3

  • "strength", float

  • "gustiness", float

  • "gustfreq", float

  • "volume/+", VEE_Value *, message to the volume object

  • "volume", VEE_ValueVolume *

Reimplemented from VEE_ForceObject.

VEE_Variable VEE_Wind::getVariable const char *   )  const [virtual]
 

This method needs to be overridden if the child class wants to return its values.

Reimplemented from VEE_ForceObject.

VEE_Object * VEE_Wind::clone  )  const [virtual]
 

Reimplemented from VEE_Particle2.

void VEE_Wind::update float   )  [virtual]
 

Update the location of this object.

Reimplemented from VEE_ForceObject.

void VEE_Wind::getForce VEE_Vector3 force,
const VEE_Vector3 ,
const VEE_Vector3
[virtual]
 

Implements VEE_ForceObject.

void VEE_Wind::boundingBoxOfForce VEE_BoundingBox box  )  [virtual]
 

Get the bounding box of this force object.

Outside the bounding box the force must be zero. This method is needed since the scene boxes need to be able to determine where in the scene hierarchy the force object should be registered (VEE_SceneBox::m_forceObjects).

Implements VEE_ForceObject.

VEE_Object * VEE_Wind::factory  )  [static]
 

Reimplemented from VEE_Particle.

VEE_Volume* VEE_Wind::volume  )  [inline]
 

void VEE_Wind::redesignFilter  )  [protected]
 

void VEE_Wind::recalculateWind  )  [protected]
 


Member Data Documentation

VEE_Vector3 VEE_Wind::m_wind [protected]
 

VEE_Vector3 VEE_Wind::m_direction [protected]
 

float VEE_Wind::m_strength [protected]
 

float VEE_Wind::m_gustStrength [protected]
 

float VEE_Wind::m_gustFreq [protected]
 

float VEE_Wind::m_sinceLast [protected]
 

MJ_FilterAP1<float> VEE_Wind::m_gustFilter [protected]
 

VEE_ClonablePointer<VEE_Volume> VEE_Wind::m_volume [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:46 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6